diff --git a/.github/workflows/harness-simulator.yml b/.github/workflows/harness-simulator.yml new file mode 100644 index 0000000000..1f02d94d26 --- /dev/null +++ b/.github/workflows/harness-simulator.yml @@ -0,0 +1,297 @@ +name: Harness Simulator + +### About +# +# Runs the Harness suites of apps/fake-simulated-camera on the iOS Simulator and the +# Android Emulator against an injected, catalog-defined camera (see the app README). + +concurrency: + group: harness-simulator-${{ github.head_ref || github.run_id }} + cancel-in-progress: true + +on: + workflow_dispatch: + push: + paths: + - '.github/workflows/harness-simulator.yml' + - 'apps/fake-simulated-camera/**' + - 'packages/react-native-vision-camera/**' + - 'packages/react-native-vision-camera-barcode-scanner/**' + - 'bun.lock' + - 'package.json' + - 'patches/**' + pull_request: + paths: + - '.github/workflows/harness-simulator.yml' + - 'apps/fake-simulated-camera/**' + - 'packages/react-native-vision-camera/**' + - 'packages/react-native-vision-camera-barcode-scanner/**' + - 'bun.lock' + - 'package.json' + - 'patches/**' + +env: + HARNESS_XCODE_VERSION: "26.2" + HARNESS_PROJECT_ROOT: apps/fake-simulated-camera + HARNESS_IOS_DERIVED_DATA_OUTPUT: apps/fake-simulated-camera/ios/build/simulator + HARNESS_ANDROID_APP_BUILD_OUTPUT: apps/fake-simulated-camera/android/app/build/outputs/apk/debug/app-debug.apk + HARNESS_ANDROID_BUNDLE_ID: com.margelo.nitro.camera.example.fake + HARNESS_ANDROID_DEVICE_MODE: emulator + HARNESS_ANDROID_API_LEVEL: "35" + HARNESS_ANDROID_DEVICE_ARCH: x86_64 + HARNESS_ANDROID_DEVICE_PROFILE: pixel + HARNESS_ANDROID_EMULATOR: Pixel_API_35 + HARNESS_ANDROID_EMULATOR_BOOT_TIMEOUT_SECONDS: 240 + HARNESS_ANDROID_STARTUP_TIMEOUT_SECONDS: 60 + HARNESS_ANDROID_TEST_TIMEOUT_SECONDS: 900 + +jobs: + test-ios-simulator: + name: Test iOS Simulator + runs-on: macos-latest + timeout-minutes: 90 + steps: + - uses: actions/checkout@v6 + with: + fetch-depth: 1 + + - uses: oven-sh/setup-bun@v2 + + - name: Install dependencies + run: bun install --frozen-lockfile + + - name: Install Ccache + uses: hendrikmuhs/ccache-action@v1.2.23 + with: + max-size: 1.5G + key: ${{ runner.os }}-${{ runner.arch }}-xcode${{ env.HARNESS_XCODE_VERSION }}-ccache-harness-simulator + create-symlink: true + + - name: Setup ccache behavior + run: | + echo "CCACHE_SLOPPINESS=clang_index_store,file_stat_matches,include_file_ctime,include_file_mtime,ivfsoverlay,pch_defines,modules,system_headers,time_macros" >> $GITHUB_ENV + echo "CCACHE_FILECLONE=true" >> $GITHUB_ENV + echo "CCACHE_DEPEND=true" >> $GITHUB_ENV + echo "CCACHE_INODECACHE=true" >> $GITHUB_ENV + + - name: Setup Ruby (bundle) + uses: ruby/setup-ruby@v1 + with: + ruby-version: 3.4.9 + bundler-cache: true + working-directory: apps/fake-simulated-camera/ + + - name: Select Xcode ${{ env.HARNESS_XCODE_VERSION }} + run: sudo xcode-select -s "/Applications/Xcode_${{ env.HARNESS_XCODE_VERSION }}.app/Contents/Developer" + + - name: Restore CocoaPods cache + uses: actions/cache@v5 + with: + path: | + ~/Library/Caches/CocoaPods + apps/fake-simulated-camera/ios/Pods + key: ${{ runner.os }}-pods-simulator-${{ hashFiles('apps/fake-simulated-camera/ios/Podfile', 'apps/fake-simulated-camera/package.json', 'bun.lock') }} + restore-keys: | + ${{ runner.os }}-pods-simulator- + + - name: Install Pods + working-directory: apps/fake-simulated-camera/ios + env: + RCT_USE_PREBUILT_RNCORE: "0" + run: bundle exec pod install + + - name: Restore DerivedData cache + uses: actions/cache@v5 + with: + path: ${{ env.HARNESS_IOS_DERIVED_DATA_OUTPUT }} + key: ${{ runner.os }}-${{ runner.arch }}-xcode${{ env.HARNESS_XCODE_VERSION }}-dd-simulator-${{ hashFiles('bun.lock', 'apps/fake-simulated-camera/Gemfile.lock', 'apps/fake-simulated-camera/ios/Podfile') }} + restore-keys: | + ${{ runner.os }}-${{ runner.arch }}-xcode${{ env.HARNESS_XCODE_VERSION }}-dd-simulator- + + - name: Build iOS Simulator app + run: | + set -euo pipefail + HARNESS_IOS_DERIVED_DATA_OUTPUT="$GITHUB_WORKSPACE/${{ env.HARNESS_IOS_DERIVED_DATA_OUTPUT }}" \ + bash apps/fake-simulated-camera/scripts/build-ios-simulator.sh CC=clang CPLUSPLUS=clang++ LD=clang LDPLUSPLUS=clang++ | tee build-ios.log + grep '^HARNESS_APP_PATH=' build-ios.log | tail -1 >> "$GITHUB_ENV" + + - name: Resolve iOS Simulator + run: | + set -euo pipefail + xcrun simctl list -j devices available > simulators.json + python3 - <<'EOF' >> "$GITHUB_ENV" + import json, re, sys + data = json.load(open("simulators.json"))["devices"] + best = None + for runtime, devices in data.items(): + match = re.search(r"iOS-(\d+)-(\d+)$", runtime) + if not match: + continue + version = (int(match.group(1)), int(match.group(2))) + phones = [d for d in devices if d.get("isAvailable") and d["name"].startswith("iPhone")] + if phones and (best is None or version > best[0]): + best = (version, phones[0]["name"]) + if best is None: + sys.exit("no available iPhone simulator runtime") + print(f"HARNESS_IOS_SIMULATOR={best[1]}") + print(f"HARNESS_IOS_SIMULATOR_VERSION={best[0][0]}.{best[0][1]}") + EOF + cat "$GITHUB_ENV" + + - name: Run Harness tests on iOS Simulator + working-directory: apps/fake-simulated-camera + env: + CI: "true" + run: | + set -uo pipefail + if ! ls __tests__/*.harness.ts >/dev/null 2>&1; then + echo "No Harness suites yet — build-only run." + exit 0 + fi + # Pre-boot the simulator the harness will use, then stream the fake's os_log to a file for the whole + # run. The harness shuts the simulator down afterwards, so a post-hoc `log show` finds nothing; a live + # stream is the only way to capture the fake-camera fault that precedes an "app bridge disconnected". + UDID=$(xcrun simctl list devices -j | python3 -c "import json,sys,os; d=json.load(sys.stdin)['devices']; name=os.environ.get('HARNESS_IOS_SIMULATOR',''); ver=os.environ.get('HARNESS_IOS_SIMULATOR_VERSION','').replace('.','-'); rts=[k for k in d if ('iOS-'+ver) in k]; print(next((x['udid'] for k in rts for x in d[k] if x['name']==name), ''))" 2>/dev/null || true) + echo "resolved simulator udid: ${UDID:-}" + STREAM_PID="" + if [ -n "${UDID:-}" ]; then + xcrun simctl boot "$UDID" 2>/dev/null || true + xcrun simctl spawn "$UDID" log stream --level debug --style compact \ + --predicate 'subsystem == "com.margelo.fakecamera"' > fakecam-stream.log 2>&1 & + STREAM_PID=$! + fi + RC=0 + if command -v gtimeout >/dev/null 2>&1; then + gtimeout --foreground --kill-after=30s 1500 bun run test:harness:ios || RC=$? + else + bun run test:harness:ios || RC=$? + fi + # Robustness: a second app launch with the variants catalog runs the variant-only suite. + RCV=0 + FAKE_CAMERA_CATALOG=variants bun run test:harness:ios-variants || RCV=$? + [ "$RCV" -ne 0 ] && [ "$RC" -eq 0 ] && RC=$RCV + [ -n "$STREAM_PID" ] && kill "$STREAM_PID" 2>/dev/null || true + if [ "$RC" -ne 0 ]; then + echo "=== fakecam-stream.log tail ==="; tail -60 fakecam-stream.log 2>/dev/null || true + REPORTS="$HOME/Library/Developer/CoreSimulator/Devices/$UDID/data/Library/Logs/DiagnosticReports" + for f in "$REPORTS"/FakeSimulated*.ips "$REPORTS"/FakeSimulated*.crash; do + [ -f "$f" ] || continue + echo "=== crash report $f (head) ==="; head -70 "$f"; cp "$f" . 2>/dev/null || true + done + fi + exit $RC + + - name: Collect iOS diagnostics + if: always() + run: | + set +e + mkdir -p ios-diagnostics + cp -R apps/fake-simulated-camera/.harness ios-diagnostics/harness 2>/dev/null + cp build-ios.log ios-diagnostics/ 2>/dev/null + cp apps/fake-simulated-camera/fakecam-stream.log ios-diagnostics/ 2>/dev/null + xcrun simctl spawn booted log show --info --debug --last 20m --predicate 'subsystem == "com.margelo.fakecamera" OR process == "FakeSimulatedCamera"' > ios-diagnostics/fakecamera.log 2>/dev/null + cp -R ~/Library/Logs/DiagnosticReports ios-diagnostics/DiagnosticReports 2>/dev/null + mkdir -p ios-diagnostics/SimulatorCrashes + find ~/Library/Developer/CoreSimulator/Devices -path '*/DiagnosticReports/*' \( -name '*.ips' -o -name '*.crash' \) -exec cp {} ios-diagnostics/SimulatorCrashes/ \; 2>/dev/null + true + + - name: Upload iOS diagnostics + if: always() + uses: actions/upload-artifact@v7 + with: + name: harness-simulator-ios-diagnostics + path: ios-diagnostics + if-no-files-found: ignore + retention-days: 7 + + test-android-emulator: + name: Test Android Emulator + runs-on: ubuntu-latest + timeout-minutes: 60 + steps: + - uses: actions/checkout@v6 + with: + fetch-depth: 1 + + - uses: oven-sh/setup-bun@v2 + + - name: Setup Node.js + uses: actions/setup-node@v6 + with: + node-version: '24' + + - name: Setup JDK 17 + uses: actions/setup-java@v5 + with: + distribution: zulu + java-version: '17' + + - name: Install dependencies + run: bun install --frozen-lockfile + + - name: Restore Gradle/CMake cache + uses: actions/cache@v5 + with: + path: | + ~/.gradle/caches + ~/.gradle/wrapper + apps/fake-simulated-camera/android/.gradle + apps/fake-simulated-camera/android/app/.cxx + key: ${{ runner.os }}-gradle-simulator-${{ env.HARNESS_ANDROID_DEVICE_ARCH }}-${{ hashFiles('apps/fake-simulated-camera/android/**/*.gradle*', 'apps/fake-simulated-camera/android/**/gradle-wrapper.properties', 'packages/**/CMakeLists.txt', 'packages/**/*.cmake', 'bun.lock') }} + restore-keys: | + ${{ runner.os }}-gradle-simulator-${{ env.HARNESS_ANDROID_DEVICE_ARCH }}- + ${{ runner.os }}-gradle- + + - name: Build Android app + working-directory: apps/fake-simulated-camera/android + run: ./gradlew assembleDebug -PreactNativeArchitectures=${{ env.HARNESS_ANDROID_DEVICE_ARCH }} --no-daemon --build-cache --console=plain + + - name: Verify Android app artifact + run: | + set -euo pipefail + test -f ${{ env.HARNESS_ANDROID_APP_BUILD_OUTPUT }} + unzip -l ${{ env.HARNESS_ANDROID_APP_BUILD_OUTPUT }} | grep -E 'assets/scenes/qr-code-margelo.png' + + - name: Enable KVM group perms + run: | + echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules + sudo udevadm control --reload-rules + sudo udevadm trigger --name-match=kvm + ls /dev/kvm + + - name: Run Harness tests on Android Emulator + uses: reactivecircus/android-emulator-runner@v2 + with: + working-directory: ${{ env.HARNESS_PROJECT_ROOT }} + api-level: ${{ env.HARNESS_ANDROID_API_LEVEL }} + arch: ${{ env.HARNESS_ANDROID_DEVICE_ARCH }} + profile: ${{ env.HARNESS_ANDROID_DEVICE_PROFILE }} + force-avd-creation: true + avd-name: ${{ env.HARNESS_ANDROID_EMULATOR }} + emulator-boot-timeout: ${{ env.HARNESS_ANDROID_EMULATOR_BOOT_TIMEOUT_SECONDS }} + disable-animations: true + emulator-options: -no-snapshot -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back virtualscene -camera-front emulated -virtualscene-poster wall=${{ github.workspace }}/apps/fake-simulated-camera/scenes/qr-code-margelo.png + script: bash ./scripts/run-harness-android-ci.sh + + - name: Collect Android diagnostics + if: always() + run: | + set +e + mkdir -p android-diagnostics + cp -R apps/fake-simulated-camera/.harness android-diagnostics/harness 2>/dev/null + cp apps/fake-simulated-camera/android/logcat*.txt android-diagnostics/ 2>/dev/null + true + + - name: Upload Android diagnostics + if: always() + uses: actions/upload-artifact@v7 + with: + name: harness-simulator-android-diagnostics + path: android-diagnostics + if-no-files-found: ignore + retention-days: 7 + + - name: Stop Gradle Daemon + if: always() + working-directory: apps/fake-simulated-camera/android + run: ./gradlew --stop diff --git a/agents/AGENTS.md b/agents/AGENTS.md index 9159ce15c4..2881a47695 100644 --- a/agents/AGENTS.md +++ b/agents/AGENTS.md @@ -8,6 +8,7 @@ For any task that modifies or reviews `apps/simple-camera/__tests__/**`: - Read https://www.react-native-harness.dev/llms-full.txt before adding or changing Harness APIs. - Treat the README's test-authoring, lifecycle, async synchronization, cleanup, capability-gating, and CI rules as requirements. - Do not assume that Jest or Vitest APIs exist unless Harness documents or exports them. +- The same rules apply to `apps/fake-simulated-camera/__tests__/**`; read `apps/fake-simulated-camera/README.md` first — those suites run against an injected fake camera and never change `packages/react-native-vision-camera*`. ## Contributions/PRs diff --git a/apps/fake-simulated-camera/.bundle/config b/apps/fake-simulated-camera/.bundle/config new file mode 100644 index 0000000000..848943bb52 --- /dev/null +++ b/apps/fake-simulated-camera/.bundle/config @@ -0,0 +1,2 @@ +BUNDLE_PATH: "vendor/bundle" +BUNDLE_FORCE_RUBY_PLATFORM: 1 diff --git a/apps/fake-simulated-camera/.gitignore b/apps/fake-simulated-camera/.gitignore new file mode 100644 index 0000000000..0992cc6ef6 --- /dev/null +++ b/apps/fake-simulated-camera/.gitignore @@ -0,0 +1,81 @@ +# OSX +# +.DS_Store + +# Xcode +# +build/ +*.pbxuser +!default.pbxuser +*.mode1v3 +!default.mode1v3 +*.mode2v3 +!default.mode2v3 +*.perspectivev3 +!default.perspectivev3 +xcuserdata +*.xccheckout +*.moved-aside +DerivedData +*.hmap +*.ipa +*.xcuserstate +**/.xcode.env.local + +# Android/IntelliJ +# +build/ +.idea +.gradle +local.properties +*.iml +*.hprof +.cxx/ +*.keystore +!debug.keystore +.kotlin/ + +# node.js +# +node_modules/ +npm-debug.log +yarn-error.log + +# fastlane +# +# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the +# screenshots whenever they are needed. +# For more information about the recommended setup visit: +# https://docs.fastlane.tools/best-practices/source-control/ + +**/fastlane/report.xml +**/fastlane/Preview.html +**/fastlane/screenshots +**/fastlane/test_output + +# Bundle artifact +*.jsbundle + +# Ruby / CocoaPods +**/Pods/ +/vendor/bundle/ + +# Temporary files created by Metro to check the health of the file watcher +.metro-health-check* + +# testing +/coverage + +# Yarn +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/sdks +!.yarn/versions + +# react-native-harness (auto-generated manifest + crash dumps) +.harness/ + +# CI diagnostics +android/logcat*.txt diff --git a/apps/fake-simulated-camera/Gemfile b/apps/fake-simulated-camera/Gemfile new file mode 100644 index 0000000000..879ece55de --- /dev/null +++ b/apps/fake-simulated-camera/Gemfile @@ -0,0 +1,17 @@ +source 'https://rubygems.org' + +# You may use http://rbenv.org/ or https://rvm.io/ to install and use this version +ruby ">= 3.4.9" + +# Exclude problematic versions of cocoapods and activesupport that cause build failures. +gem 'cocoapods', '>= 1.16.2', '< 1.17' +gem 'activesupport', '>= 6.1.7.5', '!= 7.1.0' +gem 'xcodeproj', '>= 1.27.0', '< 2.0' +gem 'concurrent-ruby', '>= 1.3.6', '< 2.0' + +# Ruby 3.4.0 has removed some libraries from the standard library. +gem 'bigdecimal' +gem 'logger' +gem 'benchmark' +gem 'mutex_m' +gem 'nkf' diff --git a/apps/fake-simulated-camera/Gemfile.lock b/apps/fake-simulated-camera/Gemfile.lock new file mode 100644 index 0000000000..3b3d816781 --- /dev/null +++ b/apps/fake-simulated-camera/Gemfile.lock @@ -0,0 +1,123 @@ +GEM + remote: https://rubygems.org/ + specs: + CFPropertyList (3.0.8) + activesupport (7.2.3.1) + base64 + benchmark (>= 0.3) + bigdecimal + concurrent-ruby (~> 1.0, >= 1.3.1) + connection_pool (>= 2.2.5) + drb + i18n (>= 1.6, < 2) + logger (>= 1.4.2) + minitest (>= 5.1, < 6) + securerandom (>= 0.3) + tzinfo (~> 2.0, >= 2.0.5) + addressable (2.9.0) + public_suffix (>= 2.0.2, < 8.0) + algoliasearch (1.27.5) + httpclient (~> 2.8, >= 2.8.3) + json (>= 1.5.1) + atomos (0.1.3) + base64 (0.3.0) + benchmark (0.5.0) + bigdecimal (4.1.2) + claide (1.1.0) + cocoapods (1.16.2) + addressable (~> 2.8) + claide (>= 1.0.2, < 2.0) + cocoapods-core (= 1.16.2) + cocoapods-deintegrate (>= 1.0.3, < 2.0) + cocoapods-downloader (>= 2.1, < 3.0) + cocoapods-plugins (>= 1.0.0, < 2.0) + cocoapods-search (>= 1.0.0, < 2.0) + cocoapods-trunk (>= 1.6.0, < 2.0) + cocoapods-try (>= 1.1.0, < 2.0) + colored2 (~> 3.1) + escape (~> 0.0.4) + fourflusher (>= 2.3.0, < 3.0) + gh_inspector (~> 1.0) + molinillo (~> 0.8.0) + nap (~> 1.0) + ruby-macho (>= 2.3.0, < 3.0) + xcodeproj (>= 1.27.0, < 2.0) + cocoapods-core (1.16.2) + activesupport (>= 5.0, < 8) + addressable (~> 2.8) + algoliasearch (~> 1.0) + concurrent-ruby (~> 1.1) + fuzzy_match (~> 2.0.4) + nap (~> 1.0) + netrc (~> 0.11) + public_suffix (~> 4.0) + typhoeus (~> 1.0) + cocoapods-deintegrate (1.0.5) + cocoapods-downloader (2.1) + cocoapods-plugins (1.0.0) + nap + cocoapods-search (1.0.1) + cocoapods-trunk (1.6.0) + nap (>= 0.8, < 2.0) + netrc (~> 0.11) + cocoapods-try (1.2.0) + colored2 (3.1.2) + concurrent-ruby (1.3.6) + connection_pool (3.0.2) + drb (2.2.3) + escape (0.0.4) + ethon (0.18.0) + ffi (>= 1.15.0) + logger + ffi (1.17.4) + fourflusher (2.3.1) + fuzzy_match (2.0.4) + gh_inspector (1.1.3) + httpclient (2.9.0) + mutex_m + i18n (1.14.8) + concurrent-ruby (~> 1.0) + json (2.19.7) + logger (1.7.0) + minitest (5.27.0) + molinillo (0.8.0) + mutex_m (0.3.0) + nanaimo (0.4.0) + nap (1.1.0) + netrc (0.11.0) + nkf (0.2.0) + public_suffix (4.0.7) + rexml (3.4.4) + ruby-macho (2.5.1) + securerandom (0.4.1) + typhoeus (1.6.0) + ethon (>= 0.18.0) + tzinfo (2.0.6) + concurrent-ruby (~> 1.0) + xcodeproj (1.27.0) + CFPropertyList (>= 2.3.3, < 4.0) + atomos (~> 0.1.3) + claide (>= 1.0.2, < 2.0) + colored2 (~> 3.1) + nanaimo (~> 0.4.0) + rexml (>= 3.3.6, < 4.0) + +PLATFORMS + ruby + +DEPENDENCIES + activesupport (>= 6.1.7.5, != 7.1.0) + benchmark + bigdecimal + cocoapods (>= 1.16.2, < 1.17) + concurrent-ruby (>= 1.3.6, < 2.0) + logger + mutex_m + nkf + xcodeproj (>= 1.27.0, < 2.0) + +RUBY VERSION + ruby 3.4.9 + +BUNDLED WITH + 4.0.13 diff --git a/apps/fake-simulated-camera/README.md b/apps/fake-simulated-camera/README.md new file mode 100644 index 0000000000..515e5fc53f --- /dev/null +++ b/apps/fake-simulated-camera/README.md @@ -0,0 +1,54 @@ +# FakeSimulatedCamera + +A Harness test app that runs the VisionCamera suites on the **iOS Simulator** and the **Android Emulator** against a camera we define ourselves, so Constraint Resolver, device-enumeration and barcode-scanner behaviour can be hard-asserted (the real-device track in `apps/simple-camera` can only soft-assert what unknown hardware supports). + +The injection lives entirely inside this app. `packages/react-native-vision-camera*` is never modified — the library runs its production AVFoundation / CameraX code paths against fake objects (`bun fake check-packages-untouched` verifies that for the current change set). + +## What is injected + +| Platform | Mechanism | Where | +|---|---|---| +| iOS Simulator | AVFoundation runtime hooks installed by `AppDelegate` (Debug + Simulator only): fake `AVCaptureDevice`/`AVCaptureDevice.Format` objects from the catalog, fake inputs/connections for `AVCaptureSession`, a frame pump that streams the scene image into `AVCaptureVideoDataOutput`s | `ios/FakeSimulatedCamera/FakeCamera/` | +| Android Emulator (`android` runner) | `MainApplication` implements `CameraXConfig.Provider` and supplies a catalog-driven fake CameraX backend (vendored AOSP `camera-testing` fakes) plus a Camera2 interop bridge | `android/app/src/main/java/.../fake/` | +| Android Emulator (`android-scene` runner) | No injection (`fakeCameraCatalog=off`): the emulator's real virtual-scene camera looks at the scene image via `emulator -virtualscene-poster wall=` | emulator flag | + +The cameras are authored natively — in `ios/FakeSimulatedCamera/FakeCamera/FakeCameraCatalog.m` (AVFoundation) and `android/.../camerax/FakeCameraCatalog.kt` (CameraX) — so each fake is expressed directly in the type the library reads. Add a device by adding a spec entry; select an alternate catalog with `FAKE_CAMERA_CATALOG=`. + +## Running + +```sh +bun install # repo root +bun fake pods # once, CocoaPods + +# iOS Simulator +bun fake build:ios-simulator # prints HARNESS_APP_PATH=… +HARNESS_APP_PATH= HARNESS_IOS_SIMULATOR="iPhone 17 Pro" HARNESS_IOS_SIMULATOR_VERSION=26.5 bun fake test:harness:ios + +# Android Emulator (fake catalog through CameraX) +bun fake build:android +emulator -avd Pixel_API_35 -camera-back virtualscene -virtualscene-poster wall=$PWD/apps/fake-simulated-camera/scenes/qr-code-margelo.png & +adb shell settings put global hidden_api_policy 1 +HARNESS_ANDROID_DEVICE_MODE=emulator bun fake test:harness:android + +# Android Emulator (real Camera2, virtual-scene QR poster) +HARNESS_ANDROID_DEVICE_MODE=emulator bun fake test:harness:android-scene +``` + +CI: `.github/workflows/harness-simulator.yml`. + +## Tests + +Same rules as [`apps/simple-camera/__tests__/README.md`](../simple-camera/__tests__/README.md). Files: + +- `fakecamera.devices.harness.ts` — enumeration matches the catalog. +- `fakecamera.session.harness.ts` — configure/reconfigure/start/stop, asserted through public effects. +- `fakecamera.constraints.harness.ts` — deterministic `resolveConstraints` results. +- `fakecamera.barcode-scanner.harness.ts` — the scanner output sees the QR code in the scene (iOS fake mode, Android scene mode). +- `fakecamera.scene.harness.ts` — Android scene runner only. + +Where platforms intentionally differ, each platform has its own focused `it` with a static platform guard. + +## Known limitations + +- iOS fake: no photo capture, no video recording, no depth/metadata outputs, no multi-cam; frames are BGRA and not physically rotated; formats above 60 fps stream at 60. +- Android fake: no frames (the scene runner covers the barcode E2E); per-format coupling such as "60 fps only at 1080p" cannot be expressed through CameraX. diff --git a/apps/fake-simulated-camera/THIRD_PARTY.md b/apps/fake-simulated-camera/THIRD_PARTY.md new file mode 100644 index 0000000000..3f109ffba4 --- /dev/null +++ b/apps/fake-simulated-camera/THIRD_PARTY.md @@ -0,0 +1,24 @@ +# Third-party code in this app + +## iOS — AVFoundation fake (`ios/FakeSimulatedCamera/FakeCamera/*`) + +Own implementation. The runtime technique (swizzling `AVCaptureDevice` discovery / `AVCaptureSession` and vending `AVCaptureDevice` / `AVCaptureDevice.Format` subclasses created with `class_createInstance`) is the one used by [serve-sim](https://github.com/EvanBacon/serve-sim) `SimCameraInjector` (Apache-2.0) and [FauxCam](https://github.com/mkemalgokce/fauxcam) `Guest/` (MIT). No code is copied from either; only the approach is shared. + +## Android — vendored CameraX test fakes + +Pinned fork of the AOSP CameraX test fakes, from `platform/frameworks/support` commit **`bb117e26ce89b888d6f928ff7b604913a1da43f2`** (the tip of the `1.7.0-alpha03` release range for `camera-core` / `camera-camera2`, matching the `camerax_version` this repo uses). Apache-2.0; the upstream license header is kept verbatim at the top of every vendored file (an explicit exception to this repo's one-line-comment rule — our own code follows it). Bumping `camerax_version` means re-syncing these files from the matching commit. + +| File | Upstream path (under `camera/camera-testing/src/main/java/`) | Modification | +|---|---|---| +| `androidx/camera/testing/fakes/FakeCamera.java` | `androidx/camera/testing/fakes/FakeCamera.java` | Dropped `simulateCaptureFrameAsync` (pulled in image-capture test helpers); no other change. | +| `androidx/camera/testing/fakes/FakeCameraInfoInternal.java` | same | Rewritten to drop the `androidx.test`/`CameraManager` dependency, add catalog setters (frame-rate ranges, flash unit, sensor rect, resolutions per format), and implement `UnsafeWrapper` so VisionCamera's Camera2 interop resolves the catalog camera id. | +| `androidx/camera/testing/fakes/FakeCameraControl.kt` | `.../fakes/FakeCameraControl.java` | Reimplemented as a no-op control (upstream dragged in `androidx.camera.testing.imagecapture.*`). | +| `androidx/camera/testing/impl/fakes/FakeCameraCoordinator.java` | `androidx/camera/testing/impl/fakes/FakeCameraCoordinator.java` | Unchanged. | +| `androidx/camera/testing/impl/fakes/FakeCameraDeviceSurfaceManager.java` | same | `Ints.asList` (Guava) → `Arrays.asList`. | +| `androidx/camera/testing/impl/fakes/FakeEncoderProfilesProvider.java` | same | Unchanged. | +| `androidx/camera/testing/impl/fakes/FakeSessionConfigOptionUnpacker.kt` | same | Unchanged. | +| `androidx/camera/testing/impl/fakes/FakeUseCaseConfigFactory.kt` | `.../fakes/FakeUseCaseConfigFactory.java` | Reimplemented without the `TakePictureManager` test wrapper. | + +Upstream `FakeCameraFactory` and `FakeAppConfig` are not vendored; `com/margelo/nitro/camera/example/fake/camerax/CatalogCameraFactory.kt` replaces them. + +The `com/margelo/nitro/camera/example/fake/**` package (catalog parsing, `CameraXConfig.Provider` wiring, the `Camera2CameraInfo` / `CameraProperties` / `CameraMetadata` interop bridge) is our own code. diff --git a/apps/fake-simulated-camera/__tests__/fakecamera.barcode-scanner.harness.ts b/apps/fake-simulated-camera/__tests__/fakecamera.barcode-scanner.harness.ts new file mode 100644 index 0000000000..4c52f418b2 --- /dev/null +++ b/apps/fake-simulated-camera/__tests__/fakecamera.barcode-scanner.harness.ts @@ -0,0 +1,103 @@ +import { Platform } from 'react-native' +import { assert, beforeAll, describe, expect, it } from 'react-native-harness' +import type { + CameraDevice, + CameraDeviceFactory, +} from 'react-native-vision-camera' +import { VisionCamera } from 'react-native-vision-camera' +import { + type Barcode, + createBarcodeScannerOutput, +} from 'react-native-vision-camera-barcode-scanner' +import { deferred, withTimeout } from './test-utils' + +// The scene (scenes/qr-code-margelo.png) encodes this value; the fake camera (iOS) or the emulator's +// virtual-scene poster (Android) puts it in front of the back camera. +const sceneQrCodeValue = 'https://margelo.com' + +describe('FakeCamera - Barcode Scanner', () => { + let factory: CameraDeviceFactory + let backDevice: CameraDevice + + beforeAll(async () => { + await VisionCamera.requestCameraPermission() + expect(VisionCamera.cameraPermissionStatus).toBe('authorized') + factory = await VisionCamera.createDeviceFactory() + const back = factory.getDefaultCamera('back') + assert.exists(back, 'no back camera') + backDevice = back + }) + + // iOS fake mode streams the QR scene full-frame into the camera. On Android the fake camera produces no + // frames yet (frame injection is the optional slice E), and the emulator's virtual-scene poster is angled + // and too small for reliable detection — so the barcode E2E runs on iOS only. + it('scans the QR code in the camera scene', async (context) => { + if (Platform.OS !== 'ios') { + return context.skip( + 'barcode scanning: iOS fake camera only (Android frame injection is slice E)', + ) + } + const session = await VisionCamera.createCameraSession(false) + const firstBarcodes = deferred() + const barcodeOutput = createBarcodeScannerOutput({ + barcodeFormats: ['qr-code'], + onBarcodeScanned: (barcodes) => { + if (barcodes.length > 0) { + firstBarcodes.resolve(barcodes) + } + }, + onError: firstBarcodes.reject, + }) + const started = deferred() + const stopped = deferred() + const startSub = session.addOnStartedListener(started.resolve) + const stopSub = session.addOnStoppedListener(stopped.resolve) + const errorSub = session.addOnErrorListener((error) => { + started.reject(error) + stopped.reject(error) + firstBarcodes.reject(error) + }) + let didStart = false + try { + await session.configure([ + { + input: backDevice, + outputs: [{ output: barcodeOutput, mirrorMode: 'off' }], + constraints: [], + }, + ]) + await session.start() + didStart = true + await withTimeout(started.promise, 10_000, 'session start') + + const barcodes = await withTimeout( + firstBarcodes.promise, + 20_000, + 'scan the QR code in the scene', + ) + expect(barcodes).toHaveLength(1) + expect(barcodes[0]).toHaveProperty('format', 'qr-code') + expect(barcodes[0]).toHaveProperty('rawValue', sceneQrCodeValue) + + const resolution = barcodeOutput.currentResolution + assert.exists(resolution, 'barcode output has no current resolution') + const box = barcodes[0]?.boundingBox + assert.exists(box, 'barcode has no bounding box') + const frameLongEdge = Math.max(resolution.width, resolution.height) + expect(box.left).toBeGreaterThanOrEqual(0) + expect(box.top).toBeGreaterThanOrEqual(0) + expect(box.right).toBeLessThanOrEqual(frameLongEdge) + expect(box.bottom).toBeLessThanOrEqual(frameLongEdge) + expect(box.right).toBeGreaterThan(box.left) + expect(box.bottom).toBeGreaterThan(box.top) + } finally { + startSub.remove() + errorSub.remove() + if (didStart) { + await session.stop() + await withTimeout(stopped.promise, 10_000, 'session stop') + } + stopSub.remove() + } + }) +}) diff --git a/apps/fake-simulated-camera/__tests__/fakecamera.constraints.harness.ts b/apps/fake-simulated-camera/__tests__/fakecamera.constraints.harness.ts new file mode 100644 index 0000000000..d4f52ae31c --- /dev/null +++ b/apps/fake-simulated-camera/__tests__/fakecamera.constraints.harness.ts @@ -0,0 +1,498 @@ +import { Platform } from 'react-native' +import { + assert, + beforeAll, + describe, + expect, + fn, + it, + waitFor, +} from 'react-native-harness' +import type { + CameraDevice, + CameraDeviceFactory, + CameraSessionConfig, + Constraint, +} from 'react-native-vision-camera' +import { + CommonDynamicRanges, + CommonResolutions, + VisionCamera, +} from 'react-native-vision-camera' + +// fake-back-wide formats (authored in FakeCameraCatalog.m / .kt) in resolver order: +// 1080p60 1920x1080 yuv-420-8-bit-video 1-60 fps phase-detection standard+cinematic +// 4k30 3840x2160 yuv-420-8-bit-full 1-30 fps phase-detection standard highest photo quality +// 1080p30-hdr 1920x1080 yuv-420-10-bit-video 1-30 fps phase-detection standard+cinematic HDR +// 720p240-binned 1280x720 yuv-420-8-bit-video 1-240 fps contrast-detection none binned +describe('FakeCamera - Constraints', () => { + let factory: CameraDeviceFactory + let backWide: CameraDevice + let ultraWide: CameraDevice + let front: CameraDevice + + beforeAll(async () => { + await VisionCamera.requestCameraPermission() + expect(VisionCamera.cameraPermissionStatus).toBe('authorized') + factory = await VisionCamera.createDeviceFactory() + const back = factory.getCameraForId('fake-back-wide') + const ultra = factory.getCameraForId('fake-back-ultra-wide') + const frontDevice = factory.getCameraForId('fake-front-wide') + assert.exists(back, 'fake-back-wide is missing') + assert.exists(ultra, 'fake-back-ultra-wide is missing') + assert.exists(frontDevice, 'fake-front-wide is missing') + backWide = back + ultraWide = ultra + front = frontDevice + }) + + const frameOutputOptions = { + targetResolution: CommonResolutions.HD_16_9, + pixelFormat: 'yuv', + enablePreviewSizedOutputBuffers: false, + enablePhysicalBufferRotation: false, + enableCameraMatrixDelivery: false, + allowDeferredStart: false, + dropFramesWhileBusy: true, + } as const + + const photoOutputOptions = { + targetResolution: CommonResolutions.HD_4_3, + containerFormat: 'jpeg', + quality: 0.8, + qualityPrioritization: 'balanced', + } as const + + it('picks the 60 fps format for fps: 60', async () => { + const frameOutput = VisionCamera.createFrameOutput(frameOutputOptions) + const config = await VisionCamera.resolveConstraints( + backWide, + [{ output: frameOutput, mirrorMode: 'auto' }], + [{ fps: 60 }], + ) + expect(config.selectedFPS).toBe(60) + }) + + it('picks the 240 fps binned format for fps: 240', async () => { + const frameOutput = VisionCamera.createFrameOutput(frameOutputOptions) + const config = await VisionCamera.resolveConstraints( + backWide, + [{ output: frameOutput, mirrorMode: 'auto' }], + [{ fps: 240 }], + ) + expect(config.selectedFPS).toBe(240) + }) + + it('clamps fps: 60 to the only range of a 30 fps camera', async () => { + const frameOutput = VisionCamera.createFrameOutput(frameOutputOptions) + const config = await VisionCamera.resolveConstraints( + ultraWide, + [{ output: frameOutput, mirrorMode: 'auto' }], + [{ fps: 60 }], + ) + expect(config.selectedFPS).toBe(30) + }) + + const videoOutputOptions = { + targetResolution: CommonResolutions.HD_16_9, + enableAudio: false, + } as const + + // The output type feeds the resolver: a photo output appends the highest-photo-quality internal constraints, + // and each output's streamType decides whether resolutionBias measures photo or video dimensions. So changing + // only the output changes the resolved format — observable through the public CameraSessionConfig. + it('resolves different formats when only the attached output type changes', async (context) => { + if (Platform.OS !== 'ios') { + return context.skip('format selection: iOS only') + } + const frameOutput = VisionCamera.createFrameOutput(frameOutputOptions) + const videoOutput = VisionCamera.createVideoOutput(videoOutputOptions) + const photoOutput = VisionCamera.createPhotoOutput(photoOutputOptions) + + const frameConfig = await VisionCamera.resolveConstraints( + backWide, + [{ output: frameOutput, mirrorMode: 'auto' }], + [], + ) + const videoConfig = await VisionCamera.resolveConstraints( + backWide, + [{ output: videoOutput, mirrorMode: 'auto' }], + [], + ) + const photoConfig = await VisionCamera.resolveConstraints( + backWide, + [{ output: photoOutput, mirrorMode: 'auto' }], + [], + ) + + // Frame and video are both video-stream outputs → same baseline format. + expect(videoConfig.nativePixelFormat).toBe(frameConfig.nativePixelFormat) + expect(videoConfig.nativePixelFormat).toBe('yuv-420-8-bit-video') + expect(videoConfig.isPhotoHDREnabled).toBe(false) + + // The photo output pulls the resolver to the highest-quality format instead. + expect(photoConfig.nativePixelFormat).toBe('yuv-420-8-bit-full') + expect(photoConfig.isPhotoHDREnabled).toBe(true) + expect(photoConfig.nativePixelFormat).not.toBe( + frameConfig.nativePixelFormat, + ) + }) + + it('resolves fps: 60 for a video output', async () => { + const videoOutput = VisionCamera.createVideoOutput(videoOutputOptions) + const config = await VisionCamera.resolveConstraints( + backWide, + [{ output: videoOutput, mirrorMode: 'auto' }], + [{ fps: 60 }], + ) + expect(config.selectedFPS).toBe(60) + }) + + it('resolves the same config via resolveConstraints and session.configure', async () => { + const frameOutput = VisionCamera.createFrameOutput(frameOutputOptions) + const outputConfig = { output: frameOutput, mirrorMode: 'auto' as const } + const constraints: Constraint[] = [{ fps: 60 }] + + const standalone = await VisionCamera.resolveConstraints( + backWide, + [outputConfig], + constraints, + ) + + const session = await VisionCamera.createCameraSession(false) + const onSessionConfigSelected = fn<(config: CameraSessionConfig) => void>() + await session.configure([ + { + input: backWide, + outputs: [outputConfig], + constraints, + onSessionConfigSelected, + }, + ]) + await waitFor( + () => { + expect(onSessionConfigSelected).toHaveBeenCalledWith( + expect.objectContaining({ + selectedFPS: standalone.selectedFPS, + nativePixelFormat: standalone.nativePixelFormat, + isPhotoHDREnabled: standalone.isPhotoHDREnabled, + isBinned: standalone.isBinned, + }), + ) + }, + { timeout: 5_000 }, + ) + await session.stop() + }) + + describe('AVFoundation format selection', () => { + it('picks 1080p60 as the baseline for a frame output', async (context) => { + if (Platform.OS !== 'ios') { + return context.skip('format selection: iOS only') + } + const frameOutput = VisionCamera.createFrameOutput(frameOutputOptions) + const config = await VisionCamera.resolveConstraints( + backWide, + [{ output: frameOutput, mirrorMode: 'auto' }], + [], + ) + expect(config.nativePixelFormat).toBe('yuv-420-8-bit-video') + expect(config.isBinned).toBe(false) + expect(config.autoFocusSystem).toBe('phase-detection') + expect(config.isPhotoHDREnabled).toBe(false) + expect(config.selectedFPS).toBeUndefined() + }) + + it('prefers the highest-quality photo format for a photo output', async (context) => { + if (Platform.OS !== 'ios') { + return context.skip('format selection: iOS only') + } + const photoOutput = VisionCamera.createPhotoOutput(photoOutputOptions) + const config = await VisionCamera.resolveConstraints( + backWide, + [{ output: photoOutput, mirrorMode: 'auto' }], + [], + ) + expect(config.nativePixelFormat).toBe('yuv-420-8-bit-full') + expect(config.isPhotoHDREnabled).toBe(true) + }) + + it('resolves fps: 60 to the 1080p60 format', async (context) => { + if (Platform.OS !== 'ios') { + return context.skip('format selection: iOS only') + } + const frameOutput = VisionCamera.createFrameOutput(frameOutputOptions) + const config = await VisionCamera.resolveConstraints( + backWide, + [{ output: frameOutput, mirrorMode: 'auto' }], + [{ fps: 60 }], + ) + expect(config.selectedFPS).toBe(60) + expect(config.nativePixelFormat).toBe('yuv-420-8-bit-video') + expect(config.autoFocusSystem).toBe('phase-detection') + expect(config.isBinned).toBe(false) + }) + + it('resolves fps: 240 and fps: 120 to the binned 240 fps format', async (context) => { + if (Platform.OS !== 'ios') { + return context.skip('format selection: iOS only') + } + const frameOutput = VisionCamera.createFrameOutput(frameOutputOptions) + for (const fps of [240, 120]) { + const config = await VisionCamera.resolveConstraints( + backWide, + [{ output: frameOutput, mirrorMode: 'auto' }], + [{ fps }], + ) + expect(config.selectedFPS).toBe(fps) + expect(config.isBinned).toBe(true) + expect(config.autoFocusSystem).toBe('contrast-detection') + } + }) + + it('resolves fps: 45 inside the 1080p60 range', async (context) => { + if (Platform.OS !== 'ios') { + return context.skip('format selection: iOS only') + } + const frameOutput = VisionCamera.createFrameOutput(frameOutputOptions) + const config = await VisionCamera.resolveConstraints( + backWide, + [{ output: frameOutput, mirrorMode: 'auto' }], + [{ fps: 45 }], + ) + expect(config.selectedFPS).toBe(45) + expect(config.isBinned).toBe(false) + expect(config.nativePixelFormat).toBe('yuv-420-8-bit-video') + }) + + it('picks the 4k format for a 4k resolution bias', async (context) => { + if (Platform.OS !== 'ios') { + return context.skip('format selection: iOS only') + } + const frameOutput = VisionCamera.createFrameOutput({ + ...frameOutputOptions, + targetResolution: CommonResolutions.UHD_16_9, + }) + const config = await VisionCamera.resolveConstraints( + backWide, + [{ output: frameOutput, mirrorMode: 'auto' }], + [{ resolutionBias: frameOutput }], + ) + expect(config.nativePixelFormat).toBe('yuv-420-8-bit-full') + expect(config.isPhotoHDREnabled).toBe(true) + expect(config.selectedFPS).toBeUndefined() + + const session = await VisionCamera.createCameraSession(false) + await session.configure([ + { + input: backWide, + outputs: [{ output: frameOutput, mirrorMode: 'auto' }], + constraints: [{ resolutionBias: frameOutput }], + }, + ]) + expect(frameOutput.currentResolution).toEqual({ + width: 3840, + height: 2160, + }) + }) + + it('keeps fps: 60 over a 4k resolution bias', async (context) => { + if (Platform.OS !== 'ios') { + return context.skip('format selection: iOS only') + } + const frameOutput = VisionCamera.createFrameOutput({ + ...frameOutputOptions, + targetResolution: CommonResolutions.UHD_16_9, + }) + const config = await VisionCamera.resolveConstraints( + backWide, + [{ output: frameOutput, mirrorMode: 'auto' }], + [{ fps: 60 }, { resolutionBias: frameOutput }], + ) + expect(config.selectedFPS).toBe(60) + expect(config.nativePixelFormat).toBe('yuv-420-8-bit-video') + + const session = await VisionCamera.createCameraSession(false) + await session.configure([ + { + input: backWide, + outputs: [{ output: frameOutput, mirrorMode: 'auto' }], + constraints: [{ fps: 60 }, { resolutionBias: frameOutput }], + }, + ]) + expect(frameOutput.currentResolution).toEqual({ + width: 1920, + height: 1080, + }) + }) + + it('honors constraint priority between stabilization and pixel format', async (context) => { + if (Platform.OS !== 'ios') { + return context.skip('format selection: iOS only') + } + const frameOutput = VisionCamera.createFrameOutput(frameOutputOptions) + const outputs = [{ output: frameOutput, mirrorMode: 'auto' as const }] + + const stabilizationFirst = await VisionCamera.resolveConstraints( + backWide, + outputs, + [ + { videoStabilizationMode: 'cinematic' }, + { pixelFormat: 'yuv-420-8-bit-full' }, + ], + ) + expect(stabilizationFirst.selectedVideoStabilizationMode).toBe( + 'cinematic', + ) + expect(stabilizationFirst.nativePixelFormat).toBe('yuv-420-8-bit-video') + + const pixelFormatFirst = await VisionCamera.resolveConstraints( + backWide, + outputs, + [ + { pixelFormat: 'yuv-420-8-bit-full' }, + { videoStabilizationMode: 'cinematic' }, + ], + ) + expect(pixelFormatFirst.nativePixelFormat).toBe('yuv-420-8-bit-full') + expect(pixelFormatFirst.selectedVideoStabilizationMode).toBe('standard') + }) + + it('downgrades an unsupported stabilization mode to the next supported one', async (context) => { + if (Platform.OS !== 'ios') { + return context.skip('format selection: iOS only') + } + const frameOutput = VisionCamera.createFrameOutput(frameOutputOptions) + const config = await VisionCamera.resolveConstraints( + backWide, + [{ output: frameOutput, mirrorMode: 'auto' }], + [{ videoStabilizationMode: 'cinematic-extended' }], + ) + expect(config.selectedVideoStabilizationMode).toBe('cinematic') + }) + + it('picks the 10-bit HDR format for an HDR dynamic range', async (context) => { + if (Platform.OS !== 'ios') { + return context.skip('format selection: iOS only') + } + const frameOutput = VisionCamera.createFrameOutput(frameOutputOptions) + const config = await VisionCamera.resolveConstraints( + backWide, + [{ output: frameOutput, mirrorMode: 'auto' }], + [{ videoDynamicRange: CommonDynamicRanges.ANY_HDR }], + ) + expect(config.selectedVideoDynamicRange).toEqual({ + bitDepth: 'hdr-10-bit', + colorSpace: 'hlg-bt2020', + colorRange: 'video', + }) + expect(config.nativePixelFormat).toBe('yuv-420-10-bit-video') + }) + + it('picks the binned format for binned: true', async (context) => { + if (Platform.OS !== 'ios') { + return context.skip('format selection: iOS only') + } + const frameOutput = VisionCamera.createFrameOutput(frameOutputOptions) + const config = await VisionCamera.resolveConstraints( + backWide, + [{ output: frameOutput, mirrorMode: 'auto' }], + [{ binned: true }], + ) + expect(config.isBinned).toBe(true) + expect(config.autoFocusSystem).toBe('contrast-detection') + }) + + it('picks the format with the requested pixel format', async (context) => { + if (Platform.OS !== 'ios') { + return context.skip('format selection: iOS only') + } + const frameOutput = VisionCamera.createFrameOutput(frameOutputOptions) + const config = await VisionCamera.resolveConstraints( + backWide, + [{ output: frameOutput, mirrorMode: 'auto' }], + [{ pixelFormat: 'yuv-420-10-bit-video' }], + ) + expect(config.nativePixelFormat).toBe('yuv-420-10-bit-video') + }) + + it('accepts a resolved config in isSessionConfigSupported', async (context) => { + if (Platform.OS !== 'ios') { + return context.skip('format selection: iOS only') + } + const frameOutput = VisionCamera.createFrameOutput(frameOutputOptions) + const config = await VisionCamera.resolveConstraints( + backWide, + [{ output: frameOutput, mirrorMode: 'auto' }], + [{ fps: 60 }], + ) + expect(backWide.isSessionConfigSupported(config)).toBe(true) + }) + }) + + describe('CameraX constraint resolution', () => { + it('picks the range with the closest upper bound for fps: 45', async (context) => { + if (Platform.OS !== 'android') { + return context.skip('CameraX fps ranges: Android only') + } + const frameOutput = VisionCamera.createFrameOutput(frameOutputOptions) + const config = await VisionCamera.resolveConstraints( + backWide, + [{ output: frameOutput, mirrorMode: 'auto' }], + [{ fps: 45 }], + ) + expect(config.selectedFPS).toBe(60) + }) + + it('keeps a supported stabilization constraint verbatim', async (context) => { + if (Platform.OS !== 'android') { + return context.skip('CameraX stabilization: Android only') + } + const frameOutput = VisionCamera.createFrameOutput(frameOutputOptions) + for (const mode of ['standard', 'cinematic'] as const) { + const config = await VisionCamera.resolveConstraints( + backWide, + [{ output: frameOutput, mirrorMode: 'auto' }], + [{ videoStabilizationMode: mode }], + ) + expect(config.selectedVideoStabilizationMode).toBe(mode) + } + }) + + it('drops a stabilization constraint the camera cannot support', async (context) => { + if (Platform.OS !== 'android') { + return context.skip('CameraX stabilization: Android only') + } + const frameOutput = VisionCamera.createFrameOutput(frameOutputOptions) + const config = await VisionCamera.resolveConstraints( + ultraWide, + [{ output: frameOutput, mirrorMode: 'auto' }], + [{ videoStabilizationMode: 'standard' }], + ) + expect(config.selectedVideoStabilizationMode).toBeUndefined() + }) + + it('resolves HDR only on the HDR camera', async (context) => { + if (Platform.OS !== 'android') { + return context.skip('CameraX dynamic ranges: Android only') + } + const frameOutput = VisionCamera.createFrameOutput(frameOutputOptions) + const backConfig = await VisionCamera.resolveConstraints( + backWide, + [{ output: frameOutput, mirrorMode: 'auto' }], + [{ videoDynamicRange: CommonDynamicRanges.ANY_HDR }], + ) + expect(backConfig.selectedVideoDynamicRange?.bitDepth).toBe('hdr-10-bit') + + const frontConfig = await VisionCamera.resolveConstraints( + front, + [{ output: frameOutput, mirrorMode: 'auto' }], + [{ videoDynamicRange: CommonDynamicRanges.ANY_HDR }], + ) + expect(frontConfig.selectedVideoDynamicRange).toBeUndefined() + }) + + // photoHDR (Ultra HDR / JPEG_R) support is read from CameraCharacteristics, which the Android fake does + // not build (slice-C gate) — so that assertion belongs to the real-Camera2 scene runner, not fake mode. + }) +}) diff --git a/apps/fake-simulated-camera/__tests__/fakecamera.devices.harness.ts b/apps/fake-simulated-camera/__tests__/fakecamera.devices.harness.ts new file mode 100644 index 0000000000..eead36eba8 --- /dev/null +++ b/apps/fake-simulated-camera/__tests__/fakecamera.devices.harness.ts @@ -0,0 +1,256 @@ +import { Platform } from 'react-native' +import { assert, beforeAll, describe, expect, it } from 'react-native-harness' +import type { CameraDeviceFactory } from 'react-native-vision-camera' +import { VisionCamera } from 'react-native-vision-camera' + +// Expectations are literals, exactly as an app developer would assert them against the fake camera the app +// injects. No catalog is imported — the tests only touch public VisionCamera API. Platform guards appear only +// where the two camera frameworks genuinely expose different information, and each says why. +const BACK_WIDE = { + id: 'fake-back-wide', + position: 'back' as const, + type: 'wide-angle' as const, + hasFlash: true, + hasTorch: true, + minZoom: 1, + maxZoom: 6, + lensAperture: 1.6, + focalLength: 24, + videoResolutions: [ + { width: 1920, height: 1080 }, + { width: 3840, height: 2160 }, + { width: 1280, height: 720 }, + ], + fpsRanges: [ + { min: 1, max: 60 }, + { min: 1, max: 30 }, + { min: 1, max: 240 }, + ], +} +const ULTRA_WIDE = { + id: 'fake-back-ultra-wide', + position: 'back' as const, + type: 'ultra-wide-angle' as const, + hasFlash: true, + hasTorch: true, + minZoom: 1, + maxZoom: 1, + lensAperture: 2.4, + focalLength: 13, + videoResolutions: [{ width: 1920, height: 1080 }], + fpsRanges: [{ min: 1, max: 30 }], +} +const FRONT = { + id: 'fake-front-wide', + position: 'front' as const, + type: 'wide-angle' as const, + hasFlash: false, + hasTorch: false, + minZoom: 1, + maxZoom: 1, + lensAperture: 2.2, + focalLength: 23, + videoResolutions: [ + { width: 1920, height: 1080 }, + { width: 1280, height: 720 }, + ], + fpsRanges: [ + { min: 1, max: 60 }, + { min: 1, max: 30 }, + ], +} +const DEVICES = [BACK_WIDE, ULTRA_WIDE, FRONT] + +describe('FakeCamera - Devices', () => { + let factory: CameraDeviceFactory + + beforeAll(async () => { + await VisionCamera.requestCameraPermission() + expect(VisionCamera.cameraPermissionStatus).toBe('authorized') + factory = await VisionCamera.createDeviceFactory() + }) + + it('enumerates exactly the injected devices in order', () => { + expect(factory.cameraDevices.map((device) => device.id)).toEqual( + DEVICES.map((device) => device.id), + ) + }) + + it('reports position, type, flash, torch and zoom', () => { + for (const spec of DEVICES) { + const device = factory.getCameraForId(spec.id) + assert.exists(device, `device ${spec.id} is missing`) + expect(device.position).toBe(spec.position) + expect(device.type).toBe(spec.type) + expect(device.hasFlash).toBe(spec.hasFlash) + expect(device.hasTorch).toBe(spec.hasTorch) + expect(device.minZoom).toBe(spec.minZoom) + expect(device.maxZoom).toBe(spec.maxZoom) + expect(device.physicalDevices).toHaveLength(0) + expect(device.isVirtualDevice).toBe(false) + } + }) + + it('selects the first device of each position as the default camera', () => { + expect(factory.getDefaultCamera('back')?.id).toBe('fake-back-wide') + expect(factory.getDefaultCamera('front')?.id).toBe('fake-front-wide') + expect(factory.getDefaultCamera('external')).toBeUndefined() + }) + + it('round-trips every id through getCameraForId and rejects unknown ids', () => { + for (const spec of DEVICES) { + expect(factory.getCameraForId(spec.id)?.id).toBe(spec.id) + } + expect(factory.getCameraForId('not-a-real-camera')).toBeUndefined() + }) + + it('exposes the union of the device fps ranges', () => { + for (const spec of DEVICES) { + const device = factory.getCameraForId(spec.id) + assert.exists(device, `device ${spec.id} is missing`) + expect(device.supportedFPSRanges).toHaveLength(spec.fpsRanges.length) + expect(device.supportedFPSRanges).toEqual( + expect.arrayContaining(spec.fpsRanges), + ) + } + }) + + it('answers supportsFPS from the fps ranges', () => { + expect(factory.getCameraForId('fake-back-wide')?.supportsFPS(60)).toBe(true) + expect(factory.getCameraForId('fake-back-wide')?.supportsFPS(240)).toBe( + true, + ) + expect(factory.getCameraForId('fake-back-wide')?.supportsFPS(241)).toBe( + false, + ) + expect( + factory.getCameraForId('fake-back-ultra-wide')?.supportsFPS(30), + ).toBe(true) + expect( + factory.getCameraForId('fake-back-ultra-wide')?.supportsFPS(60), + ).toBe(false) + expect(factory.getCameraForId('fake-front-wide')?.supportsFPS(60)).toBe( + true, + ) + expect(factory.getCameraForId('fake-front-wide')?.supportsFPS(120)).toBe( + false, + ) + }) + + it('reports HDR video dynamic ranges only for the HDR device', () => { + const backWide = factory.getCameraForId('fake-back-wide') + const front = factory.getCameraForId('fake-front-wide') + assert.exists(backWide, 'fake-back-wide is missing') + assert.exists(front, 'fake-front-wide is missing') + expect( + backWide.supportedVideoDynamicRanges.map((r) => r.bitDepth), + ).toContain('hdr-10-bit') + expect( + backWide.supportedVideoDynamicRanges.map((r) => r.bitDepth), + ).toContain('sdr-8-bit') + expect( + front.supportedVideoDynamicRanges.map((r) => r.bitDepth), + ).not.toContain('hdr-10-bit') + }) + + it('lists the video resolutions', () => { + for (const spec of DEVICES) { + const device = factory.getCameraForId(spec.id) + assert.exists(device, `device ${spec.id} is missing`) + const resolutions = device.getSupportedResolutions('video') + expect(resolutions).toEqual(expect.arrayContaining(spec.videoResolutions)) + } + }) + + it('reports the lens aperture', () => { + for (const spec of DEVICES) { + const device = factory.getCameraForId(spec.id) + assert.exists(device, `device ${spec.id} is missing`) + expect(device.lensAperture).toBeCloseTo(spec.lensAperture, 2) + } + }) + + it('reports the focal length', () => { + for (const spec of DEVICES) { + const device = factory.getCameraForId(spec.id) + assert.exists(device, `device ${spec.id} is missing`) + expect(device.focalLength).toBeCloseTo(spec.focalLength, 1) + } + }) + + // Cinematic stabilization is an AVFoundation-only mode; CameraX has no equivalent, so it is asserted on iOS only. + it('reports cinematic stabilization on iOS', async (context) => { + if (Platform.OS !== 'ios') { + return context.skip('cinematic stabilization: AVFoundation-only mode') + } + const backWide = factory.getCameraForId('fake-back-wide') + const front = factory.getCameraForId('fake-front-wide') + assert.exists(backWide, 'fake-back-wide is missing') + assert.exists(front, 'fake-front-wide is missing') + expect(backWide.supportsVideoStabilizationMode('cinematic')).toBe(true) + expect(backWide.supportsVideoStabilizationMode('standard')).toBe(true) + expect(front.supportsVideoStabilizationMode('standard')).toBe(true) + expect(front.supportsVideoStabilizationMode('cinematic')).toBe(false) + }) + + // CameraX only models stabilization ON/OFF and maps every non-standard mode to false, so Android asserts that. + it('reports standard-only stabilization on Android', async (context) => { + if (Platform.OS !== 'android') { + return context.skip('CameraX stabilization is ON/OFF only') + } + const backWide = factory.getCameraForId('fake-back-wide') + const ultraWide = factory.getCameraForId('fake-back-ultra-wide') + assert.exists(backWide, 'fake-back-wide is missing') + assert.exists(ultraWide, 'fake-back-ultra-wide is missing') + expect(backWide.supportsVideoStabilizationMode('standard')).toBe(true) + expect(backWide.supportsVideoStabilizationMode('cinematic')).toBe(false) + expect(ultraWide.supportsVideoStabilizationMode('standard')).toBe(false) + }) + + // AVFoundation exposes a pixel format per capture format; the fake reports the exact catalog formats. + it('lists the AVFoundation pixel formats on iOS', async (context) => { + if (Platform.OS !== 'ios') { + return context.skip('per-format pixel formats: AVFoundation granularity') + } + const backWide = factory.getCameraForId('fake-back-wide') + assert.exists(backWide, 'fake-back-wide is missing') + expect(backWide.supportedPixelFormats).toEqual( + expect.arrayContaining([ + 'yuv-420-8-bit-video', + 'yuv-420-8-bit-full', + 'yuv-420-10-bit-video', + ]), + ) + }) + + // Camera2 exposes coarser output formats (YUV_420_888 / PRIVATE) with no per-format range, so Android sees fewer. + it('lists the Camera2 output pixel formats on Android', async (context) => { + if (Platform.OS !== 'android') { + return context.skip('coarse output formats: Camera2 granularity') + } + const backWide = factory.getCameraForId('fake-back-wide') + assert.exists(backWide, 'fake-back-wide is missing') + expect(backWide.supportedPixelFormats).toEqual( + expect.arrayContaining(['private', 'yuv-420-8-bit-full']), + ) + }) + + // userPreferredCamera is an iOS 17+ AVFoundation API with no Android equivalent. + it('stores and returns the user preferred camera on iOS', async (context) => { + if (Platform.OS !== 'ios') { + return context.skip('userPreferredCamera: AVFoundation-only API') + } + if (Number.parseInt(String(Platform.Version), 10) < 17) { + return context.skip('userPreferredCamera: iOS 17+ only') + } + const front = factory.getCameraForId('fake-front-wide') + const backWide = factory.getCameraForId('fake-back-wide') + assert.exists(front, 'fake-front-wide is missing') + assert.exists(backWide, 'fake-back-wide is missing') + factory.userPreferredCamera = front + expect(factory.userPreferredCamera?.id).toBe('fake-front-wide') + // VisionCamera's setter ignores a nil value, so the last camera set wins — assert an overwrite, not a clear. + factory.userPreferredCamera = backWide + expect(factory.userPreferredCamera?.id).toBe('fake-back-wide') + }) +}) diff --git a/apps/fake-simulated-camera/__tests__/fakecamera.scene.harness.ts b/apps/fake-simulated-camera/__tests__/fakecamera.scene.harness.ts new file mode 100644 index 0000000000..cc67a960d9 --- /dev/null +++ b/apps/fake-simulated-camera/__tests__/fakecamera.scene.harness.ts @@ -0,0 +1,57 @@ +import { Platform } from 'react-native' +import { assert, beforeAll, describe, expect, it } from 'react-native-harness' +import type { CameraDeviceFactory } from 'react-native-vision-camera' +import { VisionCamera } from 'react-native-vision-camera' + +// Runs on the Android `android-scene` runner only: the emulator's real Camera2 cameras (virtual scene), +// so every expectation is derived from the running device instead of the catalog. +describe('FakeCamera - Emulator scene camera', () => { + let factory: CameraDeviceFactory + + beforeAll(async () => { + await VisionCamera.requestCameraPermission() + expect(VisionCamera.cameraPermissionStatus).toBe('authorized') + factory = await VisionCamera.createDeviceFactory() + }) + + it('round-trips the Camera2 ids of the emulator cameras', async (context) => { + if (Platform.OS !== 'android') { + return context.skip('emulator scene camera: Android only') + } + expect(factory.cameraDevices).not.toHaveLength(0) + for (const device of factory.cameraDevices) { + const lookedUp = factory.getCameraForId(device.id) + assert.exists(lookedUp, `getCameraForId(${device.id}) returned nothing`) + expect(lookedUp.id).toBe(device.id) + } + }) + + it('exposes Camera2 stream sizes and pixel formats', async (context) => { + if (Platform.OS !== 'android') { + return context.skip('emulator scene camera: Android only') + } + const back = factory.getDefaultCamera('back') + assert.exists(back, 'no back camera') + const videoResolutions = back.getSupportedResolutions('video') + expect(videoResolutions).not.toHaveLength(0) + for (const resolution of videoResolutions) { + expect(resolution.width).toBeGreaterThan(0) + expect(resolution.height).toBeGreaterThan(0) + } + expect(back.supportedPixelFormats).toContain('private') + }) + + it('keeps supportsFPS consistent with supportedFPSRanges', async (context) => { + if (Platform.OS !== 'android') { + return context.skip('emulator scene camera: Android only') + } + for (const device of factory.cameraDevices) { + expect(device.supportedFPSRanges).not.toHaveLength(0) + const maxFps = Math.max( + ...device.supportedFPSRanges.map((range) => range.max), + ) + expect(device.supportsFPS(maxFps)).toBe(true) + expect(device.supportsFPS(maxFps + 1)).toBe(false) + } + }) +}) diff --git a/apps/fake-simulated-camera/__tests__/fakecamera.session.harness.ts b/apps/fake-simulated-camera/__tests__/fakecamera.session.harness.ts new file mode 100644 index 0000000000..34de859ff5 --- /dev/null +++ b/apps/fake-simulated-camera/__tests__/fakecamera.session.harness.ts @@ -0,0 +1,135 @@ +import { Platform } from 'react-native' +import { + assert, + beforeAll, + describe, + expect, + it, + waitFor, +} from 'react-native-harness' +import type { + CameraDevice, + CameraDeviceFactory, +} from 'react-native-vision-camera' +import { CommonResolutions, VisionCamera } from 'react-native-vision-camera' +import { deferred, withTimeout } from './test-utils' + +// The fake pump delivers BGRA on the iOS Simulator; on the Android emulator ImageAnalysis rejects PRIVATE on the +// swiftshader GPU, so YUV is requested there. This configures the output for what each fake actually delivers. +const FRAME_PIXEL_FORMAT = Platform.OS === 'ios' ? 'rgb' : 'yuv' + +function makeFrameOutput() { + return VisionCamera.createFrameOutput({ + targetResolution: CommonResolutions.HD_16_9, + pixelFormat: FRAME_PIXEL_FORMAT, + enablePreviewSizedOutputBuffers: false, + enablePhysicalBufferRotation: false, + enableCameraMatrixDelivery: false, + allowDeferredStart: false, + dropFramesWhileBusy: true, + }) +} + +describe('FakeCamera - Session', () => { + let factory: CameraDeviceFactory + let backWide: CameraDevice + let front: CameraDevice + + beforeAll(async () => { + await VisionCamera.requestCameraPermission() + expect(VisionCamera.cameraPermissionStatus).toBe('authorized') + factory = await VisionCamera.createDeviceFactory() + const back = factory.getCameraForId('fake-back-wide') + const frontDevice = factory.getCameraForId('fake-front-wide') + assert.exists(back, 'fake-back-wide is missing') + assert.exists(frontDevice, 'fake-front-wide is missing') + backWide = back + front = frontDevice + }) + + it('configures, starts and stops a session on the fake camera', async () => { + const session = await VisionCamera.createCameraSession(false) + const frameOutput = makeFrameOutput() + const started = deferred() + const stopped = deferred() + const startSub = session.addOnStartedListener(started.resolve) + const stopSub = session.addOnStoppedListener(stopped.resolve) + const errorSub = session.addOnErrorListener((error) => { + started.reject(error) + stopped.reject(error) + }) + try { + const controllers = await session.configure([ + { + input: backWide, + outputs: [{ output: frameOutput, mirrorMode: 'auto' }], + constraints: [], + }, + ]) + expect(controllers).toHaveLength(1) + expect(controllers[0]).toHaveProperty('device.id', 'fake-back-wide') + + await session.start() + await withTimeout(started.promise, 10_000, 'session start') + await waitFor(() => expect(session.isRunning).toBe(true), { timeout: 3_000 }) + await session.stop() + await withTimeout(stopped.promise, 10_000, 'session stop') + await waitFor(() => expect(session.isRunning).toBe(false), { timeout: 3_000 }) + } finally { + startSub.remove() + stopSub.remove() + errorSub.remove() + } + }) + + // Switching cameras with a fresh session per device, the way an app recreates its session on a camera flip. + it('configures, starts and stops a session on the front camera', async () => { + const session = await VisionCamera.createCameraSession(false) + const frameOutput = makeFrameOutput() + const started = deferred() + const stopped = deferred() + const startSub = session.addOnStartedListener(started.resolve) + const stopSub = session.addOnStoppedListener(stopped.resolve) + const errorSub = session.addOnErrorListener((error) => { + started.reject(error) + stopped.reject(error) + }) + try { + const controllers = await session.configure([ + { input: front, outputs: [{ output: frameOutput, mirrorMode: 'auto' }], constraints: [] }, + ]) + expect(controllers).toHaveLength(1) + expect(controllers[0]).toHaveProperty('device.id', 'fake-front-wide') + + await session.start() + await withTimeout(started.promise, 10_000, 'front session start') + await waitFor(() => expect(session.isRunning).toBe(true), { timeout: 3_000 }) + await session.stop() + await withTimeout(stopped.promise, 10_000, 'front session stop') + await waitFor(() => expect(session.isRunning).toBe(false), { timeout: 3_000 }) + } finally { + startSub.remove() + stopSub.remove() + errorSub.remove() + } + }) + + // currentResolution reads AVCaptureConnection.inputStreamResolution; the Android equivalent is covered by the + // scene runner, so the negotiated-resolution assertion runs on iOS only. + it('reports the negotiated format resolution on the attached output', async (context) => { + if (Platform.OS !== 'ios') { + return context.skip('AVCaptureConnection input resolution: iOS only') + } + const session = await VisionCamera.createCameraSession(false) + const frameOutput = makeFrameOutput() + expect(frameOutput.currentResolution).toBeUndefined() + await session.configure([ + { + input: backWide, + outputs: [{ output: frameOutput, mirrorMode: 'auto' }], + constraints: [{ fps: 60 }], + }, + ]) + expect(frameOutput.currentResolution).toEqual({ width: 1920, height: 1080 }) + }) +}) diff --git a/apps/fake-simulated-camera/__tests__/fakecamera.variants.harness.ts b/apps/fake-simulated-camera/__tests__/fakecamera.variants.harness.ts new file mode 100644 index 0000000000..cacfe152d8 --- /dev/null +++ b/apps/fake-simulated-camera/__tests__/fakecamera.variants.harness.ts @@ -0,0 +1,126 @@ +import { assert, beforeAll, describe, expect, it } from 'react-native-harness' +import type { CameraDeviceFactory } from 'react-native-vision-camera' +import { VisionCamera } from 'react-native-vision-camera' + +// Runs only when the app is launched with FAKE_CAMERA_CATALOG=variants. This catalog is a robustness fixture: +// two near-identical back cameras that differ ONLY in maxZoom, plus a front camera — a different device set than +// `default`, which proves the fake pipeline is catalog-agnostic (not hardcoded to the default devices). +describe('FakeCamera - Variants catalog', () => { + let factory: CameraDeviceFactory + + beforeAll(async () => { + await VisionCamera.requestCameraPermission() + expect(VisionCamera.cameraPermissionStatus).toBe('authorized') + factory = await VisionCamera.createDeviceFactory() + }) + + it('enumerates exactly the variant devices in order (different count than default)', () => { + const ids = factory.cameraDevices.map((device) => device.id) + expect(ids).toEqual([ + 'fake-twin-a', + 'fake-twin-b', + 'fake-slow-fps', + 'fake-hdr-variant', + 'fake-variant-tele', + 'fake-variant-front', + 'fake-clone-a', + 'fake-clone-b', + ]) + // Default catalog has 3 devices; this one has 8 — the pipeline is not hardcoded to a device count. + expect(ids).toHaveLength(8) + }) + + it('never dedupes two devices that are identical except their id', () => { + const a = factory.getCameraForId('fake-clone-a') + const b = factory.getCameraForId('fake-clone-b') + assert.exists(a, 'fake-clone-a is missing') + assert.exists(b, 'fake-clone-b is missing') + // Both are present and each round-trips to itself: + expect(a.id).toBe('fake-clone-a') + expect(b.id).toBe('fake-clone-b') + expect(a.id).not.toBe(b.id) + // Every capability the public API exposes is identical — only the id differs: + expect(a.position).toBe(b.position) + expect(a.type).toBe(b.type) + expect(a.hasFlash).toBe(b.hasFlash) + expect(a.hasTorch).toBe(b.hasTorch) + expect(a.minZoom).toBe(b.minZoom) + expect(a.maxZoom).toBe(b.maxZoom) + expect(a.lensAperture).toBeCloseTo(b.lensAperture, 3) + expect(a.focalLength).toBe(b.focalLength) + expect(a.supportedFPSRanges).toEqual(b.supportedFPSRanges) + expect(a.supportedPixelFormats).toEqual(b.supportedPixelFormats) + expect(a.getSupportedResolutions('video')).toEqual(b.getSupportedResolutions('video')) + }) + + it('distinguishes near-identical devices that differ only in one format field', () => { + const base = factory.getCameraForId('fake-twin-a') + const slow = factory.getCameraForId('fake-slow-fps') + const hdr = factory.getCameraForId('fake-hdr-variant') + assert.exists(base, 'fake-twin-a is missing') + assert.exists(slow, 'fake-slow-fps is missing') + assert.exists(hdr, 'fake-hdr-variant is missing') + // Differ only by the format's fps ceiling: + expect(base.supportsFPS(60)).toBe(true) + expect(slow.supportsFPS(60)).toBe(false) + expect(slow.supportsFPS(30)).toBe(true) + // Differ only by the format being HDR: + expect(base.supportedVideoDynamicRanges.map((r) => r.bitDepth)).not.toContain('hdr-10-bit') + expect(hdr.supportedVideoDynamicRanges.map((r) => r.bitDepth)).toContain('hdr-10-bit') + }) + + it('reports the telephoto device type', () => { + const tele = factory.getCameraForId('fake-variant-tele') + assert.exists(tele, 'fake-variant-tele is missing') + expect(tele.type).toBe('telephoto') + expect(tele.position).toBe('back') + expect(tele.maxZoom).toBe(3) + }) + + it('does not expose the default catalog devices (catalog was switched)', () => { + expect(factory.getCameraForId('fake-back-wide')).toBeUndefined() + expect(factory.getCameraForId('fake-back-ultra-wide')).toBeUndefined() + expect(factory.getCameraForId('fake-front-wide')).toBeUndefined() + expect(factory.getCameraForId('not-a-real-camera')).toBeUndefined() + }) + + it('selects the first back and the front as defaults', () => { + expect(factory.getDefaultCamera('back')?.id).toBe('fake-twin-a') + expect(factory.getDefaultCamera('front')?.id).toBe('fake-variant-front') + }) + + it('round-trips both near-identical twins distinctly', () => { + expect(factory.getCameraForId('fake-twin-a')?.id).toBe('fake-twin-a') + expect(factory.getCameraForId('fake-twin-b')?.id).toBe('fake-twin-b') + }) + + it('reports the twins as identical except maxZoom', () => { + const a = factory.getCameraForId('fake-twin-a') + const b = factory.getCameraForId('fake-twin-b') + assert.exists(a, 'fake-twin-a is missing') + assert.exists(b, 'fake-twin-b is missing') + // The one authored difference: + expect(a.maxZoom).toBe(4) + expect(b.maxZoom).toBe(6) + // Everything else is identical between the two near-identical devices — the difference is exactly maxZoom: + expect(a.position).toBe(b.position) + expect(a.type).toBe(b.type) + expect(a.hasFlash).toBe(b.hasFlash) + expect(a.hasTorch).toBe(b.hasTorch) + expect(a.minZoom).toBe(b.minZoom) + expect(a.lensAperture).toBeCloseTo(b.lensAperture, 3) + expect(a.focalLength).toBe(b.focalLength) + expect(a.supportedFPSRanges).toEqual(b.supportedFPSRanges) + expect(a.supportedPixelFormats).toEqual(b.supportedPixelFormats) + expect(a.supportedVideoDynamicRanges.map((r) => r.bitDepth)).toEqual( + b.supportedVideoDynamicRanges.map((r) => r.bitDepth), + ) + expect(a.getSupportedResolutions('video')).toEqual(b.getSupportedResolutions('video')) + expect(a.supportsFPS(60)).toBe(true) + expect(b.supportsFPS(60)).toBe(true) + expect(a.position).toBe('back') + expect(a.type).toBe('wide-angle') + // They are distinct objects/ids, never deduped despite being near-identical: + expect(a.id).not.toBe(b.id) + }) +}) diff --git a/apps/fake-simulated-camera/__tests__/test-utils.ts b/apps/fake-simulated-camera/__tests__/test-utils.ts new file mode 100644 index 0000000000..706d6664cc --- /dev/null +++ b/apps/fake-simulated-camera/__tests__/test-utils.ts @@ -0,0 +1,38 @@ +/** + * A Promise paired with externally-callable resolve/reject. Useful when an + * event source (a callback pair, a listener) needs to feed into a Promise + * the test can `await`. The error path becomes a Promise rejection, so a + * native error fails the test with its own message instead of a timeout. + */ +export function deferred() { + let resolve!: (value: T) => void + let reject!: (error: Error) => void + const promise = new Promise((res, rej) => { + resolve = res + reject = rej + }) + return { promise, resolve, reject } +} + +/** + * Race a Promise against a timeout. Rejects with a labeled error if the + * Promise hasn't settled within `ms` milliseconds. + */ +export async function withTimeout( + promise: Promise, + ms: number, + label: string, +): Promise { + let timer: ReturnType | undefined + const timeout = new Promise((_, reject) => { + timer = setTimeout( + () => reject(new Error(`Timed out after ${ms}ms: ${label}`)), + ms, + ) + }) + try { + return await Promise.race([promise, timeout]) + } finally { + if (timer != null) clearTimeout(timer) + } +} diff --git a/apps/fake-simulated-camera/android/app/build.gradle b/apps/fake-simulated-camera/android/app/build.gradle new file mode 100644 index 0000000000..3aa2ea9527 --- /dev/null +++ b/apps/fake-simulated-camera/android/app/build.gradle @@ -0,0 +1,150 @@ +apply plugin: "com.android.application" +apply plugin: "org.jetbrains.kotlin.android" +apply plugin: "com.facebook.react" + +// The vendored AOSP CameraX fakes call @RestrictTo(LIBRARY_GROUP) APIs on purpose; keep lint from failing on it. +android { + lint { + disable 'RestrictedApi' + } +} + +/** + * This is the configuration block to customize your React Native Android app. + * By default you don't need to apply any configuration, just uncomment the lines you need. + */ +react { + /* Folders */ + // The root of your project, i.e. where "package.json" lives. Default is '..' + // root = file("../") + // The folder where the react-native NPM package is. Default is ../node_modules/react-native + reactNativeDir = file("../../../../node_modules/react-native") + // The folder where the react-native Codegen package is. Default is ../node_modules/@react-native/codegen + codegenDir = file("../../../../node_modules/@react-native/codegen") + // The cli.js file which is the React Native CLI entrypoint. Default is ../node_modules/react-native/cli.js + cliFile = file("../../../../node_modules/react-native/cli.js") + + /* Variants */ + // The list of variants to that are debuggable. For those we're going to + // skip the bundling of the JS bundle and the assets. By default is just 'debug'. + // If you add flavors like lite, prod, etc. you'll have to list your debuggableVariants. + // debuggableVariants = ["liteDebug", "prodDebug"] + + /* Bundling */ + // A list containing the node command and its flags. Default is just 'node'. + // nodeExecutableAndArgs = ["node"] + // + // The command to run when bundling. By default is 'bundle' + // bundleCommand = "ram-bundle" + // + // The path to the CLI configuration file. Default is empty. + // bundleConfig = file(../rn-cli.config.js) + // + // The name of the generated asset file containing your JS bundle + // bundleAssetName = "MyApplication.android.bundle" + // + // The entry file for bundle generation. Default is 'index.android.js' or 'index.js' + // entryFile = file("../js/MyApplication.android.js") + // + // A list of extra flags to pass to the 'bundle' commands. + // See https://github.com/react-native-community/cli/blob/main/docs/commands.md#bundle + // extraPackagerArgs = [] + + /* Hermes Commands */ + // The hermes compiler command to run. By default it is 'hermesc' + hermesCommand = "$rootDir/../../../node_modules/hermes-compiler/hermesc/%OS-BIN%/hermesc" + // + // The list of flags to pass to the Hermes compiler. By default is "-O", "-output-source-map" + // hermesFlags = ["-O", "-output-source-map"] + + /* Autolinking */ + autolinkLibrariesWithApp() +} + +/** + * Set this to true to Run Proguard on Release builds to minify the Java bytecode. + */ +def enableProguardInReleaseBuilds = false + +/** + * The preferred build flavor of JavaScriptCore (JSC) + * + * For example, to use the international variant, you can use: + * `def jscFlavor = io.github.react-native-community:jsc-android-intl:2026004.+` + * + * The international variant includes ICU i18n library and necessary data + * allowing to use e.g. `Date.toLocaleString` and `String.localeCompare` that + * give correct results when using with locales other than en-US. Note that + * this variant is about 6MiB larger per architecture than default. + */ +def jscFlavor = 'io.github.react-native-community:jsc-android:2026004.+' + +android { + ndkVersion rootProject.ext.ndkVersion + buildToolsVersion rootProject.ext.buildToolsVersion + compileSdk rootProject.ext.compileSdkVersion + + namespace "com.margelo.nitro.camera.example.fake" + defaultConfig { + applicationId "com.margelo.nitro.camera.example.fake" + minSdkVersion rootProject.ext.minSdkVersion + targetSdkVersion rootProject.ext.targetSdkVersion + versionCode 1 + versionName "1.0" + } + signingConfigs { + debug { + storeFile file('debug.keystore') + storePassword 'android' + keyAlias 'androiddebugkey' + keyPassword 'android' + } + } + buildTypes { + debug { + signingConfig signingConfigs.debug + } + release { + // Caution! In production, you need to generate your own keystore file. + // see https://reactnative.dev/docs/signed-apk-android. + signingConfig signingConfigs.debug + minifyEnabled enableProguardInReleaseBuilds + proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro" + } + } +} + +// The barcode scene lives next to the app so iOS, Android and the tests share it; copy it into a generated +// asset tree so it lands at assets/scenes/* (not at the asset root). Camera devices are authored natively. +def fakeCameraAssetsDir = layout.buildDirectory.dir("generated/fakeCameraAssets") +tasks.register("generateFakeCameraAssets", Copy) { + from("$rootDir/../scenes") { into "scenes" } + into fakeCameraAssetsDir +} +android.sourceSets.main.assets.srcDirs += fakeCameraAssetsDir +preBuild.dependsOn "generateFakeCameraAssets" + +dependencies { + // The version of react-native is set by the React Native Gradle Plugin + implementation("com.facebook.react:react-android") + + // VisionCamera pulls these as `implementation`, so they are not on this app's compile classpath; + // the vendored CameraX fakes and the interop bridge need them directly. Keep in sync with the + // library's camerax_version. + def camerax_version = "1.7.0-alpha03" + implementation "androidx.camera:camera-core:${camerax_version}" + implementation "androidx.camera:camera-camera2:${camerax_version}" + implementation "androidx.camera:camera-camera2-pipe:${camerax_version}" + implementation "androidx.camera:camera-lifecycle:${camerax_version}" + implementation "androidx.camera:camera-video:${camerax_version}" + + // Lets the fake author a real android.hardware.camera2.CameraCharacteristics via CameraMetadataNative + // (hidden framework API) so VisionCamera reads catalog resolutions/pixel-formats the same way it does on iOS. + implementation "org.lsposed.hiddenapibypass:hiddenapibypass:4.3" + + if (hermesEnabled.toBoolean()) { + implementation("com.facebook.react:hermes-android") + } else { + implementation jscFlavor + } +} diff --git a/apps/fake-simulated-camera/android/app/debug.keystore b/apps/fake-simulated-camera/android/app/debug.keystore new file mode 100644 index 0000000000..364e105ed3 Binary files /dev/null and b/apps/fake-simulated-camera/android/app/debug.keystore differ diff --git a/apps/fake-simulated-camera/android/app/proguard-rules.pro b/apps/fake-simulated-camera/android/app/proguard-rules.pro new file mode 100644 index 0000000000..11b025724a --- /dev/null +++ b/apps/fake-simulated-camera/android/app/proguard-rules.pro @@ -0,0 +1,10 @@ +# Add project specific ProGuard rules here. +# By default, the flags in this file are appended to flags specified +# in /usr/local/Cellar/android-sdk/24.3.3/tools/proguard/proguard-android.txt +# You can edit the include path and order by changing the proguardFiles +# directive in build.gradle. +# +# For more details, see +# http://developer.android.com/guide/developing/tools/proguard.html + +# Add any project specific keep options here: diff --git a/apps/fake-simulated-camera/android/app/src/main/AndroidManifest.xml b/apps/fake-simulated-camera/android/app/src/main/AndroidManifest.xml new file mode 100644 index 0000000000..15d3bcbea1 --- /dev/null +++ b/apps/fake-simulated-camera/android/app/src/main/AndroidManifest.xml @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apps/fake-simulated-camera/android/app/src/main/java/androidx/camera/testing/fakes/FakeCamera.java b/apps/fake-simulated-camera/android/app/src/main/java/androidx/camera/testing/fakes/FakeCamera.java new file mode 100644 index 0000000000..b04ed15ec9 --- /dev/null +++ b/apps/fake-simulated-camera/android/app/src/main/java/androidx/camera/testing/fakes/FakeCamera.java @@ -0,0 +1,605 @@ +/* + * Copyright (C) 2019 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Vendored from AOSP platform/frameworks/support@bb117e26ce89b888d6f928ff7b604913a1da43f2 (camera-core 1.7.0-alpha03), see THIRD_PARTY.md. + +package androidx.camera.testing.fakes; + +import android.text.TextUtils; +import android.view.Surface; + +import androidx.annotation.IntRange; +import androidx.annotation.RestrictTo; +import androidx.camera.core.CameraState; +import androidx.camera.core.Logger; +import androidx.camera.core.UseCase; +import androidx.camera.core.impl.CameraConfig; +import androidx.camera.core.impl.CameraConfigs; +import androidx.camera.core.impl.CameraControlInternal; +import androidx.camera.core.impl.CameraInfoInternal; +import androidx.camera.core.impl.CameraInternal; +import androidx.camera.core.impl.CaptureConfig; +import androidx.camera.core.impl.DeferrableSurface; +import androidx.camera.core.impl.DeferrableSurfaces; +import androidx.camera.core.impl.LiveDataObservable; +import androidx.camera.core.impl.Observable; +import androidx.camera.core.impl.SessionConfig; +import androidx.camera.core.impl.UseCaseAttachState; +import androidx.camera.core.impl.utils.executor.CameraXExecutors; +import androidx.camera.core.impl.utils.futures.FutureCallback; +import androidx.camera.core.impl.utils.futures.Futures; +import androidx.core.util.Preconditions; + +import com.google.common.util.concurrent.ListenableFuture; + +import org.jspecify.annotations.NonNull; +import org.jspecify.annotations.Nullable; + +import java.util.ArrayList; +import java.util.Collection; +import java.util.Collections; +import java.util.HashSet; +import java.util.List; +import java.util.Set; +import java.util.concurrent.ExecutionException; +import java.util.concurrent.TimeUnit; +import java.util.concurrent.TimeoutException; + +/** + * A fake camera which will not produce any data, but provides a valid Camera implementation. + */ +@SuppressWarnings("HiddenSuperclass") +public class FakeCamera implements CameraInternal { + private static final String TAG = "FakeCamera"; + private static final String DEFAULT_CAMERA_ID = "0"; + private static final long TIMEOUT_GET_SURFACE_IN_MS = 5000L; + private final LiveDataObservable mObservableState = + new LiveDataObservable<>(); + private final CameraControlInternal mCameraControlInternal; + private final CameraInfoInternal mCameraInfoInternal; + private final String mCameraId; + private final UseCaseAttachState mUseCaseAttachState; + private final Set mAttachedUseCases = new HashSet<>(); + private State mState = State.CLOSED; + private int mAvailableCameraCount = 1; + private final List mUseCaseActiveHistory = new ArrayList<>(); + private final List mUseCaseInactiveHistory = new ArrayList<>(); + private final List mUseCaseUpdateHistory = new ArrayList<>(); + private final List mUseCaseResetHistory = new ArrayList<>(); + private boolean mHasTransform = true; + private boolean mIsPrimary = true; + + private @Nullable SessionConfig mSessionConfig; + + private List mConfiguredDeferrableSurfaces = Collections.emptyList(); + private @Nullable ListenableFuture> mSessionConfigurationFuture = null; + + private CameraConfig mCameraConfig = CameraConfigs.defaultConfig(); + + private boolean mIsRemoved = false; + + public FakeCamera() { + this(DEFAULT_CAMERA_ID, /*cameraControl=*/null, + new FakeCameraInfoInternal(DEFAULT_CAMERA_ID)); + } + + public FakeCamera(@NonNull CameraControlInternal cameraControl) { + this(DEFAULT_CAMERA_ID, cameraControl, new FakeCameraInfoInternal(DEFAULT_CAMERA_ID)); + } + + public FakeCamera(@NonNull String cameraId) { + this(cameraId, /*cameraControl=*/null, new FakeCameraInfoInternal(cameraId)); + } + + @RestrictTo(RestrictTo.Scope.LIBRARY_GROUP) + public FakeCamera(@NonNull CameraInfoInternal cameraInfo) { + this(cameraInfo.getCameraId(), /*cameraControl=*/null, cameraInfo); + } + + public FakeCamera(@Nullable CameraControlInternal cameraControl, + @NonNull CameraInfoInternal cameraInfo) { + this(DEFAULT_CAMERA_ID, cameraControl, cameraInfo); + } + + public FakeCamera(@NonNull String cameraId, @Nullable CameraControlInternal cameraControl, + @NonNull CameraInfoInternal cameraInfo) { + mCameraInfoInternal = cameraInfo; + mCameraId = cameraId; + mUseCaseAttachState = new UseCaseAttachState(cameraId); + mCameraControlInternal = cameraControl == null ? new FakeCameraControl( + new CameraControlInternal.ControlUpdateCallback() { + @Override + public void onCameraControlUpdateSessionConfig() { + updateCaptureSessionConfig(); + } + + @Override + public void onCameraControlCaptureRequests( + @NonNull List captureConfigs) { + Logger.d(TAG, "Capture requests submitted:\n " + TextUtils.join("\n ", + captureConfigs)); + } + }) + : cameraControl; + setState(State.CLOSED); + } + + /** + * Sets the number of cameras that are available to open. + * + *

If this number is set to 0, then calling {@link #open()} will wait in a {@code + * PENDING_OPEN} state until the number is set to a value greater than 0 before entering an + * {@code OPEN} state. + * + * @param count An integer number greater than 0 representing the number of available cameras + * to open on this device. + */ + public void setAvailableCameraCount(@IntRange(from = 0) int count) { + Preconditions.checkArgumentNonnegative(count); + mAvailableCameraCount = count; + if (mAvailableCameraCount > 0 && mState == State.PENDING_OPEN) { + open(); + } + } + + /** + * Retrieves the number of cameras available to open on this device, as seen by this camera. + * + * @return An integer number greater than 0 representing the number of available cameras to + * open on this device. + */ + @IntRange(from = 0) + public int getAvailableCameraCount() { + return mAvailableCameraCount; + } + + @Override + public void open() { + checkNotReleased(); + if (mState == State.CLOSED || mState == State.PENDING_OPEN) { + if (mAvailableCameraCount > 0) { + setState(State.OPEN); + } else { + setState(State.PENDING_OPEN); + } + } + } + + @Override + public void close() { + checkNotReleased(); + switch (mState) { + case OPEN: + // fall through + case CONFIGURED: + mSessionConfig = null; + reconfigure(); + // fall through + case PENDING_OPEN: + setState(State.CLOSED); + break; + default: + break; + } + } + + @Override + public @NonNull ListenableFuture release() { + if (mState == State.OPEN) { + close(); + } + + if (mState != State.RELEASED) { + setState(State.RELEASED); + } + return Futures.immediateFuture(null); + } + + @Override + public @NonNull Observable getCameraState() { + return mObservableState; + } + + @Override + public void onUseCaseActive(@NonNull UseCase useCase) { + Logger.d(TAG, "Use case " + useCase + " ACTIVE for camera " + mCameraId); + mUseCaseActiveHistory.add(useCase); + mUseCaseAttachState.setUseCaseActive(useCase.getName() + useCase.hashCode(), + useCase.getSessionConfig(), useCase.getCurrentConfig(), + useCase.getAttachedStreamSpec(), + Collections.singletonList(useCase.getCurrentConfig().getCaptureType())); + updateCaptureSessionConfig(); + } + + /** Removes the use case from a state of issuing capture requests. */ + @Override + public void onUseCaseInactive(@NonNull UseCase useCase) { + Logger.d(TAG, "Use case " + useCase + " INACTIVE for camera " + mCameraId); + mUseCaseInactiveHistory.add(useCase); + mUseCaseAttachState.setUseCaseInactive(useCase.getName() + useCase.hashCode()); + updateCaptureSessionConfig(); + } + + /** Updates the capture requests based on the latest settings. */ + @Override + public void onUseCaseUpdated(@NonNull UseCase useCase) { + Logger.d(TAG, "Use case " + useCase + " UPDATED for camera " + mCameraId); + mUseCaseUpdateHistory.add(useCase); + mUseCaseAttachState.updateUseCase(useCase.getName() + useCase.hashCode(), + useCase.getSessionConfig(), useCase.getCurrentConfig(), + useCase.getAttachedStreamSpec(), + Collections.singletonList(useCase.getCurrentConfig().getCaptureType())); + updateCaptureSessionConfig(); + } + + @Override + public void onUseCaseReset(@NonNull UseCase useCase) { + Logger.d(TAG, "Use case " + useCase + " RESET for camera " + mCameraId); + mUseCaseResetHistory.add(useCase); + mUseCaseAttachState.updateUseCase(useCase.getName() + useCase.hashCode(), + useCase.getSessionConfig(), useCase.getCurrentConfig(), + useCase.getAttachedStreamSpec(), + Collections.singletonList(useCase.getCurrentConfig().getCaptureType())); + updateCaptureSessionConfig(); + openCaptureSession(); + } + + /** + * Sets the use cases to be in the state where the capture session will be configured to handle + * capture requests from the use case. + */ + @Override + public void attachUseCases(final @NonNull Collection useCases) { + if (useCases.isEmpty()) { + return; + } + + mAttachedUseCases.addAll(useCases); + + Logger.d(TAG, "Use cases " + useCases + " ATTACHED for camera " + mCameraId); + for (UseCase useCase : useCases) { + useCase.onSessionStart(); + useCase.onCameraControlReady(); + mUseCaseAttachState.setUseCaseAttached( + useCase.getName() + useCase.hashCode(), + useCase.getSessionConfig(), + useCase.getCurrentConfig(), + useCase.getAttachedStreamSpec(), + Collections.singletonList(useCase.getCurrentConfig().getCaptureType())); + } + + open(); + updateCaptureSessionConfig(); + openCaptureSession(); + } + + /** + * Removes the use cases to be in the state where the capture session will be configured to + * handle capture requests from the use case. + */ + @Override + public void detachUseCases(final @NonNull Collection useCases) { + if (useCases.isEmpty()) { + return; + } + + mAttachedUseCases.removeAll(useCases); + + Logger.d(TAG, "Use cases " + useCases + " DETACHED for camera " + mCameraId); + for (UseCase useCase : useCases) { + mUseCaseAttachState.setUseCaseDetached(useCase.getName() + useCase.hashCode()); + useCase.onSessionStop(); + } + + if (mUseCaseAttachState.getAttachedSessionConfigs().isEmpty()) { + close(); + return; + } + + openCaptureSession(); + updateCaptureSessionConfig(); + } + + /** + * Gets the attached use cases. + * + * @see #attachUseCases + * @see #detachUseCases + */ + public @NonNull Set getAttachedUseCases() { + return mAttachedUseCases; + } + + // Returns fixed CameraControlInternal instance in order to verify the instance is correctly + // attached. + @Override + public @NonNull CameraControlInternal getCameraControlInternal() { + return mCameraControlInternal; + } + + @Override + public @NonNull CameraInfoInternal getCameraInfoInternal() { + return mCameraInfoInternal; + } + + /** + * Returns a list of active use cases ordered chronologically according to + * {@link #onUseCaseActive} invocations. + */ + public @NonNull List getUseCaseActiveHistory() { + return mUseCaseActiveHistory; + } + + /** + * Returns a list of inactive use cases ordered chronologically according to + * {@link #onUseCaseInactive} invocations. + */ + public @NonNull List getUseCaseInactiveHistory() { + return mUseCaseInactiveHistory; + } + + + /** + * Returns a list of updated use cases ordered chronologically according to + * {@link #onUseCaseUpdated} invocations. + */ + public @NonNull List getUseCaseUpdateHistory() { + return mUseCaseUpdateHistory; + } + + + /** + * Returns a list of reset use cases ordered chronologically according to + * {@link #onUseCaseReset} invocations. + */ + public @NonNull List getUseCaseResetHistory() { + return mUseCaseResetHistory; + } + + @Override + public boolean getHasTransform() { + return mHasTransform; + } + + /** + * Sets whether the camera has a transform. + */ + public void setHasTransform(boolean hasCameraTransform) { + mHasTransform = hasCameraTransform; + } + + @RestrictTo(RestrictTo.Scope.LIBRARY_GROUP) + @Override + public void setPrimary(boolean isPrimary) { + mIsPrimary = isPrimary; + } + + @RestrictTo(RestrictTo.Scope.LIBRARY_GROUP) + public boolean isPrimary() { + return mIsPrimary; + } + + private void checkNotReleased() { + if (isReleased()) { + throw new IllegalStateException("Camera has been released."); + } + } + + private void openCaptureSession() { + SessionConfig.ValidatingBuilder validatingBuilder; + validatingBuilder = mUseCaseAttachState.getAttachedBuilder(); + if (!validatingBuilder.isValid()) { + Logger.d(TAG, "Unable to create capture session due to conflicting configurations"); + return; + } + + if (mState != State.OPEN) { + Logger.d(TAG, "CameraDevice is not opened"); + return; + } + + mSessionConfig = validatingBuilder.build(); + reconfigure(); + } + + @SuppressWarnings("WeakerAccess") /* synthetic accessor */ + private void updateCaptureSessionConfig() { + SessionConfig.ValidatingBuilder validatingBuilder; + validatingBuilder = mUseCaseAttachState.getActiveAndAttachedBuilder(); + + if (validatingBuilder.isValid()) { + // Apply CameraControlInternal's SessionConfig to let CameraControlInternal be able + // to control Repeating Request and process results. + validatingBuilder.add(mCameraControlInternal.getSessionConfig()); + + mSessionConfig = validatingBuilder.build(); + } + } + + private void reconfigure() { + notifySurfaceDetached(); + + if (mSessionConfig != null) { + List surfaces = mSessionConfig.getSurfaces(); + + mConfiguredDeferrableSurfaces = new ArrayList<>(surfaces); + + // Since this is a fake camera, it is likely we will get null surfaces. Don't + // consider them as failed. + mSessionConfigurationFuture = + DeferrableSurfaces.surfaceListWithTimeout(mConfiguredDeferrableSurfaces, false, + TIMEOUT_GET_SURFACE_IN_MS, CameraXExecutors.directExecutor(), + CameraXExecutors.myLooperExecutor()); + + Futures.addCallback(mSessionConfigurationFuture, new FutureCallback>() { + @Override + public void onSuccess(@Nullable List result) { + if (result == null || result.isEmpty()) { + Logger.e(TAG, "Unable to open capture session with no surfaces. "); + + if (mState == State.OPEN) { + setState(mState, + CameraState.StateError.create(CameraState.ERROR_STREAM_CONFIG)); + } + return; + } + setState(State.CONFIGURED); + } + + @Override + public void onFailure(@NonNull Throwable t) { + if (mState == State.OPEN) { + setState(mState, + CameraState.StateError.create(CameraState.ERROR_STREAM_CONFIG, t)); + } + } + }, CameraXExecutors.directExecutor()); + } + + notifySurfaceAttached(); + } + + // Notify the surface is attached to a new capture session. + private void notifySurfaceAttached() { + for (DeferrableSurface deferrableSurface : mConfiguredDeferrableSurfaces) { + try { + deferrableSurface.incrementUseCount(); + } catch (DeferrableSurface.SurfaceClosedException e) { + throw new RuntimeException("Surface in unexpected state", e); + } + } + } + + // Notify the surface is detached from current capture session. + private void notifySurfaceDetached() { + for (DeferrableSurface deferredSurface : mConfiguredDeferrableSurfaces) { + deferredSurface.decrementUseCount(); + } + // Clears the mConfiguredDeferrableSurfaces to prevent from duplicate + // notifySurfaceDetached calls. + mConfiguredDeferrableSurfaces.clear(); + } + + @SuppressWarnings("GetterSetterNullability") + @Override + public @NonNull CameraConfig getExtendedConfig() { + return mCameraConfig; + } + + @Override + public void setExtendedConfig(@Nullable CameraConfig cameraConfig) { + mCameraConfig = cameraConfig; + } + + /** Returns whether camera is already released. */ + @RestrictTo(RestrictTo.Scope.LIBRARY_GROUP) + public boolean isReleased() { + return mState == State.RELEASED; + } + + /** + * Sets the internal state of the camera without an error. + * + *

This is a convenience method for testing that calls + * {@link #setState(State, CameraState.StateError)} with a null error. + * + * @param state The new internal state for the camera. + */ + @RestrictTo(RestrictTo.Scope.LIBRARY_GROUP) + public void setState(CameraInternal.@NonNull State state) { + setState(state, null); + } + + /** + * Sets the internal state of the camera, optionally with an error. + * + *

This method is used in tests to simulate various camera lifecycle states and error + * conditions. It updates both the internal state observable and the public-facing + * {@link CameraState}. + * + * @param state The new internal state for the camera. + * @param stateError The associated error, or {@code null} if there is no error. + */ + @RestrictTo(RestrictTo.Scope.LIBRARY_GROUP) + public void setState(CameraInternal.@NonNull State state, + CameraState.@Nullable StateError stateError) { + mState = state; + mObservableState.postValue(state); + if (mCameraInfoInternal instanceof FakeCameraInfoInternal) { + ((FakeCameraInfoInternal) mCameraInfoInternal).updateCameraState( + CameraState.create(getCameraStateType(state), stateError)); + } + } + + private CameraState.Type getCameraStateType(CameraInternal.State state) { + switch (state) { + case PENDING_OPEN: + return CameraState.Type.PENDING_OPEN; + case OPENING: + return CameraState.Type.OPENING; + case OPEN: + case CONFIGURED: + return CameraState.Type.OPEN; + case CLOSING: + case RELEASING: + return CameraState.Type.CLOSING; + case CLOSED: + case RELEASED: + return CameraState.Type.CLOSED; + default: + throw new IllegalStateException( + "Unknown internal camera state: " + state); + } + } + + /** + * Waits for session configuration to be completed. + * + * @param timeoutMillis The waiting timeout in milliseconds. + */ + @RestrictTo(RestrictTo.Scope.LIBRARY_GROUP) + public void awaitSessionConfiguration(long timeoutMillis) { + if (mSessionConfigurationFuture == null) { + Logger.e(TAG, "mSessionConfigurationFuture is null!"); + return; + } + + try { + mSessionConfigurationFuture.get(timeoutMillis, TimeUnit.MILLISECONDS); + } catch (ExecutionException | InterruptedException | TimeoutException e) { + Logger.e(TAG, "Session configuration did not complete within " + timeoutMillis + " ms", + e); + } + } + + /** + * Simulates a capture frame being drawn on the session config surfaces to imitate a real + * camera. + */ + @RestrictTo(RestrictTo.Scope.LIBRARY_GROUP) + @Override + public void onRemoved() { + mIsRemoved = true; + } + + /** + * Returns true if {@link #onRemoved()} has been called on this instance. + */ + @RestrictTo(RestrictTo.Scope.LIBRARY_GROUP) + @Override + public boolean isRemoved() { + return mIsRemoved; + } +} diff --git a/apps/fake-simulated-camera/android/app/src/main/java/androidx/camera/testing/fakes/FakeCameraControl.kt b/apps/fake-simulated-camera/android/app/src/main/java/androidx/camera/testing/fakes/FakeCameraControl.kt new file mode 100644 index 0000000000..0f09d8d8ea --- /dev/null +++ b/apps/fake-simulated-camera/android/app/src/main/java/androidx/camera/testing/fakes/FakeCameraControl.kt @@ -0,0 +1,96 @@ +package androidx.camera.testing.fakes + +import androidx.camera.core.FocusMeteringAction +import androidx.camera.core.FocusMeteringResult +import androidx.camera.core.ImageCapture +import androidx.camera.core.impl.CameraControlInternal +import androidx.camera.core.impl.CaptureConfig +import androidx.camera.core.impl.Config +import androidx.camera.core.impl.MutableOptionsBundle +import androidx.camera.core.impl.SessionConfig +import androidx.camera.core.impl.utils.futures.Futures +import com.google.common.util.concurrent.ListenableFuture + +// Replaces upstream FakeCameraControl (which drags in image-capture simulation): every control call +// succeeds immediately and is remembered, nothing is captured. +class FakeCameraControl( + private val updateCallback: CameraControlInternal.ControlUpdateCallback, +) : CameraControlInternal { + private var flashMode = ImageCapture.FLASH_MODE_OFF + private var zslDisabled = false + private var interopConfig: Config = MutableOptionsBundle.create() + var torchEnabled = false + private set + var zoomRatio = 1f + private set + var linearZoom = 0f + private set + var exposureCompensationIndex = 0 + private set + var lastFocusMeteringAction: FocusMeteringAction? = null + private set + + override fun getFlashMode(): Int = flashMode + + override fun setFlashMode(flashMode: Int) { + this.flashMode = flashMode + } + + override fun addZslConfig(sessionConfigBuilder: SessionConfig.Builder) {} + + override fun clearZslConfig() {} + + override fun setZslDisabledByUserCaseConfig(disabled: Boolean) { + zslDisabled = disabled + } + + override fun isZslDisabledByByUserCaseConfig(): Boolean = zslDisabled + + override fun submitStillCaptureRequests( + captureConfigs: List, + captureMode: Int, + flashType: Int, + ): ListenableFuture> = Futures.immediateFuture(emptyList()) + + override fun getSessionConfig(): SessionConfig = SessionConfig.defaultEmptySessionConfig() + + override fun addInteropConfig(config: Config) { + interopConfig = config + } + + override fun clearInteropConfig() { + interopConfig = MutableOptionsBundle.create() + } + + override fun getInteropConfig(): Config = interopConfig + + override fun enableTorch(torch: Boolean): ListenableFuture { + torchEnabled = torch + return Futures.immediateFuture(null) + } + + override fun startFocusAndMetering(action: FocusMeteringAction): ListenableFuture { + lastFocusMeteringAction = action + return Futures.immediateFuture(FocusMeteringResult.create(true)) + } + + override fun cancelFocusAndMetering(): ListenableFuture { + lastFocusMeteringAction = null + return Futures.immediateFuture(null) + } + + override fun setZoomRatio(ratio: Float): ListenableFuture { + zoomRatio = ratio + return Futures.immediateFuture(null) + } + + override fun setLinearZoom(linearZoom: Float): ListenableFuture { + this.linearZoom = linearZoom + return Futures.immediateFuture(null) + } + + override fun setExposureCompensationIndex(value: Int): ListenableFuture { + exposureCompensationIndex = value + return Futures.immediateFuture(value) + } +} diff --git a/apps/fake-simulated-camera/android/app/src/main/java/androidx/camera/testing/fakes/FakeCameraInfoInternal.java b/apps/fake-simulated-camera/android/app/src/main/java/androidx/camera/testing/fakes/FakeCameraInfoInternal.java new file mode 100644 index 0000000000..73eea0e40b --- /dev/null +++ b/apps/fake-simulated-camera/android/app/src/main/java/androidx/camera/testing/fakes/FakeCameraInfoInternal.java @@ -0,0 +1,520 @@ +/* + * Copyright 2019 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Vendored from AOSP platform/frameworks/support@bb117e26ce89b888d6f928ff7b604913a1da43f2 (camera-core 1.7.0-alpha03), see THIRD_PARTY.md. Modified: no androidx.test/CameraManager dependency, catalog setters, UnsafeWrapper bridge. + +package androidx.camera.testing.fakes; + +import static androidx.camera.core.DynamicRange.SDR; + +import android.graphics.Rect; +import android.util.Range; +import android.util.Rational; +import android.util.Size; +import android.view.Surface; + +import androidx.annotation.FloatRange; +import androidx.camera.common.UnsafeWrapper; +import androidx.camera.core.CameraSelector; +import androidx.camera.core.CameraState; +import androidx.camera.core.CameraUseCaseAdapterProvider; +import androidx.camera.core.DynamicRange; +import androidx.camera.core.ExposureState; +import androidx.camera.core.FocusMeteringAction; +import androidx.camera.core.Logger; +import androidx.camera.core.TorchState; +import androidx.camera.core.UseCase; +import androidx.camera.core.ZoomState; +import androidx.camera.core.impl.CameraCaptureCallback; +import androidx.camera.core.impl.CameraConfig; +import androidx.camera.core.impl.CameraExtensionCapabilities; +import androidx.camera.core.impl.CameraInfoInternal; +import androidx.camera.core.impl.DynamicRanges; +import androidx.camera.core.impl.EncoderProfilesProvider; +import androidx.camera.core.impl.ImageOutputConfig.RotationValue; +import androidx.camera.core.impl.Quirk; +import androidx.camera.core.impl.Quirks; +import androidx.camera.core.impl.Timebase; +import androidx.camera.core.impl.utils.CameraOrientationUtil; +import androidx.camera.core.internal.ImmutableZoomState; +import androidx.camera.core.internal.StreamSpecsCalculator; +import androidx.core.util.Preconditions; +import androidx.lifecycle.LiveData; +import androidx.lifecycle.MutableLiveData; + +import org.jspecify.annotations.NonNull; +import org.jspecify.annotations.Nullable; + +import java.util.ArrayList; +import java.util.Collections; +import java.util.HashMap; +import java.util.LinkedHashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; +import java.util.concurrent.Executor; + +/** + * Information for a fake camera. Everything the catalog describes is pushed in through setters; + * {@link #unwrapAs(Class)} exposes the Camera2 interop objects VisionCamera asks for. + */ +@SuppressWarnings("HiddenSuperclass") +public final class FakeCameraInfoInternal implements CameraInfoInternal, UnsafeWrapper { + private static final String TAG = "FakeCameraInfoInternal"; + private static final Set DEFAULT_DYNAMIC_RANGES = Collections.singleton(SDR); + + /** Resolves the Camera2 interop objects (Camera2CameraInfo, CameraCharacteristics) for this camera. */ + public interface Unwrapper { + @Nullable T unwrapAs(@NonNull Class type); + } + + private final String mCameraId; + private final int mSensorRotation; + @CameraSelector.LensFacing + private final int mLensFacing; + private final MutableLiveData mTorchState = new MutableLiveData<>(TorchState.OFF); + private final MutableLiveData mZoomLiveData; + private final Map> mSupportedResolutionMap = new HashMap<>(); + private final Map, List> mSupportedHighSpeedFpsToSizeMap = new HashMap<>(); + private final Map> mSupportedHighResolutionMap = new HashMap<>(); + private MutableLiveData mCameraStateMutableLiveData; + private final Set mSupportedDynamicRanges = new LinkedHashSet<>(DEFAULT_DYNAMIC_RANGES); + private final Set mAvailableCapabilities = new LinkedHashSet<>(); + private final Set mSupportedExtensions = new LinkedHashSet<>(); + private final Map mExtensionCapabilitiesMap = new HashMap<>(); + private final Set> mSupportedFrameRateRanges = new LinkedHashSet<>(); + private String mImplementationType = IMPLEMENTATION_TYPE_FAKE; + private EncoderProfilesProvider mEncoderProfilesProvider; + private boolean mIsPrivateReprocessingSupported = false; + private float mIntrinsicZoomRatio = 1.0F; + private boolean mIsFocusMeteringSupported = false; + private boolean mIsHighSpeedSupported = false; + private boolean mIsPreviewStabilizationSupported = false; + private boolean mIsVideoStabilizationSupported = false; + private boolean mHasFlashUnit = true; + private Rect mSensorRect = new Rect(0, 0, 4032, 3024); + private ExposureState mExposureState = new FakeExposureState(); + private final @NonNull List mCameraQuirks = new ArrayList<>(); + private Timebase mTimebase = Timebase.UPTIME; + private final @NonNull StreamSpecsCalculator mStreamSpecsCalculator; + private @Nullable CameraUseCaseAdapterProvider mCameraUseCaseAdapterProvider; + private @Nullable Object mCameraCharacteristics; + private @Nullable Unwrapper mUnwrapper; + + public FakeCameraInfoInternal(@NonNull String cameraId) { + this(cameraId, 0, CameraSelector.LENS_FACING_BACK, + androidx.camera.core.internal.StreamSpecsCalculator.NO_OP_STREAM_SPECS_CALCULATOR); + } + + public FakeCameraInfoInternal(@NonNull String cameraId, int sensorRotation, + @CameraSelector.LensFacing int lensFacing, + @NonNull StreamSpecsCalculator streamSpecsCalculator) { + mCameraId = cameraId; + mSensorRotation = sensorRotation; + mLensFacing = lensFacing; + mZoomLiveData = new MutableLiveData<>(ImmutableZoomState.create(1.0f, 4.0f, 1.0f, 0.0f)); + mStreamSpecsCalculator = streamSpecsCalculator; + mSupportedFrameRateRanges.add(new Range<>(30, 30)); + } + + public void setZoom(float zoomRatio, float minZoomRatio, float maxZoomRatio, float linearZoom) { + mZoomLiveData.postValue(ImmutableZoomState.create(zoomRatio, maxZoomRatio, minZoomRatio, linearZoom)); + } + + public void setExposureState(int index, @NonNull Range range, + @NonNull Rational step, boolean isSupported) { + mExposureState = new FakeExposureState(index, range, step, isSupported); + } + + public void setTorch(int torchState) { + mTorchState.postValue(torchState); + } + + public void setIsFocusMeteringSupported(boolean supported) { + mIsFocusMeteringSupported = supported; + } + + public void setIsPreviewStabilizationSupported(boolean supported) { + mIsPreviewStabilizationSupported = supported; + } + + public void setVideoStabilizationSupported(boolean supported) { + mIsVideoStabilizationSupported = supported; + } + + public void setHasFlashUnit(boolean hasFlashUnit) { + mHasFlashUnit = hasFlashUnit; + } + + public void setSensorRect(@NonNull Rect sensorRect) { + mSensorRect = sensorRect; + } + + public void setSupportedFrameRateRanges(@NonNull Set> ranges) { + mSupportedFrameRateRanges.clear(); + mSupportedFrameRateRanges.addAll(ranges); + } + + public void setCameraCharacteristics(@Nullable Object cameraCharacteristics) { + mCameraCharacteristics = cameraCharacteristics; + } + + public void setUnwrapper(@Nullable Unwrapper unwrapper) { + mUnwrapper = unwrapper; + } + + @Override + public @Nullable T unwrapAs(@NonNull Class type) { + return mUnwrapper == null ? null : mUnwrapper.unwrapAs(type); + } + + @Override + public int getLensFacing() { + return mLensFacing; + } + + @Override + public @NonNull String getCameraId() { + return mCameraId; + } + + @Override + public int getSensorRotationDegrees(@RotationValue int relativeRotation) { + int relativeRotationDegrees = CameraOrientationUtil.surfaceRotationToDegrees(relativeRotation); + boolean isOppositeFacingScreen = CameraSelector.LENS_FACING_BACK == getLensFacing(); + return CameraOrientationUtil.getRelativeImageRotation(relativeRotationDegrees, mSensorRotation, isOppositeFacingScreen); + } + + @Override + public int getSensorRotationDegrees() { + return getSensorRotationDegrees(Surface.ROTATION_0); + } + + @Override + public boolean hasFlashUnit() { + return mHasFlashUnit; + } + + @Override + public @NonNull LiveData getTorchState() { + return mTorchState; + } + + @Override + public @NonNull LiveData getZoomState() { + return mZoomLiveData; + } + + @Override + public @NonNull ExposureState getExposureState() { + return mExposureState; + } + + private MutableLiveData getCameraStateMutableLiveData() { + if (mCameraStateMutableLiveData == null) { + mCameraStateMutableLiveData = new MutableLiveData<>(CameraState.create(CameraState.Type.CLOSED)); + } + return mCameraStateMutableLiveData; + } + + @Override + public @NonNull LiveData getCameraState() { + return getCameraStateMutableLiveData(); + } + + @Override + public @NonNull String getImplementationType() { + return mImplementationType; + } + + @Override + public @NonNull EncoderProfilesProvider getEncoderProfilesProvider() { + return mEncoderProfilesProvider == null ? EncoderProfilesProvider.EMPTY : mEncoderProfilesProvider; + } + + @Override + public @NonNull Timebase getTimebase() { + return mTimebase; + } + + @Override + public @NonNull Set getSupportedOutputFormats() { + return mSupportedResolutionMap.keySet(); + } + + @Override + public @NonNull List getSupportedResolutions(int format) { + List resolutions = mSupportedResolutionMap.get(format); + return resolutions != null ? resolutions : Collections.emptyList(); + } + + @Override + public @NonNull List getSupportedHighResolutions(int format) { + List resolutions = mSupportedHighResolutionMap.get(format); + return resolutions != null ? resolutions : Collections.emptyList(); + } + + @Override + public @NonNull Set getSupportedDynamicRanges() { + return mSupportedDynamicRanges; + } + + @Override + public boolean isHighSpeedSupported() { + return mIsHighSpeedSupported; + } + + @Override + public @NonNull Set> getSupportedHighSpeedFrameRateRanges() { + return mSupportedHighSpeedFpsToSizeMap.keySet(); + } + + @Override + public @NonNull Set> getSupportedHighSpeedFrameRateRangesFor(@NonNull Size size) { + Set> ranges = new LinkedHashSet<>(); + for (Map.Entry, List> entry : mSupportedHighSpeedFpsToSizeMap.entrySet()) { + if (entry.getValue().contains(size)) { + ranges.add(entry.getKey()); + } + } + return ranges; + } + + @Override + public @NonNull List getSupportedHighSpeedResolutions() { + Set resolutions = new LinkedHashSet<>(); + for (List sizes : mSupportedHighSpeedFpsToSizeMap.values()) { + resolutions.addAll(sizes); + } + return new ArrayList<>(resolutions); + } + + @Override + public @NonNull List getSupportedHighSpeedResolutionsFor(@NonNull Range fpsRange) { + List resolutions = mSupportedHighSpeedFpsToSizeMap.get(fpsRange); + return resolutions != null ? resolutions : Collections.emptyList(); + } + + @Override + public @NonNull Rect getSensorRect() { + return mSensorRect; + } + + @Override + public @NonNull Set querySupportedDynamicRanges(@NonNull Set candidateDynamicRanges) { + return DynamicRanges.findAllPossibleMatches(candidateDynamicRanges, getSupportedDynamicRanges()); + } + + @Override + public void addSessionCaptureCallback(@NonNull Executor executor, @NonNull CameraCaptureCallback callback) { + } + + @Override + public void removeSessionCaptureCallback(@NonNull CameraCaptureCallback callback) { + } + + @Override + public @NonNull Quirks getCameraQuirks() { + return new Quirks(mCameraQuirks); + } + + @Override + public @NonNull Set> getSupportedFrameRateRanges() { + return Collections.unmodifiableSet(mSupportedFrameRateRanges); + } + + @Override + public boolean isFocusMeteringSupported(@NonNull FocusMeteringAction action) { + return mIsFocusMeteringSupported; + } + + @androidx.camera.core.ExperimentalZeroShutterLag + @Override + public boolean isZslSupported() { + return false; + } + + @Override + public boolean isPrivateReprocessingSupported() { + return mIsPrivateReprocessingSupported; + } + + @FloatRange(from = 0, fromInclusive = false) + @Override + public float getIntrinsicZoomRatio() { + return mIntrinsicZoomRatio; + } + + @Override + public boolean isPreviewStabilizationSupported() { + return mIsPreviewStabilizationSupported; + } + + @Override + public boolean isVideoStabilizationSupported() { + return mIsVideoStabilizationSupported; + } + + public void addCameraQuirk(final @NonNull Quirk quirk) { + mCameraQuirks.add(quirk); + } + + public void updateCameraState(@NonNull CameraState cameraState) { + getCameraStateMutableLiveData().postValue(cameraState); + } + + public void setImplementationType(@ImplementationType @NonNull String implementationType) { + mImplementationType = implementationType; + } + + public void setEncoderProfilesProvider(@NonNull EncoderProfilesProvider encoderProfilesProvider) { + mEncoderProfilesProvider = Preconditions.checkNotNull(encoderProfilesProvider); + } + + public void setTimebase(@NonNull Timebase timebase) { + mTimebase = timebase; + } + + public void setSupportedResolutions(int format, @NonNull List resolutions) { + mSupportedResolutionMap.put(format, resolutions); + } + + public void setSupportedHighResolutions(int format, @NonNull List resolutions) { + mSupportedHighResolutionMap.put(format, resolutions); + } + + public void setHighSpeedSupported(boolean supported) { + mIsHighSpeedSupported = supported; + } + + public void setSupportedHighSpeedResolutions(@NonNull Range fps, @NonNull List resolutions) { + mSupportedHighSpeedFpsToSizeMap.put(fps, resolutions); + } + + public void setPrivateReprocessingSupported(boolean supported) { + mIsPrivateReprocessingSupported = supported; + } + + public void setIntrinsicZoomRatio(float zoomRatio) { + mIntrinsicZoomRatio = zoomRatio; + } + + public void setSupportedDynamicRanges(@NonNull Set dynamicRanges) { + mSupportedDynamicRanges.clear(); + mSupportedDynamicRanges.addAll(dynamicRanges); + } + + @Override + public @NonNull Object getCameraCharacteristics() { + if (mCameraCharacteristics == null) { + throw new IllegalStateException("FakeCameraInfoInternal " + mCameraId + " has no CameraCharacteristics"); + } + return mCameraCharacteristics; + } + + @Override + public @Nullable Object getPhysicalCameraCharacteristics(@NonNull String physicalCameraId) { + return null; + } + + @Override + public boolean isUseCaseCombinationSupported(@NonNull List<@NonNull UseCase> useCases, + int cameraMode, boolean isFeatureComboInvocation, @NonNull CameraConfig cameraConfig) { + try { + StreamSpecsCalculator.Companion.calculateSuggestedStreamSpecsCompat( + mStreamSpecsCalculator, cameraMode, this, useCases, cameraConfig, isFeatureComboInvocation); + } catch (IllegalArgumentException e) { + Logger.d(TAG, "isUseCaseCombinationSupported: calculateSuggestedStreamSpecs failed", e); + return false; + } + return true; + } + + @Override + public void setCameraUseCaseAdapterProvider(@NonNull CameraUseCaseAdapterProvider cameraUseCaseAdapterProvider) { + CameraInfoInternal.super.setCameraUseCaseAdapterProvider(cameraUseCaseAdapterProvider); + mCameraUseCaseAdapterProvider = cameraUseCaseAdapterProvider; + } + + public @Nullable CameraUseCaseAdapterProvider getCameraUseCaseAdapterProvider() { + return mCameraUseCaseAdapterProvider; + } + + @Override + public @NonNull Set<@NonNull Integer> getAvailableCapabilities() { + return new LinkedHashSet<>(mAvailableCapabilities); + } + + public void setAvailableCapabilities(@NonNull Set<@NonNull Integer> availableCapabilities) { + mAvailableCapabilities.clear(); + mAvailableCapabilities.addAll(availableCapabilities); + } + + public void setSupportedExtensions(@NonNull Set supportedExtensions) { + mSupportedExtensions.clear(); + mSupportedExtensions.addAll(supportedExtensions); + } + + public void setCameraExtensionCapabilities(int extensionMode, @Nullable CameraExtensionCapabilities capabilities) { + mExtensionCapabilitiesMap.put(extensionMode, capabilities); + } + + @Override + public @NonNull Set getSupportedExtensions() { + return new LinkedHashSet<>(mSupportedExtensions); + } + + @Override + public @Nullable CameraExtensionCapabilities getCameraExtensionCapabilities(int extensionMode) { + return mExtensionCapabilitiesMap.get(extensionMode); + } + + static final class FakeExposureState implements ExposureState { + private int mIndex = 0; + private Range mRange = new Range<>(0, 0); + private Rational mStep = Rational.ZERO; + private boolean mIsSupported = true; + + FakeExposureState() { + } + + FakeExposureState(int index, Range range, Rational step, boolean isSupported) { + mIndex = index; + mRange = range; + mStep = step; + mIsSupported = isSupported; + } + + @Override + public int getExposureCompensationIndex() { + return mIndex; + } + + @Override + public @NonNull Range getExposureCompensationRange() { + return mRange; + } + + @Override + public @NonNull Rational getExposureCompensationStep() { + return mStep; + } + + @Override + public boolean isExposureCompensationSupported() { + return mIsSupported; + } + } +} diff --git a/apps/fake-simulated-camera/android/app/src/main/java/androidx/camera/testing/impl/fakes/FakeCameraCoordinator.java b/apps/fake-simulated-camera/android/app/src/main/java/androidx/camera/testing/impl/fakes/FakeCameraCoordinator.java new file mode 100644 index 0000000000..52b29ec992 --- /dev/null +++ b/apps/fake-simulated-camera/android/app/src/main/java/androidx/camera/testing/impl/fakes/FakeCameraCoordinator.java @@ -0,0 +1,154 @@ +/* + * Copyright 2023 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Vendored from AOSP platform/frameworks/support@bb117e26ce89b888d6f928ff7b604913a1da43f2 (camera-core 1.7.0-alpha03), see THIRD_PARTY.md. + +package androidx.camera.testing.impl.fakes; + +import androidx.annotation.RestrictTo; +import androidx.camera.core.CameraInfo; +import androidx.camera.core.CameraSelector; +import androidx.camera.core.concurrent.CameraCoordinator; +import androidx.camera.core.impl.CameraUpdateException; + +import org.jspecify.annotations.NonNull; +import org.jspecify.annotations.Nullable; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +/** + * A {@link CameraCoordinator} implementation that contains concurrent camera mode and camera id + * information. + * + */ +@RestrictTo(RestrictTo.Scope.LIBRARY_GROUP) +public class FakeCameraCoordinator implements CameraCoordinator { + + private @NonNull Map mConcurrentCameraIdMap; + private @NonNull List> mConcurrentCameraIds; + private @NonNull List> mConcurrentCameraSelectors; + private @NonNull List mActiveConcurrentCameraInfos; + private final @NonNull List mConcurrentCameraModeListeners; + private boolean mShouldThrow = false; + private int mCameraUpdateCount = 0; + + @CameraOperatingMode private int mCameraOperatingMode; + + public FakeCameraCoordinator() { + mConcurrentCameraIdMap = new HashMap<>(); + mConcurrentCameraIds = new ArrayList<>(); + mConcurrentCameraSelectors = new ArrayList<>(); + mActiveConcurrentCameraInfos = new ArrayList<>(); + mConcurrentCameraModeListeners = new ArrayList<>(); + } + + /** + * Adds concurrent camera id and camera selectors. + * + * @param cameraIdAndSelectors combinations of camera id and selector. + */ + public void addConcurrentCameraIdsAndCameraSelectors( + @NonNull Map cameraIdAndSelectors) { + mConcurrentCameraIds.add(new ArrayList<>(cameraIdAndSelectors.keySet())); + mConcurrentCameraSelectors.add(new ArrayList<>(cameraIdAndSelectors.values())); + + for (List concurrentCameraIdList: mConcurrentCameraIds) { + List cameraIdList = new ArrayList<>(concurrentCameraIdList); + mConcurrentCameraIdMap.put(cameraIdList.get(0), cameraIdList.get(1)); + mConcurrentCameraIdMap.put(cameraIdList.get(1), cameraIdList.get(0)); + } + } + + @Override + public @NonNull List> getConcurrentCameraSelectors() { + return mConcurrentCameraSelectors; + } + + @Override + public @NonNull List getActiveConcurrentCameraInfos() { + return mActiveConcurrentCameraInfos; + } + + @Override + public void setActiveConcurrentCameraInfos(@NonNull List cameraInfos) { + mActiveConcurrentCameraInfos = cameraInfos; + } + + @Override + public @Nullable String getPairedConcurrentCameraId(@NonNull String cameraId) { + if (mConcurrentCameraIdMap.containsKey(cameraId)) { + return mConcurrentCameraIdMap.get(cameraId); + } + return null; + } + + @CameraOperatingMode + @Override + public int getCameraOperatingMode() { + return mCameraOperatingMode; + } + + @Override + public void setCameraOperatingMode(@CameraOperatingMode int cameraOperatingMode) { + if (cameraOperatingMode != mCameraOperatingMode) { + for (ConcurrentCameraModeListener listener : mConcurrentCameraModeListeners) { + listener.onCameraOperatingModeUpdated( + mCameraOperatingMode, + cameraOperatingMode); + } + } + + mCameraOperatingMode = cameraOperatingMode; + } + + @Override + public void addListener(@NonNull ConcurrentCameraModeListener listener) { + mConcurrentCameraModeListeners.add(listener); + } + + @Override + public void removeListener(@NonNull ConcurrentCameraModeListener listener) { + mConcurrentCameraModeListeners.remove(listener); + } + + @Override + public void shutdown() { + mConcurrentCameraIdMap.clear(); + mConcurrentCameraIds.clear(); + mConcurrentCameraSelectors.clear(); + mActiveConcurrentCameraInfos.clear(); + mConcurrentCameraModeListeners.clear(); + } + + public int getCameraUpdateCount() { + return mCameraUpdateCount; + } + + @Override + public void onCamerasUpdated(@NonNull List cameraIds) throws + CameraUpdateException { + mCameraUpdateCount++; + if (mShouldThrow) { + throw new CameraUpdateException("Test failure"); + } + } + + public void setCamerasUpdateShouldThrow(boolean shouldThrow) { + mShouldThrow = shouldThrow; + } +} diff --git a/apps/fake-simulated-camera/android/app/src/main/java/androidx/camera/testing/impl/fakes/FakeCameraDeviceSurfaceManager.java b/apps/fake-simulated-camera/android/app/src/main/java/androidx/camera/testing/impl/fakes/FakeCameraDeviceSurfaceManager.java new file mode 100644 index 0000000000..16ab1c02c4 --- /dev/null +++ b/apps/fake-simulated-camera/android/app/src/main/java/androidx/camera/testing/impl/fakes/FakeCameraDeviceSurfaceManager.java @@ -0,0 +1,281 @@ +/* + * Copyright 2023 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Vendored from AOSP platform/frameworks/support@bb117e26ce89b888d6f928ff7b604913a1da43f2 (camera-core 1.7.0-alpha03), see THIRD_PARTY.md. + +package androidx.camera.testing.impl.fakes; + +import static android.graphics.ImageFormat.JPEG; +import static android.graphics.ImageFormat.YUV_420_888; + +import static androidx.camera.core.impl.ImageFormatConstants.INTERNAL_DEFINED_IMAGE_FORMAT_PRIVATE; + + +import android.util.Size; + +import androidx.camera.core.Logger; +import androidx.camera.core.impl.AttachedSurfaceInfo; +import androidx.camera.core.impl.CameraDeviceSurfaceManager; +import androidx.camera.core.impl.CameraMode; +import androidx.camera.core.impl.ImageAnalysisConfig; +import androidx.camera.core.impl.ImageCaptureConfig; +import androidx.camera.core.impl.PreviewConfig; +import androidx.camera.core.impl.StreamSpec; +import androidx.camera.core.impl.StreamUseCase; +import androidx.camera.core.impl.SurfaceConfig; +import androidx.camera.core.impl.SurfaceStreamSpecQueryResult; +import androidx.camera.core.impl.UseCaseConfig; +import androidx.camera.core.impl.UseCaseConfigFactory; +import androidx.camera.core.impl.stabilization.VideoStabilization; +import androidx.camera.core.streamsharing.StreamSharingConfig; +import androidx.camera.video.impl.VideoCaptureConfig; + +import org.jspecify.annotations.NonNull; + +import java.util.ArrayList; +import java.util.Arrays; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +/** A CameraDeviceSurfaceManager which has no supported SurfaceConfigs. */ +public final class FakeCameraDeviceSurfaceManager implements CameraDeviceSurfaceManager { + private static final String TAG = "FakeCameraDeviceSurfaceManager"; + + public static final Size MAX_OUTPUT_SIZE = new Size(4032, 3024); // 12.2 MP + // MODIFIED (fake-simulated-camera): raised from 60 so the catalog's 240 fps format is reachable; per-camera + // frame-rate limits still come from FakeCameraInfoInternal.getSupportedFrameRateRanges. + public static final int MAX_SUPPORTED_FRAME_RATE = 240; + + private final Map>, StreamSpec>> + mDefinedStreamSpecs = new HashMap<>(); + + private Set> mValidSurfaceCombos = createDefaultValidSurfaceCombos(); + private int mCameraUpdateCount = 0; + + /** + * Sets the given suggested stream specs for the specified camera Id and use case type. + */ + public void setSuggestedStreamSpec(@NonNull String cameraId, + @NonNull Class> type, + @NonNull StreamSpec streamSpec) { + Map>, StreamSpec> useCaseConfigTypeToStreamSpecMap = + mDefinedStreamSpecs.get(cameraId); + if (useCaseConfigTypeToStreamSpecMap == null) { + useCaseConfigTypeToStreamSpecMap = new HashMap<>(); + mDefinedStreamSpecs.put(cameraId, useCaseConfigTypeToStreamSpecMap); + } + + useCaseConfigTypeToStreamSpecMap.put(type, streamSpec); + } + + @Override + public @NonNull SurfaceConfig transformSurfaceConfig( + @CameraMode.Mode int cameraMode, + @NonNull String cameraId, + int imageFormat, + @NonNull Size size, + @NonNull StreamUseCase streamUseCase) { + + //returns a placeholder SurfaceConfig + return SurfaceConfig.create(SurfaceConfig.ConfigType.PRIV, + SurfaceConfig.ConfigSize.PREVIEW, streamUseCase); + } + + @Override + public @NonNull SurfaceStreamSpecQueryResult getSuggestedStreamSpecs( + @CameraMode.Mode int cameraMode, + @NonNull String cameraId, + @NonNull List existingSurfaces, + @NonNull Map, List> newUseCaseConfigsSupportedSizeMap, + @NonNull VideoStabilization videoStabilization, + boolean hasVideoCapture, boolean isFeatureComboInvocation, + boolean findMaxSupportedFrameRate) { + List> newUseCaseConfigs = + new ArrayList<>(newUseCaseConfigsSupportedSizeMap.keySet()); + checkSurfaceCombo(existingSurfaces, newUseCaseConfigs); + + // Populate the suggested stream specs for new use cases. + Map, StreamSpec> suggestedStreamSpecs = new HashMap<>(); + for (UseCaseConfig useCaseConfig : newUseCaseConfigs) { + // MODIFIED (fake-simulated-camera): pick a size the camera actually supports for this use case, + // instead of the hardcoded MAX_OUTPUT_SIZE — otherwise CameraX rejects the (unsupported) 4032x3024. + StreamSpec spec = getStreamSpec(cameraId, useCaseConfig.getClass(), hasVideoCapture); + List supportedSizes = newUseCaseConfigsSupportedSizeMap.get(useCaseConfig); + if (supportedSizes != null && !supportedSizes.isEmpty() + && (mDefinedStreamSpecs.get(cameraId) == null + || mDefinedStreamSpecs.get(cameraId).get(useCaseConfig.getClass()) == null)) { + spec = StreamSpec.builder(largestWithin(supportedSizes)).setZslDisabled(hasVideoCapture).build(); + } + suggestedStreamSpecs.put(useCaseConfig, spec); + } + + // Populate the stream specs for existing use cases. + Map existingStreamSpecs = new HashMap<>(); + for (AttachedSurfaceInfo attachedSurfaceInfo : existingSurfaces) { + existingStreamSpecs.put(attachedSurfaceInfo, getStreamSpec(cameraId, + captureTypeToUseCaseConfigType(attachedSurfaceInfo.getCaptureTypes().get(0)), + hasVideoCapture)); + } + + return new SurfaceStreamSpecQueryResult(suggestedStreamSpecs, existingStreamSpecs, + MAX_SUPPORTED_FRAME_RATE); + } + + // MODIFIED (fake-simulated-camera): largest supported size not exceeding ANALYSIS_MAX_SIZE. ImageAnalysis + // (VisionCamera's frame + barcode outputs) rejects streams above ~1080p, so cap there rather than at the + // sensor's full resolution. + private static final Size ANALYSIS_MAX_SIZE = new Size(1920, 1080); + + private static @NonNull Size largestWithin(@NonNull List sizes) { + Size best = null; + for (Size size : sizes) { + long area = (long) size.getWidth() * size.getHeight(); + if (area > (long) ANALYSIS_MAX_SIZE.getWidth() * ANALYSIS_MAX_SIZE.getHeight()) { + continue; + } + if (best == null || area > (long) best.getWidth() * best.getHeight()) { + best = size; + } + } + if (best != null) { + return best; + } + // No size within the cap: fall back to the smallest available. + Size smallest = sizes.get(0); + for (Size size : sizes) { + if ((long) size.getWidth() * size.getHeight() + < (long) smallest.getWidth() * smallest.getHeight()) { + smallest = size; + } + } + return smallest; + } + + private @NonNull StreamSpec getStreamSpec(@NonNull String cameraId, @NonNull Class classType, + boolean hasVideoCapture) { + StreamSpec streamSpec = StreamSpec.builder(MAX_OUTPUT_SIZE) + .setZslDisabled(hasVideoCapture) + .build(); + Map>, StreamSpec> definedStreamSpecs = + mDefinedStreamSpecs.get(cameraId); + if (definedStreamSpecs != null) { + StreamSpec definedStreamSpec = definedStreamSpecs.get(classType); + if (definedStreamSpec != null) { + streamSpec = definedStreamSpec; + } + } + return streamSpec; + } + + /** + * Returns the {@link UseCaseConfig} type from a + * {@link androidx.camera.core.impl.UseCaseConfigFactory.CaptureType}. + */ + private Class captureTypeToUseCaseConfigType( + UseCaseConfigFactory.@NonNull CaptureType captureType) { + switch (captureType) { + case METERING_REPEATING: + // Fall-through + case PREVIEW: + return PreviewConfig.class; + case IMAGE_CAPTURE: + return ImageCaptureConfig.class; + case IMAGE_ANALYSIS: + return ImageAnalysisConfig.class; + case VIDEO_CAPTURE: + return VideoCaptureConfig.class; + case STREAM_SHARING: + return StreamSharingConfig.class; + default: + throw new IllegalArgumentException("Invalid capture type."); + } + } + + /** + * Checks if the surface combinations is supported. + * + *

Throws {@link IllegalArgumentException} if not supported. + */ + private void checkSurfaceCombo(List existingSurfaceInfos, + @NonNull List> newSurfaceConfigs) { + // Combine existing Surface with new Surface + List currentCombo = new ArrayList<>(); + for (UseCaseConfig useCaseConfig : newSurfaceConfigs) { + currentCombo.add(useCaseConfig.getInputFormat()); + } + for (AttachedSurfaceInfo surfaceInfo : existingSurfaceInfos) { + currentCombo.add(surfaceInfo.getImageFormat()); + } + + Logger.d(TAG, + "checkSurfaceCombo: currentCombo = " + currentCombo + ", mValidSurfaceCombos = " + + mValidSurfaceCombos); + + // Loop through valid combinations and return early if the combo is supported. + for (List validCombo : mValidSurfaceCombos) { + if (isComboSupported(currentCombo, validCombo)) { + return; + } + } + // Throw IAE if none of the valid combos supports the current combo. + throw new IllegalArgumentException("Surface combo not supported"); + } + + /** + * Checks if the app combination in covered by the given valid combination. + */ + private boolean isComboSupported(@NonNull List appCombo, + @NonNull List validCombo) { + List combo = new ArrayList<>(validCombo); + for (Integer format : appCombo) { + if (!combo.remove(format)) { + return false; + } + } + return true; + } + + /** + * The default combination is similar to LEGACY level devices. + */ + private static Set> createDefaultValidSurfaceCombos() { + Set> validCombos = new HashSet<>(); + validCombos.add(Arrays.asList(INTERNAL_DEFINED_IMAGE_FORMAT_PRIVATE, YUV_420_888, JPEG)); + validCombos.add(Arrays.asList(INTERNAL_DEFINED_IMAGE_FORMAT_PRIVATE, + INTERNAL_DEFINED_IMAGE_FORMAT_PRIVATE)); + return validCombos; + } + + public void setValidSurfaceCombos(@NonNull Set> validSurfaceCombos) { + mValidSurfaceCombos = validSurfaceCombos; + } + + /** Adds a valid surface combo. */ + public void addValidSurfaceCombo(@NonNull List validSurfaceCombo) { + mValidSurfaceCombos.add(validSurfaceCombo); + } + + @Override + public void onCamerasUpdated(@NonNull List cameraIds) { + mCameraUpdateCount++; + } + + public int getCameraUpdateCount() { + return mCameraUpdateCount; + } +} diff --git a/apps/fake-simulated-camera/android/app/src/main/java/androidx/camera/testing/impl/fakes/FakeEncoderProfilesProvider.java b/apps/fake-simulated-camera/android/app/src/main/java/androidx/camera/testing/impl/fakes/FakeEncoderProfilesProvider.java new file mode 100644 index 0000000000..4cf46a2abd --- /dev/null +++ b/apps/fake-simulated-camera/android/app/src/main/java/androidx/camera/testing/impl/fakes/FakeEncoderProfilesProvider.java @@ -0,0 +1,81 @@ +/* + * Copyright 2023 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Vendored from AOSP platform/frameworks/support@bb117e26ce89b888d6f928ff7b604913a1da43f2 (camera-core 1.7.0-alpha03), see THIRD_PARTY.md. + +package androidx.camera.testing.impl.fakes; + +import androidx.camera.core.impl.EncoderProfilesProvider; +import androidx.camera.core.impl.EncoderProfilesProxy; + +import org.jspecify.annotations.NonNull; +import org.jspecify.annotations.Nullable; + +import java.util.HashMap; +import java.util.Map; + +/** + * A fake implementation of the {@link EncoderProfilesProvider} and used for test. + */ +public class FakeEncoderProfilesProvider implements EncoderProfilesProvider { + + private final Map mQualityToProfileMap; + + FakeEncoderProfilesProvider(@NonNull Map qualityToProfileMap) { + mQualityToProfileMap = qualityToProfileMap; + } + + /** {@inheritDoc} */ + @Override + public boolean hasProfile(int quality) { + return mQualityToProfileMap.get(quality) != null; + } + + /** {@inheritDoc} */ + @Override + public @Nullable EncoderProfilesProxy getAll(int quality) { + return mQualityToProfileMap.get(quality); + } + + /** + * The builder to create a FakeEncoderProfilesProvider instance. + */ + public static class Builder { + + private final Map mQualityToProfileMap = new HashMap<>(); + + /** + * Adds a quality and its corresponding profiles. + */ + public @NonNull Builder add(int quality, @NonNull EncoderProfilesProxy profiles) { + mQualityToProfileMap.put(quality, profiles); + return this; + } + + /** + * Adds qualities and their corresponding profiles. + */ + public @NonNull Builder addAll( + @NonNull Map qualityToProfileMap) { + mQualityToProfileMap.putAll(qualityToProfileMap); + return this; + } + + /** Builds the FakeEncoderProfilesProvider instance. */ + public @NonNull FakeEncoderProfilesProvider build() { + return new FakeEncoderProfilesProvider(mQualityToProfileMap); + } + } +} diff --git a/apps/fake-simulated-camera/android/app/src/main/java/androidx/camera/testing/impl/fakes/FakeSessionConfigOptionUnpacker.kt b/apps/fake-simulated-camera/android/app/src/main/java/androidx/camera/testing/impl/fakes/FakeSessionConfigOptionUnpacker.kt new file mode 100644 index 0000000000..1bd9d29242 --- /dev/null +++ b/apps/fake-simulated-camera/android/app/src/main/java/androidx/camera/testing/impl/fakes/FakeSessionConfigOptionUnpacker.kt @@ -0,0 +1,65 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Vendored from AOSP platform/frameworks/support@bb117e26ce89b888d6f928ff7b604913a1da43f2 (camera-core 1.7.0-alpha03), see THIRD_PARTY.md. + +package androidx.camera.testing.impl.fakes + +import android.util.Size +import androidx.camera.core.impl.Config +import androidx.camera.core.impl.OptionsBundle +import androidx.camera.core.impl.SessionConfig +import androidx.camera.core.impl.UseCaseConfig + +public class FakeSessionConfigOptionUnpacker : SessionConfig.OptionUnpacker { + override fun unpack( + resolution: Size, + config: UseCaseConfig<*>, + builder: SessionConfig.Builder, + ) { + val defaultSessionConfig = config.getDefaultSessionConfig(/* valueIfMissing= */ null) + + var implOptions: Config = OptionsBundle.emptyBundle() + var templateType = SessionConfig.defaultEmptySessionConfig().templateType + + // Apply/extract defaults from session config + if (defaultSessionConfig != null) { + templateType = defaultSessionConfig.templateType + builder.addAllDeviceStateCallbacks(defaultSessionConfig.deviceStateCallbacks) + builder.addAllSessionStateCallbacks(defaultSessionConfig.sessionStateCallbacks) + builder.addAllRepeatingCameraCaptureCallbacks( + defaultSessionConfig.repeatingCameraCaptureCallbacks + ) + implOptions = defaultSessionConfig.implementationOptions + } + + // Set any additional implementation options + builder.setImplementationOptions(implOptions) + + // TODO: Set the WYSIWYG preview for CAPTURE_TYPE_PREVIEW + // TODO: Get Camera2Interop extended options + + // Apply template type + builder.setTemplateType(templateType) + + // TODO: Add extension callbacks + + builder.setPreviewStabilization(config.previewStabilizationMode) + builder.setVideoStabilization(config.videoStabilizationMode) + + // TODO: Copy extended Camera2 configurations + // TODO: Copy extension keys + } +} diff --git a/apps/fake-simulated-camera/android/app/src/main/java/androidx/camera/testing/impl/fakes/FakeUseCaseConfigFactory.kt b/apps/fake-simulated-camera/android/app/src/main/java/androidx/camera/testing/impl/fakes/FakeUseCaseConfigFactory.kt new file mode 100644 index 0000000000..85e123aea8 --- /dev/null +++ b/apps/fake-simulated-camera/android/app/src/main/java/androidx/camera/testing/impl/fakes/FakeUseCaseConfigFactory.kt @@ -0,0 +1,35 @@ +package androidx.camera.testing.impl.fakes + +import android.hardware.camera2.CameraDevice +import androidx.camera.core.ImageCapture +import androidx.camera.core.impl.Config +import androidx.camera.core.impl.MutableOptionsBundle +import androidx.camera.core.impl.OptionsBundle +import androidx.camera.core.impl.SessionConfig +import androidx.camera.core.impl.UseCaseConfig +import androidx.camera.core.impl.UseCaseConfigFactory + +// Replaces upstream FakeUseCaseConfigFactory (which wires a TakePictureManager test wrapper). +class FakeUseCaseConfigFactory : UseCaseConfigFactory { + override fun getConfig(captureType: UseCaseConfigFactory.CaptureType, captureMode: Int): Config { + val config = MutableOptionsBundle.create() + val sessionBuilder = SessionConfig.Builder() + sessionBuilder.setTemplateType(templateType(captureType, captureMode)) + config.insertOption(UseCaseConfig.OPTION_DEFAULT_SESSION_CONFIG, sessionBuilder.build()) + config.insertOption(UseCaseConfig.OPTION_CAPTURE_CONFIG_UNPACKER, CaptureConfigUnpacker) + config.insertOption(UseCaseConfig.OPTION_SESSION_CONFIG_UNPACKER, FakeSessionConfigOptionUnpacker()) + return OptionsBundle.from(config) + } + + private object CaptureConfigUnpacker : androidx.camera.core.impl.CaptureConfig.OptionUnpacker { + override fun unpack(config: UseCaseConfig<*>, builder: androidx.camera.core.impl.CaptureConfig.Builder) {} + } + + private fun templateType(captureType: UseCaseConfigFactory.CaptureType, captureMode: Int): Int = + when (captureType) { + UseCaseConfigFactory.CaptureType.IMAGE_CAPTURE -> + if (captureMode == ImageCapture.CAPTURE_MODE_ZERO_SHUTTER_LAG) CameraDevice.TEMPLATE_ZERO_SHUTTER_LAG else CameraDevice.TEMPLATE_PREVIEW + UseCaseConfigFactory.CaptureType.VIDEO_CAPTURE -> CameraDevice.TEMPLATE_RECORD + else -> CameraDevice.TEMPLATE_PREVIEW + } +} diff --git a/apps/fake-simulated-camera/android/app/src/main/java/com/margelo/nitro/camera/example/fake/FakeCameraInjection.kt b/apps/fake-simulated-camera/android/app/src/main/java/com/margelo/nitro/camera/example/fake/FakeCameraInjection.kt new file mode 100644 index 0000000000..2b01976a75 --- /dev/null +++ b/apps/fake-simulated-camera/android/app/src/main/java/com/margelo/nitro/camera/example/fake/FakeCameraInjection.kt @@ -0,0 +1,33 @@ +package com.margelo.nitro.camera.example.fake + +import android.content.Context +import android.util.Log +import java.security.MessageDigest + +// Selected by the `fakeCameraCatalog` launch extra (or FAKE_CAMERA_CATALOG); `off` disables injection so the +// emulator's real Camera2 virtual-scene camera is used instead. +object FakeCameraInjection { + private const val TAG = "FakeCamera" + + @Volatile + var catalogName: String = System.getenv("FAKE_CAMERA_CATALOG") ?: "default" + + val isEnabled: Boolean + get() = catalogName != "off" + + fun logStartup(context: Context) { + if (!isEnabled) { + Log.i(TAG, "mode=real-camera2 (no injection)") + return + } + try { + val catalog = com.margelo.nitro.camera.example.fake.camerax.FakeCameraCatalog.load(context, catalogName) + val ids = catalog.devices.joinToString(",") { it.id } + val scene = context.assets.open("scenes/${catalog.scene}").use { it.readBytes() } + val sha = MessageDigest.getInstance("SHA-256").digest(scene).joinToString("") { "%02x".format(it) } + Log.i(TAG, "mode=fake:$catalogName devices=$ids scene=${catalog.scene} sha256=$sha") + } catch (error: Throwable) { + Log.e(TAG, "catalog $catalogName rejected", error) + } + } +} diff --git a/apps/fake-simulated-camera/android/app/src/main/java/com/margelo/nitro/camera/example/fake/MainActivity.kt b/apps/fake-simulated-camera/android/app/src/main/java/com/margelo/nitro/camera/example/fake/MainActivity.kt new file mode 100644 index 0000000000..ce05a48d99 --- /dev/null +++ b/apps/fake-simulated-camera/android/app/src/main/java/com/margelo/nitro/camera/example/fake/MainActivity.kt @@ -0,0 +1,20 @@ +package com.margelo.nitro.camera.example.fake + +import android.os.Bundle +import com.facebook.react.ReactActivity +import com.facebook.react.ReactActivityDelegate +import com.facebook.react.defaults.DefaultNewArchitectureEntryPoint.fabricEnabled +import com.facebook.react.defaults.DefaultReactActivityDelegate + +class MainActivity : ReactActivity() { + override fun onCreate(savedInstanceState: Bundle?) { + // Stash the requested catalog before React Native (and CameraX) initialise. + FakeCameraInjection.catalogName = intent?.getStringExtra("fakeCameraCatalog") ?: FakeCameraInjection.catalogName + super.onCreate(savedInstanceState) + } + + override fun getMainComponentName(): String = "FakeSimulatedCamera" + + override fun createReactActivityDelegate(): ReactActivityDelegate = + DefaultReactActivityDelegate(this, mainComponentName, fabricEnabled) +} diff --git a/apps/fake-simulated-camera/android/app/src/main/java/com/margelo/nitro/camera/example/fake/MainApplication.kt b/apps/fake-simulated-camera/android/app/src/main/java/com/margelo/nitro/camera/example/fake/MainApplication.kt new file mode 100644 index 0000000000..1ec33a9413 --- /dev/null +++ b/apps/fake-simulated-camera/android/app/src/main/java/com/margelo/nitro/camera/example/fake/MainApplication.kt @@ -0,0 +1,41 @@ +package com.margelo.nitro.camera.example.fake + +import android.app.Application +import androidx.camera.camera2.Camera2Config +import androidx.camera.core.CameraXConfig +import com.facebook.react.PackageList +import com.facebook.react.ReactApplication +import com.facebook.react.ReactHost +import com.facebook.react.ReactNativeApplicationEntryPoint.loadReactNative +import com.facebook.react.defaults.DefaultReactHost.getDefaultReactHost +import com.margelo.nitro.camera.example.fake.camerax.FakeCameraCatalog +import com.margelo.nitro.camera.example.fake.camerax.FakeCameraCatalogConfig + +class MainApplication : + Application(), + ReactApplication, + CameraXConfig.Provider { + + override val reactHost: ReactHost by lazy { + getDefaultReactHost( + context = applicationContext, + packageList = PackageList(this).packages, + ) + } + + // VisionCamera initialises CameraX lazily via ProcessCameraProvider, which calls this after MainActivity + // has stashed the requested catalog. + override fun getCameraXConfig(): CameraXConfig { + if (FakeCameraInjection.isEnabled) { + val catalog = FakeCameraCatalog.load(this, FakeCameraInjection.catalogName) + return FakeCameraCatalogConfig.create(catalog) + } + return Camera2Config.defaultConfig() + } + + override fun onCreate() { + super.onCreate() + FakeCameraInjection.logStartup(this) + loadReactNative(this) + } +} diff --git a/apps/fake-simulated-camera/android/app/src/main/java/com/margelo/nitro/camera/example/fake/camerax/CatalogCameraCharacteristics.kt b/apps/fake-simulated-camera/android/app/src/main/java/com/margelo/nitro/camera/example/fake/camerax/CatalogCameraCharacteristics.kt new file mode 100644 index 0000000000..044293cfe4 --- /dev/null +++ b/apps/fake-simulated-camera/android/app/src/main/java/com/margelo/nitro/camera/example/fake/camerax/CatalogCameraCharacteristics.kt @@ -0,0 +1,99 @@ +package com.margelo.nitro.camera.example.fake.camerax + +import android.graphics.Rect +import android.hardware.camera2.CameraCharacteristics +import android.util.Log +import android.util.Range +import android.util.Size +import org.lsposed.hiddenapibypass.HiddenApiBypass + +// Authors a real android.hardware.camera2.CameraCharacteristics from a fake device, using the hidden +// CameraMetadataNative backing class. VisionCamera reads resolutions/pixel-formats from the synthesized +// SCALER_STREAM_CONFIGURATION_MAP exactly as it does on a real device, so the Android device suite can +// hard-assert them like iOS instead of deferring to the virtual-scene runner. +// +// Raw scaler configs use HAL pixel formats: IMPLEMENTATION_DEFINED (PRIVATE), YCbCr_420_888, and BLOB (JPEG). +object CatalogCameraCharacteristics { + private const val TAG = "FakeCamera" + + private const val HAL_IMPLEMENTATION_DEFINED = 0x22 // -> ImageFormat.PRIVATE + private const val HAL_YCbCr_420_888 = 0x23 // -> ImageFormat.YUV_420_888 + private const val HAL_BLOB = 0x21 // -> ImageFormat.JPEG + private const val OUTPUT = 0 // ANDROID_SCALER_AVAILABLE_STREAM_CONFIGURATIONS_OUTPUT + + fun build(spec: FakeCameraDeviceSpec): CameraCharacteristics? = + try { + HiddenApiBypass.addHiddenApiExemptions("Landroid/hardware/camera2/") + val nativeClass = Class.forName("android.hardware.camera2.impl.CameraMetadataNative") + val native = nativeClass.getDeclaredConstructor().newInstance() + + val setPublic = nativeClass.getMethod("set", CameraCharacteristics.Key::class.java, Any::class.java) + fun put(key: CameraCharacteristics.Key, value: T) = setPublic.invoke(native, key, value) + + val nativeKeyClass = Class.forName("android.hardware.camera2.impl.CameraMetadataNative\$Key") + val nativeKeyCtor = nativeKeyClass.getConstructor(String::class.java, Class::class.java) + val setRaw = nativeClass.getMethod("set", nativeKeyClass, Any::class.java) + fun putRaw(name: String, type: Class<*>, value: Any) = + setRaw.invoke(native, nativeKeyCtor.newInstance(name, type), value) + + val streamSizes = spec.formats.map { Size(it.width, it.height) }.distinct() + val photoSizes = spec.formats.flatMap { it.photoDimensions }.distinct() + val largest = (streamSizes + photoSizes).maxByOrNull { it.width.toLong() * it.height } ?: Size(1920, 1080) + + // availableStreamConfigurations: int[] of (format, width, height, isOutput) tuples. + val configs = ArrayList() + val minDurations = ArrayList() + val stallDurations = ArrayList() + fun addConfig(halFormat: Int, size: Size, minDurationNs: Long, stallNs: Long) { + configs += listOf(halFormat, size.width, size.height, OUTPUT) + minDurations += listOf(halFormat.toLong(), size.width.toLong(), size.height.toLong(), minDurationNs) + stallDurations += listOf(halFormat.toLong(), size.width.toLong(), size.height.toLong(), stallNs) + } + for (size in streamSizes) { + addConfig(HAL_IMPLEMENTATION_DEFINED, size, 33_333_333L, 0L) + addConfig(HAL_YCbCr_420_888, size, 33_333_333L, 0L) + } + for (size in photoSizes) { + addConfig(HAL_BLOB, size, 33_333_333L, 33_333_333L) + } + putRaw("android.scaler.availableStreamConfigurations", IntArray::class.java, configs.toIntArray()) + putRaw("android.scaler.availableMinFrameDurations", LongArray::class.java, minDurations.toLongArray()) + putRaw("android.scaler.availableStallDurations", LongArray::class.java, stallDurations.toLongArray()) + + put( + CameraCharacteristics.LENS_FACING, + if (spec.position == "front") CameraCharacteristics.LENS_FACING_FRONT else CameraCharacteristics.LENS_FACING_BACK, + ) + put(CameraCharacteristics.SENSOR_INFO_ACTIVE_ARRAY_SIZE, Rect(0, 0, largest.width, largest.height)) + put(CameraCharacteristics.SENSOR_INFO_PIXEL_ARRAY_SIZE, Size(largest.width, largest.height)) + put(CameraCharacteristics.LENS_INFO_AVAILABLE_FOCAL_LENGTHS, floatArrayOf(spec.focalLength.toFloat())) + put(CameraCharacteristics.LENS_INFO_AVAILABLE_APERTURES, floatArrayOf(spec.lensAperture.toFloat())) + put( + CameraCharacteristics.CONTROL_AE_AVAILABLE_TARGET_FPS_RANGES, + spec.formats.flatMap { it.fpsRanges }.map { Range(it.first, it.second) }.distinct().toTypedArray(), + ) + put(CameraCharacteristics.CONTROL_ZOOM_RATIO_RANGE, Range(spec.zoom.first.toFloat(), spec.zoom.second.toFloat())) + put(CameraCharacteristics.INFO_SUPPORTED_HARDWARE_LEVEL, CameraCharacteristics.INFO_SUPPORTED_HARDWARE_LEVEL_FULL) + put( + CameraCharacteristics.REQUEST_AVAILABLE_CAPABILITIES, + intArrayOf(CameraCharacteristics.REQUEST_AVAILABLE_CAPABILITIES_BACKWARD_COMPATIBLE), + ) + put(CameraCharacteristics.SCALER_CROPPING_TYPE, CameraCharacteristics.SCALER_CROPPING_TYPE_CENTER_ONLY) + put(CameraCharacteristics.DISTORTION_CORRECTION_AVAILABLE_MODES, intArrayOf(0)) + + val ctor = CameraCharacteristics::class.java.getDeclaredConstructor(nativeClass) + ctor.isAccessible = true + val characteristics = ctor.newInstance(native) as CameraCharacteristics + + val map = characteristics.get(CameraCharacteristics.SCALER_STREAM_CONFIGURATION_MAP) + Log.i( + TAG, + "characteristics ${spec.id}: formats=${map?.outputFormats?.joinToString()} " + + "videoSizes=${map?.getOutputSizes(HAL_YCbCr_420_888)?.joinToString()}", + ) + characteristics + } catch (t: Throwable) { + Log.e(TAG, "characteristics build failed for ${spec.id}; falling back to null", t) + null + } +} diff --git a/apps/fake-simulated-camera/android/app/src/main/java/com/margelo/nitro/camera/example/fake/camerax/CatalogCameraFactory.kt b/apps/fake-simulated-camera/android/app/src/main/java/com/margelo/nitro/camera/example/fake/camerax/CatalogCameraFactory.kt new file mode 100644 index 0000000000..f8c8ee65d4 --- /dev/null +++ b/apps/fake-simulated-camera/android/app/src/main/java/com/margelo/nitro/camera/example/fake/camerax/CatalogCameraFactory.kt @@ -0,0 +1,42 @@ +package com.margelo.nitro.camera.example.fake.camerax + +import androidx.camera.core.CameraIdentifier +import androidx.camera.core.concurrent.CameraCoordinator +import androidx.camera.core.impl.CameraFactory +import androidx.camera.core.impl.CameraInternal +import androidx.camera.core.impl.Observable +import androidx.camera.core.impl.utils.futures.Futures +import androidx.camera.testing.fakes.FakeCamera +import androidx.camera.testing.impl.fakes.FakeCameraCoordinator +import com.google.common.util.concurrent.ListenableFuture +import java.util.concurrent.Executor + +// Serves the catalog's FakeCameras to CameraX in catalog order. +class CatalogCameraFactory(private val cameras: Map) : CameraFactory { + private val coordinator = FakeCameraCoordinator() + + override fun getCamera(cameraId: String): CameraInternal = + cameras[cameraId] ?: throw IllegalArgumentException("Unknown camera: $cameraId") + + override fun getAvailableCameraIds(): Set = cameras.keys + + override fun getCameraCoordinator(): CameraCoordinator = coordinator + + override fun getCameraManager(): Any? = null + + override fun getCameraPresenceSource(): Observable> = PresenceSource(cameras.keys) + + override fun onCameraIdsUpdated(cameraIds: List) {} + + private class PresenceSource(ids: Set) : Observable> { + private val identifiers = ids.map { CameraIdentifier.Factory.create(it) } + + override fun fetchData(): ListenableFuture> = Futures.immediateFuture(identifiers) + + override fun addObserver(executor: Executor, observer: Observable.Observer>) { + executor.execute { observer.onNewData(identifiers) } + } + + override fun removeObserver(observer: Observable.Observer>) {} + } +} diff --git a/apps/fake-simulated-camera/android/app/src/main/java/com/margelo/nitro/camera/example/fake/camerax/CatalogCameraMetadata.kt b/apps/fake-simulated-camera/android/app/src/main/java/com/margelo/nitro/camera/example/fake/camerax/CatalogCameraMetadata.kt new file mode 100644 index 0000000000..a89e606638 --- /dev/null +++ b/apps/fake-simulated-camera/android/app/src/main/java/com/margelo/nitro/camera/example/fake/camerax/CatalogCameraMetadata.kt @@ -0,0 +1,54 @@ +package com.margelo.nitro.camera.example.fake.camerax + +import android.hardware.camera2.CameraCharacteristics +import android.hardware.camera2.CaptureRequest +import android.hardware.camera2.CaptureResult +import androidx.camera.camera2.pipe.CameraExtensionMetadata +import androidx.camera.camera2.pipe.CameraId +import androidx.camera.camera2.pipe.CameraMetadata +import androidx.camera.camera2.pipe.Metadata + +/** + * The minimum [CameraMetadata] needed so [androidx.camera.camera2.interop.Camera2CameraInfo.create] + * can hand VisionCamera a camera id. Characteristic reads go to [characteristics] when present + * (null until the hidden-API builder lands — VisionCamera falls back to CameraInfo in that case). + */ +class CatalogCameraMetadata( + private val cameraId: CameraId, + private val characteristics: CameraCharacteristics?, +) : CameraMetadata { + override val camera: CameraId = cameraId + override val isRedacted: Boolean = false + override val keys: Set> = emptySet() + override val requestKeys: Set> = emptySet() + override val resultKeys: Set> = emptySet() + override val sessionKeys: Set> = emptySet() + override val sessionCharacteristicsKeys: Set> = emptySet() + override val physicalCameraIds: Set = emptySet() + override val physicalRequestKeys: Set> = emptySet() + override val supportedExtensions: Set = emptySet() + + @Suppress("UNCHECKED_CAST") + override fun get(key: CameraCharacteristics.Key): T? = characteristics?.get(key) + + override fun getOrDefault(key: CameraCharacteristics.Key, default: T): T = get(key) ?: default + + override fun get(key: Metadata.Key): T? = null + + override fun getOrDefault(key: Metadata.Key, default: T): T = default + + override fun unwrapAs(type: Class): T? = + if (characteristics != null && type == CameraCharacteristics::class.java) type.cast(characteristics) else null + + override suspend fun getPhysicalMetadata(cameraId: CameraId): CameraMetadata = + throw UnsupportedOperationException("FakeCamera has no physical cameras") + + override fun awaitPhysicalMetadata(cameraId: CameraId): CameraMetadata = + throw UnsupportedOperationException("FakeCamera has no physical cameras") + + override suspend fun getExtensionMetadata(extension: Int): CameraExtensionMetadata = + throw UnsupportedOperationException("FakeCamera has no camera extensions") + + override fun awaitExtensionMetadata(extension: Int): CameraExtensionMetadata = + throw UnsupportedOperationException("FakeCamera has no camera extensions") +} diff --git a/apps/fake-simulated-camera/android/app/src/main/java/com/margelo/nitro/camera/example/fake/camerax/CatalogCameraProperties.kt b/apps/fake-simulated-camera/android/app/src/main/java/com/margelo/nitro/camera/example/fake/camerax/CatalogCameraProperties.kt new file mode 100644 index 0000000000..bdf7b99d79 --- /dev/null +++ b/apps/fake-simulated-camera/android/app/src/main/java/com/margelo/nitro/camera/example/fake/camerax/CatalogCameraProperties.kt @@ -0,0 +1,15 @@ +package com.margelo.nitro.camera.example.fake.camerax + +import android.hardware.camera2.CameraCharacteristics +import androidx.camera.camera2.impl.CameraProperties +import androidx.camera.camera2.pipe.CameraId +import androidx.camera.camera2.pipe.CameraMetadata + +/** Backs `Camera2CameraInfo.create(...)` so VisionCamera's `cameraId` interop returns the catalog id. */ +class CatalogCameraProperties( + cameraId: String, + characteristics: CameraCharacteristics?, +) : CameraProperties { + override val cameraId: CameraId = CameraId(cameraId) + override val metadata: CameraMetadata = CatalogCameraMetadata(this.cameraId, characteristics) +} diff --git a/apps/fake-simulated-camera/android/app/src/main/java/com/margelo/nitro/camera/example/fake/camerax/FakeCameraCatalog.kt b/apps/fake-simulated-camera/android/app/src/main/java/com/margelo/nitro/camera/example/fake/camerax/FakeCameraCatalog.kt new file mode 100644 index 0000000000..f85a58fb44 --- /dev/null +++ b/apps/fake-simulated-camera/android/app/src/main/java/com/margelo/nitro/camera/example/fake/camerax/FakeCameraCatalog.kt @@ -0,0 +1,208 @@ +package com.margelo.nitro.camera.example.fake.camerax + +import android.content.Context +import android.util.Size + +// The fake cameras are authored directly in Kotlin (no JSON). Values mirror the iOS fake so both platforms model +// the same devices; each platform then projects them onto its own camera framework (CameraX / Camera2 here). + +data class FakeCameraFormat( + val name: String, + val width: Int, + val height: Int, + val pixelFormat: String, + val fpsRanges: List>, + val photoDimensions: List, + val autoFocusSystem: String, + val videoStabilizationModes: List, + val binned: Boolean, + val videoHDR: Boolean, + val colorSpaces: List, + val highestPhotoQuality: Boolean, + val highPhotoQuality: Boolean, + val multiCam: Boolean, +) + +data class FakeCameraDeviceSpec( + val id: String, + val name: String, + val modelID: String, + val type: String, + val position: String, + val hasFlash: Boolean, + val hasTorch: Boolean, + val zoom: Pair, + val lensAperture: Double, + val focalLength: Double, + val exposureBias: Pair, + val supportsFocus: Boolean, + val supportsExposure: Boolean, + val supportsWhiteBalance: Boolean, + val supportsLowLightBoost: Boolean, + val formats: List, +) + +data class FakeCameraCatalog(val scene: String, val devices: List) { + companion object { + private const val SCENE = "qr-code-margelo.png" + + fun load(context: Context, name: String): FakeCameraCatalog = + FakeCameraCatalog(SCENE, if (name == "variants") fakeCameraVariantDevices() else fakeCameraDevices()) + } +} + +// A second catalog exercising catalog robustness: two near-identical back cameras that differ ONLY in maxZoom, +// plus a front camera. A different device set than `default` proves nothing is hardcoded to it. +private fun variantFormat() = fmt( + "1080p60", 1920, 1080, "yuv-420-8-bit-video", listOf(1 to 60), listOf(Size(1920, 1080)), + "phase-detection", listOf("standard"), false, false, listOf("srgb"), false, false, true, +) + +private fun twin(id: String, name: String, maxZoom: Double) = FakeCameraDeviceSpec( + id = id, name = name, modelID = "FakeCamera,1", type = "wide-angle", position = "back", + hasFlash = true, hasTorch = true, zoom = 1.0 to maxZoom, lensAperture = 1.8, focalLength = 26.0, + exposureBias = -8 to 8, supportsFocus = true, supportsExposure = true, supportsWhiteBalance = true, + supportsLowLightBoost = false, formats = listOf(variantFormat()), +) + +// A DIFFERENT count and shape than `default` (4 devices vs 3): near-identical twins differing only in maxZoom, +// a telephoto (different type), and a front camera. Proves the pipeline is not hardcoded to the default set. +private fun twinWithFormat(id: String, name: String, format: FakeCameraFormat) = FakeCameraDeviceSpec( + id = id, name = name, modelID = "FakeCamera,1", type = "wide-angle", position = "back", + hasFlash = true, hasTorch = true, zoom = 1.0 to 4.0, lensAperture = 1.8, focalLength = 26.0, + exposureBias = -8 to 8, supportsFocus = true, supportsExposure = true, supportsWhiteBalance = true, + supportsLowLightBoost = false, formats = listOf(format), +) + +// Identical in every capability, differing ONLY in id/name — must both enumerate and never be deduped. +private fun clone(id: String, name: String) = FakeCameraDeviceSpec( + id = id, name = name, modelID = "FakeCamera,1", type = "wide-angle", position = "back", + hasFlash = true, hasTorch = true, zoom = 1.0 to 5.0, lensAperture = 2.0, focalLength = 28.0, + exposureBias = -8 to 8, supportsFocus = true, supportsExposure = true, supportsWhiteBalance = true, + supportsLowLightBoost = false, formats = listOf(variantFormat()), +) + +private fun fakeCameraVariantDevices(): List = listOf( + twin("fake-twin-a", "Fake Twin A", 4.0), + twin("fake-twin-b", "Fake Twin B", 6.0), + // Near-identical to twin-a but its one format tops out at 30 fps — supportsFPS(60) differs. + twinWithFormat("fake-slow-fps", "Fake Slow FPS", fmt("1080p30", 1920, 1080, "yuv-420-8-bit-video", listOf(1 to 30), + listOf(Size(1920, 1080)), "phase-detection", listOf("standard"), false, false, listOf("srgb"), false, false, true)), + // Near-identical to twin-a but its one format is HDR (10-bit) — supportedVideoDynamicRanges differs. + twinWithFormat("fake-hdr-variant", "Fake HDR Variant", fmt("1080p30-hdr", 1920, 1080, "yuv-420-10-bit-video", + listOf(1 to 30), listOf(Size(1920, 1080)), "phase-detection", listOf("standard"), false, true, + listOf("srgb", "hlg-bt2020"), false, false, false)), + FakeCameraDeviceSpec( + id = "fake-variant-tele", name = "Fake Variant Telephoto", modelID = "FakeCamera,1", type = "telephoto", + position = "back", hasFlash = true, hasTorch = true, zoom = 1.0 to 3.0, lensAperture = 2.8, focalLength = 77.0, + exposureBias = -8 to 8, supportsFocus = true, supportsExposure = true, supportsWhiteBalance = true, + supportsLowLightBoost = false, formats = listOf(variantFormat()), + ), + FakeCameraDeviceSpec( + id = "fake-variant-front", name = "Fake Variant Front", modelID = "FakeCamera,1", type = "wide-angle", + position = "front", hasFlash = false, hasTorch = false, zoom = 1.0 to 1.0, lensAperture = 2.2, focalLength = 23.0, + exposureBias = -8 to 8, supportsFocus = false, supportsExposure = true, supportsWhiteBalance = true, + supportsLowLightBoost = false, + formats = listOf( + fmt("1080p60", 1920, 1080, "yuv-420-8-bit-video", listOf(1 to 60), listOf(Size(1920, 1080)), + "none", emptyList(), false, false, listOf("srgb"), false, false, false), + ), + ), + clone("fake-clone-a", "Fake Clone A"), + clone("fake-clone-b", "Fake Clone B"), +) + +private fun fmt( + name: String, + width: Int, + height: Int, + pixelFormat: String, + fpsRanges: List>, + photoDimensions: List, + autoFocusSystem: String, + videoStabilizationModes: List, + binned: Boolean, + videoHDR: Boolean, + colorSpaces: List, + highestPhotoQuality: Boolean, + highPhotoQuality: Boolean, + multiCam: Boolean, +) = FakeCameraFormat( + name, width, height, pixelFormat, fpsRanges, photoDimensions, autoFocusSystem, videoStabilizationModes, + binned, videoHDR, colorSpaces, highestPhotoQuality, highPhotoQuality, multiCam, +) + +private fun fakeCameraDevices(): List = listOf( + FakeCameraDeviceSpec( + id = "fake-back-wide", + name = "Fake Back Wide Camera", + modelID = "FakeCamera,1", + type = "wide-angle", + position = "back", + hasFlash = true, + hasTorch = true, + zoom = 1.0 to 6.0, + lensAperture = 1.6, + focalLength = 24.0, + exposureBias = -8 to 8, + supportsFocus = true, + supportsExposure = true, + supportsWhiteBalance = true, + supportsLowLightBoost = false, + formats = listOf( + fmt("1080p60", 1920, 1080, "yuv-420-8-bit-video", listOf(1 to 60), listOf(Size(1920, 1080)), + "phase-detection", listOf("standard", "cinematic"), false, false, listOf("srgb"), false, false, true), + fmt("4k30", 3840, 2160, "yuv-420-8-bit-full", listOf(1 to 30), listOf(Size(4032, 3024), Size(3840, 2160)), + "phase-detection", listOf("standard"), false, false, listOf("srgb", "p3-d65"), true, true, false), + fmt("1080p30-hdr", 1920, 1080, "yuv-420-10-bit-video", listOf(1 to 30), listOf(Size(1920, 1080)), + "phase-detection", listOf("standard", "cinematic"), false, true, listOf("srgb", "p3-d65", "hlg-bt2020"), + false, false, false), + fmt("720p240-binned", 1280, 720, "yuv-420-8-bit-video", listOf(1 to 240), listOf(Size(1280, 720)), + "contrast-detection", emptyList(), true, false, listOf("srgb"), false, false, true), + ), + ), + FakeCameraDeviceSpec( + id = "fake-back-ultra-wide", + name = "Fake Back Ultra Wide Camera", + modelID = "FakeCamera,1", + type = "ultra-wide-angle", + position = "back", + hasFlash = true, + hasTorch = true, + zoom = 1.0 to 1.0, + lensAperture = 2.4, + focalLength = 13.0, + exposureBias = -8 to 8, + supportsFocus = false, + supportsExposure = true, + supportsWhiteBalance = true, + supportsLowLightBoost = false, + formats = listOf( + fmt("1080p30", 1920, 1080, "yuv-420-8-bit-video", listOf(1 to 30), listOf(Size(1920, 1080)), + "none", emptyList(), false, false, listOf("srgb"), false, false, false), + ), + ), + FakeCameraDeviceSpec( + id = "fake-front-wide", + name = "Fake Front Camera", + modelID = "FakeCamera,1", + type = "wide-angle", + position = "front", + hasFlash = false, + hasTorch = false, + zoom = 1.0 to 1.0, + lensAperture = 2.2, + focalLength = 23.0, + exposureBias = -8 to 8, + supportsFocus = false, + supportsExposure = true, + supportsWhiteBalance = true, + supportsLowLightBoost = false, + formats = listOf( + fmt("1080p60", 1920, 1080, "yuv-420-8-bit-video", listOf(1 to 60), listOf(Size(1920, 1080)), + "none", listOf("standard"), false, false, listOf("srgb"), false, false, true), + fmt("720p30", 1280, 720, "yuv-420-8-bit-video", listOf(1 to 30), listOf(Size(1280, 720)), + "none", emptyList(), false, false, listOf("srgb"), false, false, false), + ), + ), +) diff --git a/apps/fake-simulated-camera/android/app/src/main/java/com/margelo/nitro/camera/example/fake/camerax/FakeCameraCatalogConfig.kt b/apps/fake-simulated-camera/android/app/src/main/java/com/margelo/nitro/camera/example/fake/camerax/FakeCameraCatalogConfig.kt new file mode 100644 index 0000000000..68fbde0dcf --- /dev/null +++ b/apps/fake-simulated-camera/android/app/src/main/java/com/margelo/nitro/camera/example/fake/camerax/FakeCameraCatalogConfig.kt @@ -0,0 +1,133 @@ +package com.margelo.nitro.camera.example.fake.camerax + +import android.graphics.ImageFormat +import android.graphics.Rect +import android.hardware.camera2.CameraCharacteristics +import android.media.EncoderProfiles +import android.media.MediaRecorder +import android.util.Log +import android.util.Range +import android.util.Size +import androidx.camera.core.CameraSelector +import androidx.camera.core.CameraXConfig +import androidx.camera.core.DynamicRange +import androidx.camera.core.impl.CameraDeviceSurfaceManager +import androidx.camera.core.impl.CameraFactory +import androidx.camera.core.impl.EncoderProfilesProvider +import androidx.camera.core.impl.EncoderProfilesProxy +import androidx.camera.core.impl.UseCaseConfigFactory +import androidx.camera.camera2.interop.Camera2CameraInfo +import androidx.camera.testing.fakes.FakeCamera +import androidx.camera.testing.fakes.FakeCameraInfoInternal +import androidx.camera.testing.impl.fakes.FakeCameraCoordinator +import androidx.camera.testing.impl.fakes.FakeCameraDeviceSurfaceManager +import androidx.camera.testing.impl.fakes.FakeEncoderProfilesProvider +import androidx.camera.testing.impl.fakes.FakeUseCaseConfigFactory + +// Builds a CameraX backend from the catalog: one FakeCamera per device, wired so VisionCamera's untouched +// CameraX + Camera2 interop paths observe catalog values. +object FakeCameraCatalogConfig { + private const val TAG = "FakeCamera" + + fun create(catalog: FakeCameraCatalog): CameraXConfig { + val cameraFactory = CatalogCameraFactory(catalog.devices.associate { spec -> spec.id to buildCamera(spec) }) + return CameraXConfig.Builder() + .setCameraFactoryProvider { _, _, _, _, _, _ -> cameraFactory } + .setDeviceSurfaceManagerProvider { _, _, _, _ -> FakeCameraDeviceSurfaceManager() } + .setUseCaseConfigFactoryProvider { _, _ -> FakeUseCaseConfigFactory() } + .build() + } + + private fun buildCamera(spec: FakeCameraDeviceSpec): FakeCamera { + val info = FakeCameraInfoInternal( + spec.id, + /* sensorRotation= */ 0, + if (spec.position == "front") CameraSelector.LENS_FACING_FRONT else CameraSelector.LENS_FACING_BACK, + androidx.camera.core.internal.StreamSpecsCalculator.NO_OP_STREAM_SPECS_CALCULATOR, + ) + info.setHasFlashUnit(spec.hasFlash) + info.setZoom(1f, spec.zoom.first.toFloat(), spec.zoom.second.toFloat(), 0f) + // intrinsicZoomRatio drives VisionCamera's DeviceType: < 1 ultra-wide, > 1 telephoto, else wide. + info.setIntrinsicZoomRatio( + when (spec.type) { + "ultra-wide-angle" -> 0.5f + "telephoto" -> 2.0f + else -> 1.0f + }, + ) + info.setExposureState(0, Range(spec.exposureBias.first, spec.exposureBias.second), android.util.Rational(1, 6), spec.supportsExposure) + info.setIsFocusMeteringSupported(spec.supportsFocus || spec.supportsExposure || spec.supportsWhiteBalance) + val anyStabilization = spec.formats.any { it.videoStabilizationModes.isNotEmpty() } + info.setVideoStabilizationSupported(anyStabilization) + info.setIsPreviewStabilizationSupported(anyStabilization) + info.setSupportedFrameRateRanges(spec.formats.flatMap { it.fpsRanges }.map { Range(it.first, it.second) }.toSet()) + + val supportsHdr = spec.formats.any { it.videoHDR } + val dynamicRanges = if (supportsHdr) setOf(DynamicRange.SDR, DynamicRange.HLG_10_BIT) else setOf(DynamicRange.SDR) + info.setSupportedDynamicRanges(dynamicRanges) + info.setEncoderProfilesProvider(encoderProfiles(spec, supportsHdr)) + + val streamSizes = spec.formats.map { Size(it.width, it.height) }.distinct() + val photoSizes = spec.formats.flatMap { it.photoDimensions }.distinct() + info.setSupportedResolutions(ImageFormat.PRIVATE, streamSizes) + info.setSupportedResolutions(ImageFormat.YUV_420_888, streamSizes) + info.setSupportedResolutions(ImageFormat.JPEG, photoSizes) + if (spec.formats.any { it.highestPhotoQuality || it.highPhotoQuality }) { + info.setSupportedResolutions(ImageFormat.JPEG_R, photoSizes) + } + + val largest = photoSizes.maxByOrNull { it.width.toLong() * it.height } ?: Size(1920, 1080) + info.setSensorRect(Rect(0, 0, largest.width, largest.height)) + + // Camera2 interop: hand VisionCamera's untouched cameraId path a Camera2CameraInfo with the catalog id, + // and a real CameraCharacteristics so resolution/pixel-format reads resolve from the catalog in fake mode. + // Falls back to null (scene-runner coverage) if the hidden-API build fails on this emulator image. + val characteristics: CameraCharacteristics? = CatalogCameraCharacteristics.build(spec) + info.setUnwrapper( + object : FakeCameraInfoInternal.Unwrapper { + override fun unwrapAs(type: Class): T? = when (type) { + Camera2CameraInfo::class.java -> type.cast(Camera2CameraInfo.create(CatalogCameraProperties(spec.id, characteristics))) + CameraCharacteristics::class.java -> characteristics?.let { type.cast(it) } + else -> null + } + }, + ) + Log.i(TAG, "built fake camera ${spec.id} (${spec.position}) hdr=$supportsHdr stabilization=$anyStabilization characteristics=${characteristics != null}") + return FakeCamera(spec.id, null, info) + } + + private fun encoderProfiles(spec: FakeCameraDeviceSpec, supportsHdr: Boolean): EncoderProfilesProvider { + val builder = FakeEncoderProfilesProvider.Builder() + val size = spec.formats.map { Size(it.width, it.height) }.maxByOrNull { it.width.toLong() * it.height } ?: Size(1920, 1080) + val fps = spec.formats.flatMap { it.fpsRanges }.maxOf { it.second } + val videoProfiles = mutableListOf(videoProfile(size, fps, bitDepth = 8, hdrFormat = EncoderProfiles.VideoProfile.HDR_NONE)) + if (supportsHdr) { + videoProfiles.add(videoProfile(size, fps, bitDepth = 10, hdrFormat = EncoderProfiles.VideoProfile.HDR_HLG)) + } + val audio = EncoderProfilesProxy.AudioProfileProxy.create( + MediaRecorder.AudioEncoder.AAC, "audio/mp4a-latm", 128_000, 44_100, 1, EncoderProfilesProxy.CODEC_PROFILE_NONE, + ) + val profiles = EncoderProfilesProxy.ImmutableEncoderProfilesProxy.create( + /* defaultDurationSeconds= */ 30, MediaRecorder.OutputFormat.MPEG_4, listOf(audio), videoProfiles, + ) + // CamcorderProfile.QUALITY_HIGH + QUALITY_2160P/1080P/720P all resolve to this profile. + for (quality in intArrayOf(1, 8, 6, 5, 0)) { + builder.add(quality, profiles) + } + return builder.build() + } + + private fun videoProfile(size: Size, fps: Int, bitDepth: Int, hdrFormat: Int): EncoderProfilesProxy.VideoProfileProxy = + EncoderProfilesProxy.VideoProfileProxy.create( + MediaRecorder.VideoEncoder.HEVC, + "video/hevc", + /* bitrate= */ 10_000_000, + /* frameRate= */ fps, + size.width, + size.height, + EncoderProfilesProxy.CODEC_PROFILE_NONE, + bitDepth, + EncoderProfiles.VideoProfile.YUV_420, + hdrFormat, + ) +} diff --git a/apps/fake-simulated-camera/android/app/src/main/res/drawable/rn_edit_text_material.xml b/apps/fake-simulated-camera/android/app/src/main/res/drawable/rn_edit_text_material.xml new file mode 100644 index 0000000000..5c25e728ea --- /dev/null +++ b/apps/fake-simulated-camera/android/app/src/main/res/drawable/rn_edit_text_material.xml @@ -0,0 +1,37 @@ + + + + + + + + + + + diff --git a/apps/fake-simulated-camera/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/apps/fake-simulated-camera/android/app/src/main/res/mipmap-hdpi/ic_launcher.png new file mode 100644 index 0000000000..a2f5908281 Binary files /dev/null and b/apps/fake-simulated-camera/android/app/src/main/res/mipmap-hdpi/ic_launcher.png differ diff --git a/apps/fake-simulated-camera/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png b/apps/fake-simulated-camera/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png new file mode 100644 index 0000000000..1b52399808 Binary files /dev/null and b/apps/fake-simulated-camera/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png differ diff --git a/apps/fake-simulated-camera/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/apps/fake-simulated-camera/android/app/src/main/res/mipmap-mdpi/ic_launcher.png new file mode 100644 index 0000000000..ff10afd6e1 Binary files /dev/null and b/apps/fake-simulated-camera/android/app/src/main/res/mipmap-mdpi/ic_launcher.png differ diff --git a/apps/fake-simulated-camera/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png b/apps/fake-simulated-camera/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png new file mode 100644 index 0000000000..115a4c768a Binary files /dev/null and b/apps/fake-simulated-camera/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png differ diff --git a/apps/fake-simulated-camera/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/apps/fake-simulated-camera/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png new file mode 100644 index 0000000000..dcd3cd8083 Binary files /dev/null and b/apps/fake-simulated-camera/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/apps/fake-simulated-camera/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png b/apps/fake-simulated-camera/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png new file mode 100644 index 0000000000..459ca609d3 Binary files /dev/null and b/apps/fake-simulated-camera/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png differ diff --git a/apps/fake-simulated-camera/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/apps/fake-simulated-camera/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png new file mode 100644 index 0000000000..8ca12fe024 Binary files /dev/null and b/apps/fake-simulated-camera/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/apps/fake-simulated-camera/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png b/apps/fake-simulated-camera/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png new file mode 100644 index 0000000000..8e19b410a1 Binary files /dev/null and b/apps/fake-simulated-camera/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png differ diff --git a/apps/fake-simulated-camera/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/apps/fake-simulated-camera/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png new file mode 100644 index 0000000000..b824ebdd48 Binary files /dev/null and b/apps/fake-simulated-camera/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/apps/fake-simulated-camera/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png b/apps/fake-simulated-camera/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png new file mode 100644 index 0000000000..4c19a13c23 Binary files /dev/null and b/apps/fake-simulated-camera/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png differ diff --git a/apps/fake-simulated-camera/android/app/src/main/res/values/strings.xml b/apps/fake-simulated-camera/android/app/src/main/res/values/strings.xml new file mode 100644 index 0000000000..913ad55122 --- /dev/null +++ b/apps/fake-simulated-camera/android/app/src/main/res/values/strings.xml @@ -0,0 +1,3 @@ + + FakeSimulatedCamera + diff --git a/apps/fake-simulated-camera/android/app/src/main/res/values/styles.xml b/apps/fake-simulated-camera/android/app/src/main/res/values/styles.xml new file mode 100644 index 0000000000..7ba83a2ad5 --- /dev/null +++ b/apps/fake-simulated-camera/android/app/src/main/res/values/styles.xml @@ -0,0 +1,9 @@ + + + + + + diff --git a/apps/fake-simulated-camera/android/build.gradle b/apps/fake-simulated-camera/android/build.gradle new file mode 100644 index 0000000000..88163784ac --- /dev/null +++ b/apps/fake-simulated-camera/android/build.gradle @@ -0,0 +1,21 @@ +buildscript { + ext { + buildToolsVersion = "36.1.0" + minSdkVersion = 26 + compileSdkVersion = 36 + targetSdkVersion = 36 + ndkVersion = "29.0.14206865" + kotlinVersion = "2.2.21" + } + repositories { + google() + mavenCentral() + } + dependencies { + classpath("com.android.tools.build:gradle") + classpath("com.facebook.react:react-native-gradle-plugin") + classpath("org.jetbrains.kotlin:kotlin-gradle-plugin") + } +} + +apply plugin: "com.facebook.react.rootproject" diff --git a/apps/fake-simulated-camera/android/gradle.properties b/apps/fake-simulated-camera/android/gradle.properties new file mode 100644 index 0000000000..9afe61598f --- /dev/null +++ b/apps/fake-simulated-camera/android/gradle.properties @@ -0,0 +1,44 @@ +# Project-wide Gradle settings. + +# IDE (e.g. Android Studio) users: +# Gradle settings configured through the IDE *will override* +# any settings specified in this file. + +# For more details on how to configure your build environment visit +# http://www.gradle.org/docs/current/userguide/build_environment.html + +# Specifies the JVM arguments used for the daemon process. +# The setting is particularly useful for tweaking memory settings. +# Default value: -Xmx512m -XX:MaxMetaspaceSize=256m +org.gradle.jvmargs=-Xmx2048m -XX:MaxMetaspaceSize=512m + +# When configured, Gradle will run in incubating parallel mode. +# This option should only be used with decoupled projects. More details, visit +# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects +# org.gradle.parallel=true + +# AndroidX package structure to make it clearer which packages are bundled with the +# Android operating system, and which are packaged with your app's APK +# https://developer.android.com/topic/libraries/support-library/androidx-rn +android.useAndroidX=true + +# Use this property to specify which architecture you want to build. +# You can also override it from the CLI using +# ./gradlew -PreactNativeArchitectures=x86_64 +reactNativeArchitectures=armeabi-v7a,arm64-v8a,x86,x86_64 + +# Use this property to enable support to the new architecture. +# This will allow you to use TurboModules and the Fabric render in +# your application. You should enable this flag either if you want +# to write custom TurboModules/Fabric components OR use libraries that +# are providing them. +newArchEnabled=true + +# Use this property to enable or disable the Hermes JS engine. +# If set to false, you will be using JSC instead. +hermesEnabled=true + +# Use this property to enable edge-to-edge display support. +# This allows your app to draw behind system bars for an immersive UI. +# Note: Only works with ReactActivity and should not be used with custom Activity. +edgeToEdgeEnabled=false diff --git a/apps/fake-simulated-camera/android/gradle/wrapper/gradle-wrapper.jar b/apps/fake-simulated-camera/android/gradle/wrapper/gradle-wrapper.jar new file mode 100644 index 0000000000..61285a659d Binary files /dev/null and b/apps/fake-simulated-camera/android/gradle/wrapper/gradle-wrapper.jar differ diff --git a/apps/fake-simulated-camera/android/gradle/wrapper/gradle-wrapper.properties b/apps/fake-simulated-camera/android/gradle/wrapper/gradle-wrapper.properties new file mode 100644 index 0000000000..37f78a6af8 --- /dev/null +++ b/apps/fake-simulated-camera/android/gradle/wrapper/gradle-wrapper.properties @@ -0,0 +1,7 @@ +distributionBase=GRADLE_USER_HOME +distributionPath=wrapper/dists +distributionUrl=https\://services.gradle.org/distributions/gradle-9.3.1-bin.zip +networkTimeout=10000 +validateDistributionUrl=true +zipStoreBase=GRADLE_USER_HOME +zipStorePath=wrapper/dists diff --git a/apps/fake-simulated-camera/android/gradlew b/apps/fake-simulated-camera/android/gradlew new file mode 100755 index 0000000000..adff685a03 --- /dev/null +++ b/apps/fake-simulated-camera/android/gradlew @@ -0,0 +1,248 @@ +#!/bin/sh + +# +# Copyright © 2015 the original authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# SPDX-License-Identifier: Apache-2.0 +# + +############################################################################## +# +# Gradle start up script for POSIX generated by Gradle. +# +# Important for running: +# +# (1) You need a POSIX-compliant shell to run this script. If your /bin/sh is +# noncompliant, but you have some other compliant shell such as ksh or +# bash, then to run this script, type that shell name before the whole +# command line, like: +# +# ksh Gradle +# +# Busybox and similar reduced shells will NOT work, because this script +# requires all of these POSIX shell features: +# * functions; +# * expansions «$var», «${var}», «${var:-default}», «${var+SET}», +# «${var#prefix}», «${var%suffix}», and «$( cmd )»; +# * compound commands having a testable exit status, especially «case»; +# * various built-in commands including «command», «set», and «ulimit». +# +# Important for patching: +# +# (2) This script targets any POSIX shell, so it avoids extensions provided +# by Bash, Ksh, etc; in particular arrays are avoided. +# +# The "traditional" practice of packing multiple parameters into a +# space-separated string is a well documented source of bugs and security +# problems, so this is (mostly) avoided, by progressively accumulating +# options in "$@", and eventually passing that to Java. +# +# Where the inherited environment variables (DEFAULT_JVM_OPTS, JAVA_OPTS, +# and GRADLE_OPTS) rely on word-splitting, this is performed explicitly; +# see the in-line comments for details. +# +# There are tweaks for specific operating systems such as AIX, CygWin, +# Darwin, MinGW, and NonStop. +# +# (3) This script is generated from the Groovy template +# https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt +# within the Gradle project. +# +# You can find Gradle at https://github.com/gradle/gradle/. +# +############################################################################## + +# Attempt to set APP_HOME + +# Resolve links: $0 may be a link +app_path=$0 + +# Need this for daisy-chained symlinks. +while + APP_HOME=${app_path%"${app_path##*/}"} # leaves a trailing /; empty if no leading path + [ -h "$app_path" ] +do + ls=$( ls -ld "$app_path" ) + link=${ls#*' -> '} + case $link in #( + /*) app_path=$link ;; #( + *) app_path=$APP_HOME$link ;; + esac +done + +# This is normally unused +# shellcheck disable=SC2034 +APP_BASE_NAME=${0##*/} +# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036) +APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit + +# Use the maximum available, or set MAX_FD != -1 to use that value. +MAX_FD=maximum + +warn () { + echo "$*" +} >&2 + +die () { + echo + echo "$*" + echo + exit 1 +} >&2 + +# OS specific support (must be 'true' or 'false'). +cygwin=false +msys=false +darwin=false +nonstop=false +case "$( uname )" in #( + CYGWIN* ) cygwin=true ;; #( + Darwin* ) darwin=true ;; #( + MSYS* | MINGW* ) msys=true ;; #( + NONSTOP* ) nonstop=true ;; +esac + + + +# Determine the Java command to use to start the JVM. +if [ -n "$JAVA_HOME" ] ; then + if [ -x "$JAVA_HOME/jre/sh/java" ] ; then + # IBM's JDK on AIX uses strange locations for the executables + JAVACMD=$JAVA_HOME/jre/sh/java + else + JAVACMD=$JAVA_HOME/bin/java + fi + if [ ! -x "$JAVACMD" ] ; then + die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME + +Please set the JAVA_HOME variable in your environment to match the +location of your Java installation." + fi +else + JAVACMD=java + if ! command -v java >/dev/null 2>&1 + then + die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. + +Please set the JAVA_HOME variable in your environment to match the +location of your Java installation." + fi +fi + +# Increase the maximum file descriptors if we can. +if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then + case $MAX_FD in #( + max*) + # In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked. + # shellcheck disable=SC2039,SC3045 + MAX_FD=$( ulimit -H -n ) || + warn "Could not query maximum file descriptor limit" + esac + case $MAX_FD in #( + '' | soft) :;; #( + *) + # In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked. + # shellcheck disable=SC2039,SC3045 + ulimit -n "$MAX_FD" || + warn "Could not set maximum file descriptor limit to $MAX_FD" + esac +fi + +# Collect all arguments for the java command, stacking in reverse order: +# * args from the command line +# * the main class name +# * -classpath +# * -D...appname settings +# * --module-path (only if needed) +# * DEFAULT_JVM_OPTS, JAVA_OPTS, and GRADLE_OPTS environment variables. + +# For Cygwin or MSYS, switch paths to Windows format before running java +if "$cygwin" || "$msys" ; then + APP_HOME=$( cygpath --path --mixed "$APP_HOME" ) + + JAVACMD=$( cygpath --unix "$JAVACMD" ) + + # Now convert the arguments - kludge to limit ourselves to /bin/sh + for arg do + if + case $arg in #( + -*) false ;; # don't mess with options #( + /?*) t=${arg#/} t=/${t%%/*} # looks like a POSIX filepath + [ -e "$t" ] ;; #( + *) false ;; + esac + then + arg=$( cygpath --path --ignore --mixed "$arg" ) + fi + # Roll the args list around exactly as many times as the number of + # args, so each arg winds up back in the position where it started, but + # possibly modified. + # + # NB: a `for` loop captures its iteration list before it begins, so + # changing the positional parameters here affects neither the number of + # iterations, nor the values presented in `arg`. + shift # remove old arg + set -- "$@" "$arg" # push replacement arg + done +fi + + +# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' + +# Collect all arguments for the java command: +# * DEFAULT_JVM_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments, +# and any embedded shellness will be escaped. +# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be +# treated as '${Hostname}' itself on the command line. + +set -- \ + "-Dorg.gradle.appname=$APP_BASE_NAME" \ + -jar "$APP_HOME/gradle/wrapper/gradle-wrapper.jar" \ + "$@" + +# Stop when "xargs" is not available. +if ! command -v xargs >/dev/null 2>&1 +then + die "xargs is not available" +fi + +# Use "xargs" to parse quoted args. +# +# With -n1 it outputs one arg per line, with the quotes and backslashes removed. +# +# In Bash we could simply go: +# +# readarray ARGS < <( xargs -n1 <<<"$var" ) && +# set -- "${ARGS[@]}" "$@" +# +# but POSIX shell has neither arrays nor command substitution, so instead we +# post-process each arg (as a line of input to sed) to backslash-escape any +# character that might be a shell metacharacter, then use eval to reverse +# that process (while maintaining the separation between arguments), and wrap +# the whole thing up as a single "set" statement. +# +# This will of course break if any of these variables contains a newline or +# an unmatched quote. +# + +eval "set -- $( + printf '%s\n' "$DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS" | + xargs -n1 | + sed ' s~[^-[:alnum:]+,./:=@_]~\\&~g; ' | + tr '\n' ' ' + )" '"$@"' + +exec "$JAVACMD" "$@" diff --git a/apps/fake-simulated-camera/android/gradlew.bat b/apps/fake-simulated-camera/android/gradlew.bat new file mode 100644 index 0000000000..e509b2dd8f --- /dev/null +++ b/apps/fake-simulated-camera/android/gradlew.bat @@ -0,0 +1,93 @@ +@rem +@rem Copyright 2015 the original author or authors. +@rem +@rem Licensed under the Apache License, Version 2.0 (the "License"); +@rem you may not use this file except in compliance with the License. +@rem You may obtain a copy of the License at +@rem +@rem https://www.apache.org/licenses/LICENSE-2.0 +@rem +@rem Unless required by applicable law or agreed to in writing, software +@rem distributed under the License is distributed on an "AS IS" BASIS, +@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +@rem See the License for the specific language governing permissions and +@rem limitations under the License. +@rem +@rem SPDX-License-Identifier: Apache-2.0 +@rem + +@if "%DEBUG%"=="" @echo off +@rem ########################################################################## +@rem +@rem Gradle startup script for Windows +@rem +@rem ########################################################################## + +@rem Set local scope for the variables with windows NT shell +if "%OS%"=="Windows_NT" setlocal + +set DIRNAME=%~dp0 +if "%DIRNAME%"=="" set DIRNAME=. +@rem This is normally unused +set APP_BASE_NAME=%~n0 +set APP_HOME=%DIRNAME% + +@rem Resolve any "." and ".." in APP_HOME to make it shorter. +for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi + +@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m" + +@rem Find java.exe +if defined JAVA_HOME goto findJavaFromJavaHome + +set JAVA_EXE=java.exe +%JAVA_EXE% -version >NUL 2>&1 +if %ERRORLEVEL% equ 0 goto execute + +echo. 1>&2 +echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2 +echo. 1>&2 +echo Please set the JAVA_HOME variable in your environment to match the 1>&2 +echo location of your Java installation. 1>&2 + +goto fail + +:findJavaFromJavaHome +set JAVA_HOME=%JAVA_HOME:"=% +set JAVA_EXE=%JAVA_HOME%/bin/java.exe + +if exist "%JAVA_EXE%" goto execute + +echo. 1>&2 +echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2 +echo. 1>&2 +echo Please set the JAVA_HOME variable in your environment to match the 1>&2 +echo location of your Java installation. 1>&2 + +goto fail + +:execute +@rem Setup the command line + + + +@rem Execute Gradle +"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %* + +:end +@rem End local scope for the variables with windows NT shell +if %ERRORLEVEL% equ 0 goto mainEnd + +:fail +rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of +rem the _cmd.exe /c_ return code! +set EXIT_CODE=%ERRORLEVEL% +if %EXIT_CODE% equ 0 set EXIT_CODE=1 +if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE% +exit /b %EXIT_CODE% + +:mainEnd +if "%OS%"=="Windows_NT" endlocal + +:omega diff --git a/apps/fake-simulated-camera/android/settings.gradle b/apps/fake-simulated-camera/android/settings.gradle new file mode 100644 index 0000000000..c5f9a19919 --- /dev/null +++ b/apps/fake-simulated-camera/android/settings.gradle @@ -0,0 +1,6 @@ +pluginManagement { includeBuild("../../../node_modules/@react-native/gradle-plugin") } +plugins { id("com.facebook.react.settings") } +extensions.configure(com.facebook.react.ReactSettingsExtension){ ex -> ex.autolinkLibrariesFromCommand() } +rootProject.name = 'FakeSimulatedCamera' +include ':app' +includeBuild('../../../node_modules/@react-native/gradle-plugin') diff --git a/apps/fake-simulated-camera/app.json b/apps/fake-simulated-camera/app.json new file mode 100644 index 0000000000..8cf92dd691 --- /dev/null +++ b/apps/fake-simulated-camera/app.json @@ -0,0 +1,4 @@ +{ + "name": "FakeSimulatedCamera", + "displayName": "FakeSimulatedCamera" +} diff --git a/apps/fake-simulated-camera/babel.config.js b/apps/fake-simulated-camera/babel.config.js new file mode 100644 index 0000000000..3e0218e68f --- /dev/null +++ b/apps/fake-simulated-camera/babel.config.js @@ -0,0 +1,3 @@ +module.exports = { + presets: ['module:@react-native/babel-preset'], +} diff --git a/apps/fake-simulated-camera/index.js b/apps/fake-simulated-camera/index.js new file mode 100644 index 0000000000..c6f88c403b --- /dev/null +++ b/apps/fake-simulated-camera/index.js @@ -0,0 +1,9 @@ +/** + * @format + */ + +import { AppRegistry } from 'react-native' +import { name as appName } from './app.json' +import App from './src/App' + +AppRegistry.registerComponent(appName, () => App) diff --git a/apps/fake-simulated-camera/ios/.xcode.env b/apps/fake-simulated-camera/ios/.xcode.env new file mode 100644 index 0000000000..3d5782c715 --- /dev/null +++ b/apps/fake-simulated-camera/ios/.xcode.env @@ -0,0 +1,11 @@ +# This `.xcode.env` file is versioned and is used to source the environment +# used when running script phases inside Xcode. +# To customize your local environment, you can create an `.xcode.env.local` +# file that is not versioned. + +# NODE_BINARY variable contains the PATH to the node executable. +# +# Customize the NODE_BINARY variable here. +# For example, to use nvm with brew, add the following line +# . "$(brew --prefix nvm)/nvm.sh" --no-use +export NODE_BINARY=$(command -v node) diff --git a/apps/fake-simulated-camera/ios/FakeSimulatedCamera.xcodeproj/project.pbxproj b/apps/fake-simulated-camera/ios/FakeSimulatedCamera.xcodeproj/project.pbxproj new file mode 100644 index 0000000000..30317afcb7 --- /dev/null +++ b/apps/fake-simulated-camera/ios/FakeSimulatedCamera.xcodeproj/project.pbxproj @@ -0,0 +1,568 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 54; + objects = { + +/* Begin PBXBuildFile section */ + F41591E2350CA754785C8585 /* FakeCamera.m in Sources */ = {isa = PBXBuildFile; fileRef = 6036C67F9ECB9D7BD2A49540 /* FakeCamera.m */; }; + 2A9F64A835C7C26557C27F87 /* FakeCameraLog.m in Sources */ = {isa = PBXBuildFile; fileRef = 407D664F4D0005D0A4F2A552 /* FakeCameraLog.m */; }; + 20FD39897F8A73D41CC734A7 /* FakeCameraSwizzle.m in Sources */ = {isa = PBXBuildFile; fileRef = 5A4ABA1492DE3BA741C48A8B /* FakeCameraSwizzle.m */; }; + 55D6AAB2BA9AB0E515549932 /* FakeCameraCatalog.m in Sources */ = {isa = PBXBuildFile; fileRef = A503BE51418F64405563797D /* FakeCameraCatalog.m */; }; + D0248549563A917A47F86C5E /* FakeCameraObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = 7DE25FE415C1EF7AE4CDB90E /* FakeCameraObjects.m */; }; + BC166B2D49F1E6BCF5790B05 /* FakeCameraDiscovery.m in Sources */ = {isa = PBXBuildFile; fileRef = 9E3088216CD8A88C62A9BDFA /* FakeCameraDiscovery.m */; }; + 59388627D5D94CD5C3724C22 /* FakeCameraSession.m in Sources */ = {isa = PBXBuildFile; fileRef = 3128DDB161F08F790D435D9C /* FakeCameraSession.m */; }; + BC45F8C6D178CA6B17411982 /* FakeCameraFramePump.m in Sources */ = {isa = PBXBuildFile; fileRef = 3DFDE51161EA11E600116B45 /* FakeCameraFramePump.m */; }; + 49937B93BD82AB95F5CF8173 /* scenes in Resources */ = {isa = PBXBuildFile; fileRef = 70802467FB48775DC9961992 /* scenes */; }; + 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; + 761780ED2CA45674006654EE /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 761780EC2CA45674006654EE /* AppDelegate.swift */; }; + 7942A3BA92A2F4C28D623278 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB81A68108700A75B9A /* PrivacyInfo.xcprivacy */; }; + 81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */; }; + CD5E53A548EFC1AEAC11C5AC /* libPods-FakeSimulatedCamera.a in Frameworks */ = {isa = PBXBuildFile; fileRef = BECD76ABC304D3BDE643076A /* libPods-FakeSimulatedCamera.a */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + 6036C67F9ECB9D7BD2A49540 /* FakeCamera.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = FakeCamera.m; path = FakeSimulatedCamera/FakeCamera/FakeCamera.m; sourceTree = ""; }; + 407D664F4D0005D0A4F2A552 /* FakeCameraLog.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = FakeCameraLog.m; path = FakeSimulatedCamera/FakeCamera/FakeCameraLog.m; sourceTree = ""; }; + 5A4ABA1492DE3BA741C48A8B /* FakeCameraSwizzle.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = FakeCameraSwizzle.m; path = FakeSimulatedCamera/FakeCamera/FakeCameraSwizzle.m; sourceTree = ""; }; + A503BE51418F64405563797D /* FakeCameraCatalog.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = FakeCameraCatalog.m; path = FakeSimulatedCamera/FakeCamera/FakeCameraCatalog.m; sourceTree = ""; }; + 7DE25FE415C1EF7AE4CDB90E /* FakeCameraObjects.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = FakeCameraObjects.m; path = FakeSimulatedCamera/FakeCamera/FakeCameraObjects.m; sourceTree = ""; }; + 9E3088216CD8A88C62A9BDFA /* FakeCameraDiscovery.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = FakeCameraDiscovery.m; path = FakeSimulatedCamera/FakeCamera/FakeCameraDiscovery.m; sourceTree = ""; }; + 3128DDB161F08F790D435D9C /* FakeCameraSession.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = FakeCameraSession.m; path = FakeSimulatedCamera/FakeCamera/FakeCameraSession.m; sourceTree = ""; }; + 3DFDE51161EA11E600116B45 /* FakeCameraFramePump.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = FakeCameraFramePump.m; path = FakeSimulatedCamera/FakeCamera/FakeCameraFramePump.m; sourceTree = ""; }; + 2576387B44B0491272053335 /* FakeCamera.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = FakeCamera.h; path = FakeSimulatedCamera/FakeCamera/FakeCamera.h; sourceTree = ""; }; + F1609A87DEE539F1580B4BB1 /* FakeCameraLog.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = FakeCameraLog.h; path = FakeSimulatedCamera/FakeCamera/FakeCameraLog.h; sourceTree = ""; }; + C6013B9A8CDEAD66A845C40A /* FakeCameraSwizzle.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = FakeCameraSwizzle.h; path = FakeSimulatedCamera/FakeCamera/FakeCameraSwizzle.h; sourceTree = ""; }; + F63054700B6EF9DAD887BAC0 /* FakeCameraCatalog.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = FakeCameraCatalog.h; path = FakeSimulatedCamera/FakeCamera/FakeCameraCatalog.h; sourceTree = ""; }; + 83081E77E01A9C37A1317B9D /* FakeCameraObjects.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = FakeCameraObjects.h; path = FakeSimulatedCamera/FakeCamera/FakeCameraObjects.h; sourceTree = ""; }; + 6DAF59939DFAD0352073B964 /* FakeCameraDiscovery.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = FakeCameraDiscovery.h; path = FakeSimulatedCamera/FakeCamera/FakeCameraDiscovery.h; sourceTree = ""; }; + 0D97930B488D6078322E7CF7 /* FakeCameraSession.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = FakeCameraSession.h; path = FakeSimulatedCamera/FakeCamera/FakeCameraSession.h; sourceTree = ""; }; + F2A15B7C4274D3C06CC8A64C /* FakeCameraFramePump.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = FakeCameraFramePump.h; path = FakeSimulatedCamera/FakeCamera/FakeCameraFramePump.h; sourceTree = ""; }; + 5980AA6B6651E1C37CEA755A /* FakeSimulatedCamera-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "FakeSimulatedCamera-Bridging-Header.h"; path = "FakeSimulatedCamera/FakeSimulatedCamera-Bridging-Header.h"; sourceTree = ""; }; + 70802467FB48775DC9961992 /* scenes */ = {isa = PBXFileReference; lastKnownFileType = folder; name = scenes; path = ../scenes; sourceTree = ""; }; + 0BC3913005B45C281440831B /* Pods-FakeSimulatedCamera.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-FakeSimulatedCamera.release.xcconfig"; path = "Target Support Files/Pods-FakeSimulatedCamera/Pods-FakeSimulatedCamera.release.xcconfig"; sourceTree = ""; }; + 13B07F961A680F5B00A75B9A /* FakeSimulatedCamera.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = FakeSimulatedCamera.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = FakeSimulatedCamera/Images.xcassets; sourceTree = ""; }; + 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = FakeSimulatedCamera/Info.plist; sourceTree = ""; }; + 13B07FB81A68108700A75B9A /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = PrivacyInfo.xcprivacy; path = FakeSimulatedCamera/PrivacyInfo.xcprivacy; sourceTree = ""; }; + 761780EC2CA45674006654EE /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = AppDelegate.swift; path = FakeSimulatedCamera/AppDelegate.swift; sourceTree = ""; }; + 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = FakeSimulatedCamera/LaunchScreen.storyboard; sourceTree = ""; }; + BECD76ABC304D3BDE643076A /* libPods-FakeSimulatedCamera.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-FakeSimulatedCamera.a"; sourceTree = BUILT_PRODUCTS_DIR; }; + DCAEECC560FB2F25AE78B25A /* Pods-FakeSimulatedCamera.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-FakeSimulatedCamera.debug.xcconfig"; path = "Target Support Files/Pods-FakeSimulatedCamera/Pods-FakeSimulatedCamera.debug.xcconfig"; sourceTree = ""; }; + ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 13B07F8C1A680F5B00A75B9A /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + CD5E53A548EFC1AEAC11C5AC /* libPods-FakeSimulatedCamera.a in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 3A2300BC30624CD93DF1F65F /* FakeCamera */ = { + isa = PBXGroup; + children = ( + 6036C67F9ECB9D7BD2A49540 /* FakeCamera.m */, + 407D664F4D0005D0A4F2A552 /* FakeCameraLog.m */, + 5A4ABA1492DE3BA741C48A8B /* FakeCameraSwizzle.m */, + A503BE51418F64405563797D /* FakeCameraCatalog.m */, + 7DE25FE415C1EF7AE4CDB90E /* FakeCameraObjects.m */, + 9E3088216CD8A88C62A9BDFA /* FakeCameraDiscovery.m */, + 3128DDB161F08F790D435D9C /* FakeCameraSession.m */, + 3DFDE51161EA11E600116B45 /* FakeCameraFramePump.m */, + 2576387B44B0491272053335 /* FakeCamera.h */, + F1609A87DEE539F1580B4BB1 /* FakeCameraLog.h */, + C6013B9A8CDEAD66A845C40A /* FakeCameraSwizzle.h */, + F63054700B6EF9DAD887BAC0 /* FakeCameraCatalog.h */, + 83081E77E01A9C37A1317B9D /* FakeCameraObjects.h */, + 6DAF59939DFAD0352073B964 /* FakeCameraDiscovery.h */, + 0D97930B488D6078322E7CF7 /* FakeCameraSession.h */, + F2A15B7C4274D3C06CC8A64C /* FakeCameraFramePump.h */, + ); + name = FakeCamera; + sourceTree = ""; + }; + 13B07FAE1A68108700A75B9A /* FakeSimulatedCamera */ = { + isa = PBXGroup; + children = ( + 13B07FB51A68108700A75B9A /* Images.xcassets */, + 761780EC2CA45674006654EE /* AppDelegate.swift */, + 3A2300BC30624CD93DF1F65F /* FakeCamera */, + 5980AA6B6651E1C37CEA755A /* FakeSimulatedCamera-Bridging-Header.h */, + 13B07FB61A68108700A75B9A /* Info.plist */, + 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */, + 13B07FB81A68108700A75B9A /* PrivacyInfo.xcprivacy */, + ); + name = FakeSimulatedCamera; + sourceTree = ""; + }; + 2D16E6871FA4F8E400B85C8A /* Frameworks */ = { + isa = PBXGroup; + children = ( + ED297162215061F000B7C4FE /* JavaScriptCore.framework */, + BECD76ABC304D3BDE643076A /* libPods-FakeSimulatedCamera.a */, + ); + name = Frameworks; + sourceTree = ""; + }; + 832341AE1AAA6A7D00B99B32 /* Libraries */ = { + isa = PBXGroup; + children = ( + ); + name = Libraries; + sourceTree = ""; + }; + 83CBB9F61A601CBA00E9B192 = { + isa = PBXGroup; + children = ( + 13B07FAE1A68108700A75B9A /* FakeSimulatedCamera */, + 70802467FB48775DC9961992 /* scenes */, + 832341AE1AAA6A7D00B99B32 /* Libraries */, + 83CBBA001A601CBA00E9B192 /* Products */, + 2D16E6871FA4F8E400B85C8A /* Frameworks */, + BBD78D7AC51CEA395F1C20DB /* Pods */, + ); + indentWidth = 2; + sourceTree = ""; + tabWidth = 2; + usesTabs = 0; + }; + 83CBBA001A601CBA00E9B192 /* Products */ = { + isa = PBXGroup; + children = ( + 13B07F961A680F5B00A75B9A /* FakeSimulatedCamera.app */, + ); + name = Products; + sourceTree = ""; + }; + BBD78D7AC51CEA395F1C20DB /* Pods */ = { + isa = PBXGroup; + children = ( + DCAEECC560FB2F25AE78B25A /* Pods-FakeSimulatedCamera.debug.xcconfig */, + 0BC3913005B45C281440831B /* Pods-FakeSimulatedCamera.release.xcconfig */, + ); + path = Pods; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 13B07F861A680F5B00A75B9A /* FakeSimulatedCamera */ = { + isa = PBXNativeTarget; + buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "FakeSimulatedCamera" */; + buildPhases = ( + FF8919CD419A2DDBF5FF89CE /* [CP] Check Pods Manifest.lock */, + 13B07F871A680F5B00A75B9A /* Sources */, + 13B07F8C1A680F5B00A75B9A /* Frameworks */, + 13B07F8E1A680F5B00A75B9A /* Resources */, + 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */, + ED316CA97AC37062F84C6F55 /* [CP] Embed Pods Frameworks */, + E66C89007D8B24BBB7F89A64 /* [CP] Copy Pods Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = FakeSimulatedCamera; + productName = FakeSimulatedCamera; + productReference = 13B07F961A680F5B00A75B9A /* FakeSimulatedCamera.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 83CBB9F71A601CBA00E9B192 /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 1210; + TargetAttributes = { + 13B07F861A680F5B00A75B9A = { + LastSwiftMigration = 1120; + }; + }; + }; + buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "FakeSimulatedCamera" */; + compatibilityVersion = "Xcode 12.0"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 83CBB9F61A601CBA00E9B192; + productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 13B07F861A680F5B00A75B9A /* FakeSimulatedCamera */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 13B07F8E1A680F5B00A75B9A /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */, + 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */, + 7942A3BA92A2F4C28D623278 /* PrivacyInfo.xcprivacy in Resources */, + 49937B93BD82AB95F5CF8173 /* scenes in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXShellScriptBuildPhase section */ + 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "$(SRCROOT)/.xcode.env.local", + "$(SRCROOT)/.xcode.env", + ); + name = "Bundle React Native code and images"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "set -e\n\nWITH_ENVIRONMENT=\"$REACT_NATIVE_PATH/scripts/xcode/with-environment.sh\"\nREACT_NATIVE_XCODE=\"$REACT_NATIVE_PATH/scripts/react-native-xcode.sh\"\n\n/bin/sh -c \"\\\"$WITH_ENVIRONMENT\\\" \\\"$REACT_NATIVE_XCODE\\\"\"\n"; + }; + E66C89007D8B24BBB7F89A64 /* [CP] Copy Pods Resources */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-FakeSimulatedCamera/Pods-FakeSimulatedCamera-resources-${CONFIGURATION}-input-files.xcfilelist", + ); + name = "[CP] Copy Pods Resources"; + outputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-FakeSimulatedCamera/Pods-FakeSimulatedCamera-resources-${CONFIGURATION}-output-files.xcfilelist", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-FakeSimulatedCamera/Pods-FakeSimulatedCamera-resources.sh\"\n"; + showEnvVarsInLog = 0; + }; + ED316CA97AC37062F84C6F55 /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-FakeSimulatedCamera/Pods-FakeSimulatedCamera-frameworks-${CONFIGURATION}-input-files.xcfilelist", + ); + name = "[CP] Embed Pods Frameworks"; + outputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-FakeSimulatedCamera/Pods-FakeSimulatedCamera-frameworks-${CONFIGURATION}-output-files.xcfilelist", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-FakeSimulatedCamera/Pods-FakeSimulatedCamera-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; + FF8919CD419A2DDBF5FF89CE /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputFileListPaths = ( + ); + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-FakeSimulatedCamera-checkManifestLockResult.txt", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; + showEnvVarsInLog = 0; + }; +/* End PBXShellScriptBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 13B07F871A680F5B00A75B9A /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 761780ED2CA45674006654EE /* AppDelegate.swift in Sources */, + F41591E2350CA754785C8585 /* FakeCamera.m in Sources */, + 2A9F64A835C7C26557C27F87 /* FakeCameraLog.m in Sources */, + 20FD39897F8A73D41CC734A7 /* FakeCameraSwizzle.m in Sources */, + 55D6AAB2BA9AB0E515549932 /* FakeCameraCatalog.m in Sources */, + D0248549563A917A47F86C5E /* FakeCameraObjects.m in Sources */, + BC166B2D49F1E6BCF5790B05 /* FakeCameraDiscovery.m in Sources */, + 59388627D5D94CD5C3724C22 /* FakeCameraSession.m in Sources */, + BC45F8C6D178CA6B17411982 /* FakeCameraFramePump.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin XCBuildConfiguration section */ + 13B07F941A680F5B00A75B9A /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = DCAEECC560FB2F25AE78B25A /* Pods-FakeSimulatedCamera.debug.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CLANG_ENABLE_MODULES = YES; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = CJW62Q77E7; + ENABLE_BITCODE = NO; + INFOPLIST_FILE = FakeSimulatedCamera/Info.plist; + INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.developer-tools"; + IPHONEOS_DEPLOYMENT_TARGET = 15.5; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + MARKETING_VERSION = 1.0; + OTHER_LDFLAGS = ( + "$(inherited)", + "-ObjC", + "-lc++", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.margelo.nitro.camera.example.fake; + PRODUCT_NAME = FakeSimulatedCamera; + SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; + SUPPORTS_MACCATALYST = NO; + SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = YES; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 5.0; + SWIFT_OBJC_BRIDGING_HEADER = "FakeSimulatedCamera/FakeSimulatedCamera-Bridging-Header.h"; + "EXCLUDED_SOURCE_FILE_NAMES[sdk=iphoneos*]" = "FakeCamera*.m"; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + }; + name = Debug; + }; + 13B07F951A680F5B00A75B9A /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 0BC3913005B45C281440831B /* Pods-FakeSimulatedCamera.release.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CLANG_ENABLE_MODULES = YES; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = CJW62Q77E7; + INFOPLIST_FILE = FakeSimulatedCamera/Info.plist; + INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.developer-tools"; + IPHONEOS_DEPLOYMENT_TARGET = 15.5; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + MARKETING_VERSION = 1.0; + OTHER_LDFLAGS = ( + "$(inherited)", + "-ObjC", + "-lc++", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.margelo.nitro.camera.example.fake; + PRODUCT_NAME = FakeSimulatedCamera; + SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; + SUPPORTS_MACCATALYST = NO; + SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = YES; + SWIFT_VERSION = 5.0; + SWIFT_OBJC_BRIDGING_HEADER = "FakeSimulatedCamera/FakeSimulatedCamera-Bridging-Header.h"; + "EXCLUDED_SOURCE_FILE_NAMES[sdk=iphoneos*]" = "FakeCamera*.m"; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + }; + name = Release; + }; + 83CBBA201A601CBA00E9B192 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; + CLANG_CXX_LANGUAGE_STANDARD = "c++20"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = ""; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 15.5; + LD_RUNPATH_SEARCH_PATHS = ( + /usr/lib/swift, + "$(inherited)", + ); + LIBRARY_SEARCH_PATHS = ( + "\"$(SDKROOT)/usr/lib/swift\"", + "\"$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)\"", + "\"$(inherited)\"", + ); + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + OTHER_CFLAGS = ( + "$(inherited)", + "-DRCT_REMOVE_LEGACY_ARCH=1", + ); + OTHER_CPLUSPLUSFLAGS = ( + "$(OTHER_CFLAGS)", + "-DFOLLY_NO_CONFIG", + "-DFOLLY_MOBILE=1", + "-DFOLLY_USE_LIBCPP=1", + "-DFOLLY_CFG_NO_COROUTINES=1", + "-DFOLLY_HAVE_CLOCK_GETTIME=1", + "-DRCT_REMOVE_LEGACY_ARCH=1", + ); + REACT_NATIVE_PATH = "${PODS_ROOT}/../../../../node_modules/react-native"; + SDKROOT = iphoneos; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) DEBUG"; + SWIFT_ENABLE_EXPLICIT_MODULES = NO; + USE_HERMES = true; + }; + name = Debug; + }; + 83CBBA211A601CBA00E9B192 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; + CLANG_CXX_LANGUAGE_STANDARD = "c++20"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = YES; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = ""; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 15.5; + LD_RUNPATH_SEARCH_PATHS = ( + /usr/lib/swift, + "$(inherited)", + ); + LIBRARY_SEARCH_PATHS = ( + "\"$(SDKROOT)/usr/lib/swift\"", + "\"$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)\"", + "\"$(inherited)\"", + ); + MTL_ENABLE_DEBUG_INFO = NO; + OTHER_CFLAGS = ( + "$(inherited)", + "-DRCT_REMOVE_LEGACY_ARCH=1", + ); + OTHER_CPLUSPLUSFLAGS = ( + "$(OTHER_CFLAGS)", + "-DFOLLY_NO_CONFIG", + "-DFOLLY_MOBILE=1", + "-DFOLLY_USE_LIBCPP=1", + "-DFOLLY_CFG_NO_COROUTINES=1", + "-DFOLLY_HAVE_CLOCK_GETTIME=1", + "-DRCT_REMOVE_LEGACY_ARCH=1", + ); + REACT_NATIVE_PATH = "${PODS_ROOT}/../../../../node_modules/react-native"; + SDKROOT = iphoneos; + SWIFT_ENABLE_EXPLICIT_MODULES = NO; + USE_HERMES = true; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "FakeSimulatedCamera" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 13B07F941A680F5B00A75B9A /* Debug */, + 13B07F951A680F5B00A75B9A /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "FakeSimulatedCamera" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 83CBBA201A601CBA00E9B192 /* Debug */, + 83CBBA211A601CBA00E9B192 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */; +} diff --git a/apps/fake-simulated-camera/ios/FakeSimulatedCamera.xcodeproj/xcshareddata/xcschemes/FakeSimulatedCamera.xcscheme b/apps/fake-simulated-camera/ios/FakeSimulatedCamera.xcodeproj/xcshareddata/xcschemes/FakeSimulatedCamera.xcscheme new file mode 100644 index 0000000000..d4e58ef4d1 --- /dev/null +++ b/apps/fake-simulated-camera/ios/FakeSimulatedCamera.xcodeproj/xcshareddata/xcschemes/FakeSimulatedCamera.xcscheme @@ -0,0 +1,88 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apps/fake-simulated-camera/ios/FakeSimulatedCamera.xcworkspace/contents.xcworkspacedata b/apps/fake-simulated-camera/ios/FakeSimulatedCamera.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000000..95a07f4404 --- /dev/null +++ b/apps/fake-simulated-camera/ios/FakeSimulatedCamera.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,10 @@ + + + + + + + diff --git a/apps/fake-simulated-camera/ios/FakeSimulatedCamera/AppDelegate.swift b/apps/fake-simulated-camera/ios/FakeSimulatedCamera/AppDelegate.swift new file mode 100644 index 0000000000..d7486e0aca --- /dev/null +++ b/apps/fake-simulated-camera/ios/FakeSimulatedCamera/AppDelegate.swift @@ -0,0 +1,83 @@ +import UIKit +import React +import React_RCTAppDelegate +import ReactAppDependencyProvider + +@main +class AppDelegate: UIResponder, UIApplicationDelegate { + var window: UIWindow? + + var reactNativeDelegate: ReactNativeDelegate? + var reactNativeFactory: RCTReactNativeFactory? + + private func valueForLaunchArgument(_ name: String) -> String? { + let args = ProcessInfo.processInfo.arguments + guard let index = args.firstIndex(of: name), index + 1 < args.count else { + return nil + } + return args[index + 1] + } + + private func configureMetroFromLaunchContext() { + let defaults = UserDefaults.standard + let launchArgJsLocation = valueForLaunchArgument("-RCT_jsLocation") + let launchArgPackagerScheme = valueForLaunchArgument("-RCT_packager_scheme") + + // React Native reads these UserDefaults when constructing the debug Metro URL. + // This is only for Harness runs on AWS Device Farm, where the physical iOS + // device needs a custom IPv6 Metro host passed through launch arguments from + // apps/simple-camera/rn-harness.config.mjs. + // Release builds still use the prebundled JS bundle in bundleURL(), so these + // values do not affect release app startup. + if let jsLocation = launchArgJsLocation { + defaults.set(jsLocation, forKey: "RCT_jsLocation") + } + + if let packagerScheme = launchArgPackagerScheme { + defaults.set(packagerScheme, forKey: "RCT_packager_scheme") + } + } + + func application( + _ application: UIApplication, + didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? = nil + ) -> Bool { + configureMetroFromLaunchContext() + + #if DEBUG && targetEnvironment(simulator) + // Inject the catalog-defined fake camera before VisionCamera touches AVFoundation. + FakeCameraInstall() + #endif + + let delegate = ReactNativeDelegate() + let factory = RCTReactNativeFactory(delegate: delegate) + delegate.dependencyProvider = RCTAppDependencyProvider() + + reactNativeDelegate = delegate + reactNativeFactory = factory + + window = UIWindow(frame: UIScreen.main.bounds) + + factory.startReactNative( + withModuleName: "FakeSimulatedCamera", + in: window, + launchOptions: launchOptions + ) + + return true + } +} + +class ReactNativeDelegate: RCTDefaultReactNativeFactoryDelegate { + override func sourceURL(for bridge: RCTBridge) -> URL? { + self.bundleURL() + } + + override func bundleURL() -> URL? { +#if DEBUG + RCTBundleURLProvider.sharedSettings().jsBundleURL(forBundleRoot: "index") +#else + Bundle.main.url(forResource: "main", withExtension: "jsbundle") +#endif + } +} diff --git a/apps/fake-simulated-camera/ios/FakeSimulatedCamera/FakeCamera/FakeCamera.h b/apps/fake-simulated-camera/ios/FakeSimulatedCamera/FakeCamera/FakeCamera.h new file mode 100644 index 0000000000..8ea0ba93e8 --- /dev/null +++ b/apps/fake-simulated-camera/ios/FakeSimulatedCamera/FakeCamera/FakeCamera.h @@ -0,0 +1,8 @@ +#import + +NS_ASSUME_NONNULL_BEGIN + +/// Installs the catalog-defined fake camera into AVFoundation. Simulator-only; call before React Native starts. +FOUNDATION_EXPORT void FakeCameraInstall(void); + +NS_ASSUME_NONNULL_END diff --git a/apps/fake-simulated-camera/ios/FakeSimulatedCamera/FakeCamera/FakeCamera.m b/apps/fake-simulated-camera/ios/FakeSimulatedCamera/FakeCamera/FakeCamera.m new file mode 100644 index 0000000000..ab94fe4ba2 --- /dev/null +++ b/apps/fake-simulated-camera/ios/FakeSimulatedCamera/FakeCamera/FakeCamera.m @@ -0,0 +1,53 @@ +#import "FakeCamera.h" + +#import +#import + +#import "FakeCameraCatalog.h" +#import "FakeCameraDiscovery.h" +#import "FakeCameraLog.h" +#import "FakeCameraObjects.h" +#import "FakeCameraSession.h" + +static NSString *catalogName(void) { + NSArray *arguments = NSProcessInfo.processInfo.arguments; + NSUInteger index = [arguments indexOfObject:@"-FakeCameraCatalog"]; + if (index != NSNotFound && index + 1 < arguments.count) { + return arguments[index + 1]; + } + NSString *environment = NSProcessInfo.processInfo.environment[@"FAKE_CAMERA_CATALOG"]; + return environment.length > 0 ? environment : @"default"; +} + +static NSString *sha256(NSData *data) { + unsigned char digest[CC_SHA256_DIGEST_LENGTH]; + CC_SHA256(data.bytes, (CC_LONG)data.length, digest); + NSMutableString *hex = [NSMutableString stringWithCapacity:CC_SHA256_DIGEST_LENGTH * 2]; + for (int i = 0; i < CC_SHA256_DIGEST_LENGTH; i++) { + [hex appendFormat:@"%02x", digest[i]]; + } + return hex; +} + +void FakeCameraInstall(void) { + static dispatch_once_t once; + dispatch_once(&once, ^{ + NSString *name = catalogName(); + NSError *error; + FakeCameraCatalog *catalog = [FakeCameraCatalog catalogNamed:name bundle:NSBundle.mainBundle error:&error]; + if (catalog == nil) { + FAKECAM_FAULT("catalog %{public}@ unavailable: %{public}@", name, error.localizedDescription); + [NSException raise:@"FakeCameraCatalog" format:@"catalog %@ unavailable: %@", name, error.localizedDescription]; + } + NSData *sceneData = [NSData dataWithContentsOfURL:catalog.sceneURL]; + UIImage *scene = [UIImage imageWithData:sceneData]; + if (scene.CGImage == NULL) { + [NSException raise:@"FakeCameraCatalog" format:@"scenes/%@ is not a decodable image", catalog.sceneFileName]; + } + [FakeCameraRegistry.shared installCatalog:catalog sceneImage:scene.CGImage]; + FakeCameraInstallDiscoveryHooks(); + FakeCameraInstallSessionHooks(); + NSArray *ids = [FakeCameraRegistry.shared.devices valueForKey:@"uniqueID"]; + FAKECAM_INFO("mode=fake:%{public}@ devices=%{public}@ scene=%{public}@ sha256=%{public}@", name, [ids componentsJoinedByString:@","], catalog.sceneFileName, sha256(sceneData)); + }); +} diff --git a/apps/fake-simulated-camera/ios/FakeSimulatedCamera/FakeCamera/FakeCameraCatalog.h b/apps/fake-simulated-camera/ios/FakeSimulatedCamera/FakeCamera/FakeCameraCatalog.h new file mode 100644 index 0000000000..1b3bfff905 --- /dev/null +++ b/apps/fake-simulated-camera/ios/FakeSimulatedCamera/FakeCamera/FakeCameraCatalog.h @@ -0,0 +1,63 @@ +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +FOUNDATION_EXPORT NSErrorDomain const FakeCameraErrorDomain; + +/// One `AVCaptureDevice.Format` of a fake device (authored in `FakeCameraCatalog.m`). +@interface FakeCameraFormatSpec : NSObject +@property (nonatomic, copy) NSString *name; +@property (nonatomic) int32_t width; +@property (nonatomic) int32_t height; +@property (nonatomic) OSType pixelFormatType; +/// Pairs of `[min, max]` frame rates. +@property (nonatomic, copy) NSArray *> *fpsRanges; +/// `CMVideoDimensions` boxed in `NSValue`s. +@property (nonatomic, copy) NSArray *photoDimensions; +@property (nonatomic) AVCaptureAutoFocusSystem autoFocusSystem; +/// `AVCaptureVideoStabilizationMode` raw values. +@property (nonatomic, copy) NSArray *videoStabilizationModes; +@property (nonatomic) BOOL binned; +@property (nonatomic) BOOL videoHDR; +/// `AVCaptureColorSpace` raw values. +@property (nonatomic, copy) NSArray *colorSpaces; +@property (nonatomic) BOOL highestPhotoQuality; +@property (nonatomic) BOOL highPhotoQuality; +@property (nonatomic) BOOL multiCam; +@end + +/// One `AVCaptureDevice` of the catalog. +@interface FakeCameraDeviceSpec : NSObject +@property (nonatomic, copy) NSString *uniqueID; +@property (nonatomic, copy) NSString *name; +@property (nonatomic, copy) NSString *modelID; +@property (nonatomic, copy) AVCaptureDeviceType deviceType; +@property (nonatomic) AVCaptureDevicePosition position; +@property (nonatomic) BOOL hasFlash; +@property (nonatomic) BOOL hasTorch; +@property (nonatomic) CGFloat minZoom; +@property (nonatomic) CGFloat maxZoom; +@property (nonatomic) float lensAperture; +@property (nonatomic) int32_t focalLength; +@property (nonatomic) float minExposureBias; +@property (nonatomic) float maxExposureBias; +@property (nonatomic) BOOL supportsFocus; +@property (nonatomic) BOOL supportsExposure; +@property (nonatomic) BOOL supportsWhiteBalance; +@property (nonatomic) BOOL supportsLowLightBoost; +@property (nonatomic, copy) NSArray *formats; +@end + +@interface FakeCameraCatalog : NSObject +@property (nonatomic, copy, readonly) NSString *name; +@property (nonatomic, copy, readonly) NSString *sceneFileName; +@property (nonatomic, copy, readonly) NSURL *sceneURL; +@property (nonatomic, copy, readonly) NSArray *devices; + +/// Builds the natively-authored catalog for `name` (`"variants"` selects the robustness set, otherwise default) and +/// resolves its scene from `bundle`. Returns nil with an error only if the scene asset is missing. ++ (nullable instancetype)catalogNamed:(NSString *)name bundle:(NSBundle *)bundle error:(NSError **)error; +@end + +NS_ASSUME_NONNULL_END diff --git a/apps/fake-simulated-camera/ios/FakeSimulatedCamera/FakeCamera/FakeCameraCatalog.m b/apps/fake-simulated-camera/ios/FakeSimulatedCamera/FakeCamera/FakeCameraCatalog.m new file mode 100644 index 0000000000..a7f50a4e31 --- /dev/null +++ b/apps/fake-simulated-camera/ios/FakeSimulatedCamera/FakeCamera/FakeCameraCatalog.m @@ -0,0 +1,230 @@ +#import "FakeCameraCatalog.h" + +NSErrorDomain const FakeCameraErrorDomain = @"com.margelo.fakecamera"; + +static NSString *const kSceneFileName = @"qr-code-margelo.png"; + +@implementation FakeCameraFormatSpec +@end + +@implementation FakeCameraDeviceSpec +@end + +// The fake cameras are authored directly against AVFoundation types here (no JSON). Every value is the native +// constant the library reads, so the fake is faithful by construction and the specs are compile-checked. + +static NSValue *dimensions(int32_t width, int32_t height) { + CMVideoDimensions value = {width, height}; + return [NSValue valueWithBytes:&value objCType:@encode(CMVideoDimensions)]; +} + +static FakeCameraFormatSpec *makeFormat(NSString *name, + int32_t width, + int32_t height, + OSType pixelFormat, + NSArray *> *fpsRanges, + NSArray *photoDimensions, + AVCaptureAutoFocusSystem autoFocusSystem, + NSArray *stabilizationModes, + BOOL binned, + BOOL videoHDR, + NSArray *colorSpaces, + BOOL highestPhotoQuality, + BOOL highPhotoQuality, + BOOL multiCam) { + FakeCameraFormatSpec *spec = [FakeCameraFormatSpec new]; + spec.name = name; + spec.width = width; + spec.height = height; + spec.pixelFormatType = pixelFormat; + spec.fpsRanges = fpsRanges; + spec.photoDimensions = photoDimensions; + spec.autoFocusSystem = autoFocusSystem; + spec.videoStabilizationModes = stabilizationModes; + spec.binned = binned; + spec.videoHDR = videoHDR; + spec.colorSpaces = colorSpaces; + spec.highestPhotoQuality = highestPhotoQuality; + spec.highPhotoQuality = highPhotoQuality; + spec.multiCam = multiCam; + return spec; +} + +static FakeCameraDeviceSpec *makeDevice(NSString *uniqueID, + NSString *name, + AVCaptureDeviceType deviceType, + AVCaptureDevicePosition position, + BOOL hasFlash, + BOOL hasTorch, + CGFloat minZoom, + CGFloat maxZoom, + float lensAperture, + int32_t focalLength, + BOOL supportsFocus, + NSArray *formats) { + FakeCameraDeviceSpec *spec = [FakeCameraDeviceSpec new]; + spec.uniqueID = uniqueID; + spec.name = name; + spec.modelID = @"FakeCamera,1"; + spec.deviceType = deviceType; + spec.position = position; + spec.hasFlash = hasFlash; + spec.hasTorch = hasTorch; + spec.minZoom = minZoom; + spec.maxZoom = maxZoom; + spec.lensAperture = lensAperture; + spec.focalLength = focalLength; + spec.minExposureBias = -8; + spec.maxExposureBias = 8; + spec.supportsFocus = supportsFocus; + spec.supportsExposure = YES; + spec.supportsWhiteBalance = YES; + spec.supportsLowLightBoost = NO; + spec.formats = formats; + return spec; +} + +static NSArray *fakeCameraDevices(void) { + FakeCameraDeviceSpec *backWide = makeDevice( + @"fake-back-wide", @"Fake Back Wide Camera", AVCaptureDeviceTypeBuiltInWideAngleCamera, AVCaptureDevicePositionBack, + /* flash */ YES, /* torch */ YES, /* zoom */ 1, 6, /* aperture */ 1.6f, /* focal */ 24, /* focus */ YES, + @[ + makeFormat(@"1080p60", 1920, 1080, kCVPixelFormatType_420YpCbCr8BiPlanarVideoRange, @[ @[ @1, @60 ] ], + @[ dimensions(1920, 1080) ], AVCaptureAutoFocusSystemPhaseDetection, + @[ @(AVCaptureVideoStabilizationModeStandard), @(AVCaptureVideoStabilizationModeCinematic) ], + /* binned */ NO, /* hdr */ NO, @[ @(AVCaptureColorSpace_sRGB) ], /* highest */ NO, /* high */ NO, + /* multiCam */ YES), + makeFormat(@"4k30", 3840, 2160, kCVPixelFormatType_420YpCbCr8BiPlanarFullRange, @[ @[ @1, @30 ] ], + @[ dimensions(4032, 3024), dimensions(3840, 2160) ], AVCaptureAutoFocusSystemPhaseDetection, + @[ @(AVCaptureVideoStabilizationModeStandard) ], NO, NO, + @[ @(AVCaptureColorSpace_sRGB), @(AVCaptureColorSpace_P3_D65) ], YES, YES, NO), + makeFormat(@"1080p30-hdr", 1920, 1080, kCVPixelFormatType_420YpCbCr10BiPlanarVideoRange, @[ @[ @1, @30 ] ], + @[ dimensions(1920, 1080) ], AVCaptureAutoFocusSystemPhaseDetection, + @[ @(AVCaptureVideoStabilizationModeStandard), @(AVCaptureVideoStabilizationModeCinematic) ], NO, YES, + @[ @(AVCaptureColorSpace_sRGB), @(AVCaptureColorSpace_P3_D65), @(AVCaptureColorSpace_HLG_BT2020) ], NO, + NO, NO), + makeFormat(@"720p240-binned", 1280, 720, kCVPixelFormatType_420YpCbCr8BiPlanarVideoRange, @[ @[ @1, @240 ] ], + @[ dimensions(1280, 720) ], AVCaptureAutoFocusSystemContrastDetection, @[], YES, NO, + @[ @(AVCaptureColorSpace_sRGB) ], NO, NO, YES), + ]); + + FakeCameraDeviceSpec *ultraWide = makeDevice( + @"fake-back-ultra-wide", @"Fake Back Ultra Wide Camera", AVCaptureDeviceTypeBuiltInUltraWideCamera, + AVCaptureDevicePositionBack, YES, YES, 1, 1, 2.4f, 13, /* focus */ NO, + @[ + makeFormat(@"1080p30", 1920, 1080, kCVPixelFormatType_420YpCbCr8BiPlanarVideoRange, @[ @[ @1, @30 ] ], + @[ dimensions(1920, 1080) ], AVCaptureAutoFocusSystemNone, @[], NO, NO, + @[ @(AVCaptureColorSpace_sRGB) ], NO, NO, NO), + ]); + + FakeCameraDeviceSpec *front = makeDevice( + @"fake-front-wide", @"Fake Front Camera", AVCaptureDeviceTypeBuiltInWideAngleCamera, AVCaptureDevicePositionFront, + /* flash */ NO, /* torch */ NO, 1, 1, 2.2f, 23, /* focus */ NO, + @[ + makeFormat(@"1080p60", 1920, 1080, kCVPixelFormatType_420YpCbCr8BiPlanarVideoRange, @[ @[ @1, @60 ] ], + @[ dimensions(1920, 1080) ], AVCaptureAutoFocusSystemNone, + @[ @(AVCaptureVideoStabilizationModeStandard) ], NO, NO, @[ @(AVCaptureColorSpace_sRGB) ], NO, NO, YES), + makeFormat(@"720p30", 1280, 720, kCVPixelFormatType_420YpCbCr8BiPlanarVideoRange, @[ @[ @1, @30 ] ], + @[ dimensions(1280, 720) ], AVCaptureAutoFocusSystemNone, @[], NO, NO, + @[ @(AVCaptureColorSpace_sRGB) ], NO, NO, NO), + ]); + + return @[ backWide, ultraWide, front ]; +} + +// A second catalog that exercises catalog robustness: two near-identical back cameras that differ ONLY in +// maxZoom, plus a front camera. A different device set than `default` proves nothing is hardcoded to it. +static FakeCameraFormatSpec *variantFormat(void) { + return makeFormat(@"1080p60", 1920, 1080, kCVPixelFormatType_420YpCbCr8BiPlanarVideoRange, @[ @[ @1, @60 ] ], + @[ dimensions(1920, 1080) ], AVCaptureAutoFocusSystemPhaseDetection, + @[ @(AVCaptureVideoStabilizationModeStandard) ], NO, NO, @[ @(AVCaptureColorSpace_sRGB) ], NO, NO, + YES); +} + +static NSArray *fakeCameraVariantDevices(void) { + // A DIFFERENT count and shape than `default` (4 devices vs 3): near-identical twins differing only in maxZoom, + // a telephoto (different type), and a front camera. Proves the pipeline is not hardcoded to the default set. + FakeCameraDeviceSpec *twinA = makeDevice(@"fake-twin-a", @"Fake Twin A", AVCaptureDeviceTypeBuiltInWideAngleCamera, + AVCaptureDevicePositionBack, YES, YES, 1, 4, 1.8f, 26, YES, + @[ variantFormat() ]); + FakeCameraDeviceSpec *twinB = makeDevice(@"fake-twin-b", @"Fake Twin B", AVCaptureDeviceTypeBuiltInWideAngleCamera, + AVCaptureDevicePositionBack, YES, YES, 1, 6, 1.8f, 26, YES, + @[ variantFormat() ]); + // Near-identical to twin-a but its one format tops out at 30 fps instead of 60 — supportsFPS(60) differs. + FakeCameraDeviceSpec *slowFps = makeDevice( + @"fake-slow-fps", @"Fake Slow FPS", AVCaptureDeviceTypeBuiltInWideAngleCamera, AVCaptureDevicePositionBack, YES, + YES, 1, 4, 1.8f, 26, YES, + @[ makeFormat(@"1080p30", 1920, 1080, kCVPixelFormatType_420YpCbCr8BiPlanarVideoRange, @[ @[ @1, @30 ] ], + @[ dimensions(1920, 1080) ], AVCaptureAutoFocusSystemPhaseDetection, + @[ @(AVCaptureVideoStabilizationModeStandard) ], NO, NO, @[ @(AVCaptureColorSpace_sRGB) ], NO, NO, + YES) ]); + // Near-identical to twin-a but its one format is HDR (10-bit) — supportedVideoDynamicRanges differs. + FakeCameraDeviceSpec *hdr = makeDevice( + @"fake-hdr-variant", @"Fake HDR Variant", AVCaptureDeviceTypeBuiltInWideAngleCamera, AVCaptureDevicePositionBack, + YES, YES, 1, 4, 1.8f, 26, YES, + @[ makeFormat(@"1080p30-hdr", 1920, 1080, kCVPixelFormatType_420YpCbCr10BiPlanarVideoRange, @[ @[ @1, @30 ] ], + @[ dimensions(1920, 1080) ], AVCaptureAutoFocusSystemPhaseDetection, + @[ @(AVCaptureVideoStabilizationModeStandard) ], NO, YES, + @[ @(AVCaptureColorSpace_sRGB), @(AVCaptureColorSpace_HLG_BT2020) ], NO, NO, NO) ]); + FakeCameraDeviceSpec *tele = makeDevice(@"fake-variant-tele", @"Fake Variant Telephoto", + AVCaptureDeviceTypeBuiltInTelephotoCamera, AVCaptureDevicePositionBack, YES, + YES, 1, 3, 2.8f, 77, YES, @[ variantFormat() ]); + FakeCameraDeviceSpec *front = makeDevice(@"fake-variant-front", @"Fake Variant Front", + AVCaptureDeviceTypeBuiltInWideAngleCamera, AVCaptureDevicePositionFront, NO, + NO, 1, 1, 2.2f, 23, NO, + @[ makeFormat(@"1080p60", 1920, 1080, + kCVPixelFormatType_420YpCbCr8BiPlanarVideoRange, @[ @[ @1, @60 ] ], + @[ dimensions(1920, 1080) ], AVCaptureAutoFocusSystemNone, @[], NO, + NO, @[ @(AVCaptureColorSpace_sRGB) ], NO, NO, NO) ]); + // Two devices identical in every capability, differing ONLY in id (and display name): both must enumerate and + // round-trip to themselves — the pipeline must never dedupe capability-identical devices. + FakeCameraDeviceSpec *cloneA = makeDevice(@"fake-clone-a", @"Fake Clone A", + AVCaptureDeviceTypeBuiltInWideAngleCamera, AVCaptureDevicePositionBack, YES, + YES, 1, 5, 2.0f, 28, YES, @[ variantFormat() ]); + FakeCameraDeviceSpec *cloneB = makeDevice(@"fake-clone-b", @"Fake Clone B", + AVCaptureDeviceTypeBuiltInWideAngleCamera, AVCaptureDevicePositionBack, YES, + YES, 1, 5, 2.0f, 28, YES, @[ variantFormat() ]); + return @[ twinA, twinB, slowFps, hdr, tele, front, cloneA, cloneB ]; +} + +@implementation FakeCameraCatalog { + NSString *_name; + NSString *_sceneFileName; + NSURL *_sceneURL; + NSArray *_devices; +} + ++ (instancetype)catalogNamed:(NSString *)name bundle:(NSBundle *)bundle error:(NSError **)error { + FakeCameraCatalog *catalog = [FakeCameraCatalog new]; + catalog->_name = [name copy]; + catalog->_sceneFileName = kSceneFileName; + catalog->_sceneURL = [bundle URLForResource:kSceneFileName withExtension:nil subdirectory:@"scenes"]; + if (catalog->_sceneURL == nil) { + if (error) { + *error = [NSError errorWithDomain:FakeCameraErrorDomain + code:1 + userInfo:@{NSLocalizedDescriptionKey : [NSString stringWithFormat:@"scenes/%@ is not bundled", kSceneFileName]}]; + } + return nil; + } + catalog->_devices = [name isEqualToString:@"variants"] ? fakeCameraVariantDevices() : fakeCameraDevices(); + return catalog; +} + +- (NSString *)name { + return _name; +} + +- (NSString *)sceneFileName { + return _sceneFileName; +} + +- (NSURL *)sceneURL { + return _sceneURL; +} + +- (NSArray *)devices { + return _devices; +} + +@end diff --git a/apps/fake-simulated-camera/ios/FakeSimulatedCamera/FakeCamera/FakeCameraDiscovery.h b/apps/fake-simulated-camera/ios/FakeSimulatedCamera/FakeCamera/FakeCameraDiscovery.h new file mode 100644 index 0000000000..ccbc68a10d --- /dev/null +++ b/apps/fake-simulated-camera/ios/FakeSimulatedCamera/FakeCamera/FakeCameraDiscovery.h @@ -0,0 +1,9 @@ +#import + +NS_ASSUME_NONNULL_BEGIN + +/// Hooks `AVCaptureDevice` / `AVCaptureDeviceDiscoverySession` class methods so video discovery returns the catalog. +/// Non-video media types (microphone) keep their original implementations. +void FakeCameraInstallDiscoveryHooks(void); + +NS_ASSUME_NONNULL_END diff --git a/apps/fake-simulated-camera/ios/FakeSimulatedCamera/FakeCamera/FakeCameraDiscovery.m b/apps/fake-simulated-camera/ios/FakeSimulatedCamera/FakeCamera/FakeCameraDiscovery.m new file mode 100644 index 0000000000..86a2d37067 --- /dev/null +++ b/apps/fake-simulated-camera/ios/FakeSimulatedCamera/FakeCamera/FakeCameraDiscovery.m @@ -0,0 +1,149 @@ +#import "FakeCameraDiscovery.h" + +#import +#import +#import + +#import "FakeCameraLog.h" +#import "FakeCameraObjects.h" +#import "FakeCameraSwizzle.h" + +static const void *kDiscoveryTypesKey = &kDiscoveryTypesKey; +static const void *kDiscoveryMediaTypeKey = &kDiscoveryMediaTypeKey; +static const void *kDiscoveryPositionKey = &kDiscoveryPositionKey; + +static IMP originalDefaultDeviceWithType; +static IMP originalDefaultDeviceWithMediaType; +static IMP originalDevicesWithMediaType; +static IMP originalDevices; +static IMP originalDeviceWithUniqueID; +static IMP originalAuthorizationStatus; +static IMP originalRequestAccess; +static IMP originalDiscoveryFactory; +static IMP originalDiscoveryDevices; +static IMP originalDiscoveryMultiCamSets; + +static BOOL isVideo(AVMediaType mediaType) { + return mediaType == nil || [mediaType isEqualToString:AVMediaTypeVideo]; +} + +// MARK: - AVCaptureDevice class methods + +static AVCaptureDevice *defaultDeviceWithType(id self, SEL _cmd, AVCaptureDeviceType deviceType, AVMediaType mediaType, AVCaptureDevicePosition position) { + if (isVideo(mediaType)) { + return [FakeCameraRegistry.shared defaultDeviceOfType:deviceType position:position]; + } + return ((AVCaptureDevice * (*)(id, SEL, AVCaptureDeviceType, AVMediaType, AVCaptureDevicePosition)) originalDefaultDeviceWithType)(self, _cmd, deviceType, mediaType, position); +} + +static AVCaptureDevice *defaultDeviceWithMediaType(id self, SEL _cmd, AVMediaType mediaType) { + if (isVideo(mediaType)) { + return [FakeCameraRegistry.shared defaultDeviceOfType:nil position:AVCaptureDevicePositionBack] ?: FakeCameraRegistry.shared.devices.firstObject; + } + return ((AVCaptureDevice * (*)(id, SEL, AVMediaType)) originalDefaultDeviceWithMediaType)(self, _cmd, mediaType); +} + +static NSArray *devicesWithMediaType(id self, SEL _cmd, AVMediaType mediaType) { + if (isVideo(mediaType)) { + return FakeCameraRegistry.shared.devices; + } + return ((NSArray * (*)(id, SEL, AVMediaType)) originalDevicesWithMediaType)(self, _cmd, mediaType); +} + +static NSArray *devices(id self, SEL _cmd) { + NSArray *original = originalDevices ? ((NSArray * (*)(id, SEL)) originalDevices)(self, _cmd) : @[]; + return [FakeCameraRegistry.shared.devices arrayByAddingObjectsFromArray:original ?: @[]]; +} + +static AVCaptureDevice *deviceWithUniqueID(id self, SEL _cmd, NSString *uniqueID) { + FakeCameraDevice *device = [FakeCameraRegistry.shared deviceWithUniqueID:uniqueID]; + if (device != nil) { + return device; + } + return ((AVCaptureDevice * (*)(id, SEL, NSString *)) originalDeviceWithUniqueID)(self, _cmd, uniqueID); +} + +static AVAuthorizationStatus authorizationStatus(id self, SEL _cmd, AVMediaType mediaType) { + if (isVideo(mediaType)) { + return AVAuthorizationStatusAuthorized; + } + return ((AVAuthorizationStatus(*)(id, SEL, AVMediaType))originalAuthorizationStatus)(self, _cmd, mediaType); +} + +static void requestAccess(id self, SEL _cmd, AVMediaType mediaType, void (^handler)(BOOL)) { + if (isVideo(mediaType)) { + if (handler) { + dispatch_async(dispatch_get_main_queue(), ^{ + handler(YES); + }); + } + return; + } + ((void (*)(id, SEL, AVMediaType, void (^)(BOOL)))originalRequestAccess)(self, _cmd, mediaType, handler); +} + +static AVCaptureDevice *userPreferredCamera(id self, SEL _cmd) { + return FakeCameraRegistry.shared.userPreferredCamera; +} + +static void setUserPreferredCamera(id self, SEL _cmd, AVCaptureDevice *device) { + FakeCameraRegistry.shared.userPreferredCamera = device; +} + +static AVCaptureDevice *systemPreferredCamera(id self, SEL _cmd) { + return FakeCameraRegistry.shared.userPreferredCamera ?: [FakeCameraRegistry.shared defaultDeviceOfType:nil position:AVCaptureDevicePositionBack]; +} + +// MARK: - AVCaptureDeviceDiscoverySession + +static id discoveryFactory(id self, SEL _cmd, NSArray *deviceTypes, AVMediaType mediaType, AVCaptureDevicePosition position) { + id session = ((id(*)(id, SEL, NSArray *, AVMediaType, AVCaptureDevicePosition))originalDiscoveryFactory)(self, _cmd, deviceTypes, mediaType, position); + if (session != nil) { + objc_setAssociatedObject(session, kDiscoveryTypesKey, deviceTypes, OBJC_ASSOCIATION_COPY_NONATOMIC); + objc_setAssociatedObject(session, kDiscoveryMediaTypeKey, mediaType, OBJC_ASSOCIATION_COPY_NONATOMIC); + objc_setAssociatedObject(session, kDiscoveryPositionKey, @(position), OBJC_ASSOCIATION_RETAIN_NONATOMIC); + } + return session; +} + +static BOOL discoveryIsVideo(id session) { + return objc_getAssociatedObject(session, kDiscoveryPositionKey) != nil && isVideo(objc_getAssociatedObject(session, kDiscoveryMediaTypeKey)); +} + +static NSArray *discoveryDevices(id self, SEL _cmd) { + if (discoveryIsVideo(self)) { + NSArray *types = objc_getAssociatedObject(self, kDiscoveryTypesKey); + AVCaptureDevicePosition position = [objc_getAssociatedObject(self, kDiscoveryPositionKey) integerValue]; + return [FakeCameraRegistry.shared devicesOfTypes:types position:position]; + } + return ((NSArray * (*)(id, SEL)) originalDiscoveryDevices)(self, _cmd); +} + +static NSArray *discoveryMultiCamSets(id self, SEL _cmd) { + if (discoveryIsVideo(self)) { + return @[]; + } + return ((NSArray * (*)(id, SEL)) originalDiscoveryMultiCamSets)(self, _cmd); +} + +void FakeCameraInstallDiscoveryHooks(void) { + Class device = [AVCaptureDevice class]; + originalDefaultDeviceWithType = FakeCameraReplaceClassMethod(device, @selector(defaultDeviceWithDeviceType:mediaType:position:), (IMP)defaultDeviceWithType, "@@:@@q"); + originalDefaultDeviceWithMediaType = FakeCameraReplaceClassMethod(device, @selector(defaultDeviceWithMediaType:), (IMP)defaultDeviceWithMediaType, "@@:@"); + originalDevicesWithMediaType = FakeCameraReplaceClassMethod(device, @selector(devicesWithMediaType:), (IMP)devicesWithMediaType, "@@:@"); + originalDevices = FakeCameraReplaceClassMethod(device, @selector(devices), (IMP)devices, "@@:"); + originalDeviceWithUniqueID = FakeCameraReplaceClassMethod(device, @selector(deviceWithUniqueID:), (IMP)deviceWithUniqueID, "@@:@"); + originalAuthorizationStatus = FakeCameraReplaceClassMethod(device, @selector(authorizationStatusForMediaType:), (IMP)authorizationStatus, "q@:@"); + originalRequestAccess = FakeCameraReplaceClassMethod(device, @selector(requestAccessForMediaType:completionHandler:), (IMP)requestAccess, "v@:@@?"); + if (@available(iOS 17.0, *)) { + FakeCameraReplaceClassMethod(device, @selector(userPreferredCamera), (IMP)userPreferredCamera, "@@:"); + FakeCameraReplaceClassMethod(device, @selector(setUserPreferredCamera:), (IMP)setUserPreferredCamera, "v@:@"); + FakeCameraReplaceClassMethod(device, @selector(systemPreferredCamera), (IMP)systemPreferredCamera, "@@:"); + } + + Class discovery = [AVCaptureDeviceDiscoverySession class]; + originalDiscoveryFactory = FakeCameraReplaceClassMethod(discovery, @selector(discoverySessionWithDeviceTypes:mediaType:position:), (IMP)discoveryFactory, "@@:@@q"); + originalDiscoveryDevices = FakeCameraReplaceInstanceMethod(discovery, @selector(devices), (IMP)discoveryDevices, "@@:"); + originalDiscoveryMultiCamSets = FakeCameraReplaceInstanceMethod(discovery, @selector(supportedMultiCamDeviceSets), (IMP)discoveryMultiCamSets, "@@:"); + FAKECAM_INFO("discovery hooks installed for %{public}lu devices", (unsigned long)FakeCameraRegistry.shared.devices.count); +} diff --git a/apps/fake-simulated-camera/ios/FakeSimulatedCamera/FakeCamera/FakeCameraFramePump.h b/apps/fake-simulated-camera/ios/FakeSimulatedCamera/FakeCamera/FakeCameraFramePump.h new file mode 100644 index 0000000000..6839c29eb4 --- /dev/null +++ b/apps/fake-simulated-camera/ios/FakeSimulatedCamera/FakeCamera/FakeCameraFramePump.h @@ -0,0 +1,14 @@ +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +/// Streams the catalog scene image into every `AVCaptureVideoDataOutput` and preview layer connected to one fake +/// session, at the frame rate VisionCamera configured on the device. BGRA only. +@interface FakeCameraFramePump : NSObject +- (instancetype)initWithSession:(AVCaptureSession *)session; +- (void)start; +- (void)stop; +@end + +NS_ASSUME_NONNULL_END diff --git a/apps/fake-simulated-camera/ios/FakeSimulatedCamera/FakeCamera/FakeCameraFramePump.m b/apps/fake-simulated-camera/ios/FakeSimulatedCamera/FakeCamera/FakeCameraFramePump.m new file mode 100644 index 0000000000..9ee440a942 --- /dev/null +++ b/apps/fake-simulated-camera/ios/FakeSimulatedCamera/FakeCamera/FakeCameraFramePump.m @@ -0,0 +1,227 @@ +#import "FakeCameraFramePump.h" + +#import +#import +#import +#import + +#import "FakeCameraLog.h" +#import "FakeCameraObjects.h" +#import "FakeCameraSession.h" + +static const void *kDisplayLayerKey = &kDisplayLayerKey; +static const double kMaxFramesPerSecond = 60.0; + +@implementation FakeCameraFramePump { + __weak AVCaptureSession *_session; + dispatch_queue_t _queue; + dispatch_source_t _timer; + BOOL _stopped; + double _framesPerSecond; + CVPixelBufferRef _frame; + CMVideoFormatDescriptionRef _frameDescription; + int32_t _frameWidth; + int32_t _frameHeight; +} + +- (instancetype)initWithSession:(AVCaptureSession *)session { + if ((self = [super init])) { + _session = session; + _queue = dispatch_queue_create("com.margelo.fakecamera.pump", DISPATCH_QUEUE_SERIAL); + } + return self; +} + +- (void)dealloc { + if (_timer) { + dispatch_source_cancel(_timer); + _timer = nil; + } + [self releaseFrame]; +} + +- (void)releaseFrame { + if (_frame) { + CVPixelBufferRelease(_frame); + _frame = NULL; + } + if (_frameDescription) { + CFRelease(_frameDescription); + _frameDescription = NULL; + } +} + +- (void)start { + dispatch_async(_queue, ^{ + self->_stopped = NO; + [self armTimer]; + }); +} + +- (void)stop { + dispatch_async(_queue, ^{ + self->_stopped = YES; + if (self->_timer) { + dispatch_source_cancel(self->_timer); + self->_timer = nil; + } + self->_framesPerSecond = 0; + }); +} + +- (FakeCameraDevice *)device { + AVCaptureSession *session = _session; + for (AVCaptureInput *input in FakeCameraSessionInputs(session)) { + FakeCameraDevice *device = FakeCameraDeviceForInput(input); + if (device != nil) { + return device; + } + } + return nil; +} + +- (double)desiredFramesPerSecond { + CMTime duration = self.device.activeVideoMinFrameDuration; + double fps = CMTIME_IS_NUMERIC(duration) && CMTimeGetSeconds(duration) > 0 ? 1.0 / CMTimeGetSeconds(duration) : 30.0; + // ponytail: 240 fps catalog formats stream at 60 to keep the Simulator responsive. + return MIN(MAX(fps, 1.0), kMaxFramesPerSecond); +} + +- (void)armTimer { + if (_stopped) { + return; + } + double fps = [self desiredFramesPerSecond]; + if (_timer && fps == _framesPerSecond) { + return; + } + if (_timer) { + dispatch_source_cancel(_timer); + } + _framesPerSecond = fps; + _timer = dispatch_source_create(DISPATCH_SOURCE_TYPE_TIMER, 0, 0, _queue); + uint64_t interval = (uint64_t)(NSEC_PER_SEC / fps); + dispatch_source_set_timer(_timer, dispatch_time(DISPATCH_TIME_NOW, 0), interval, interval / 10); + __weak FakeCameraFramePump *weakSelf = self; + dispatch_source_set_event_handler(_timer, ^{ + [weakSelf tick]; + }); + dispatch_resume(_timer); + FAKECAM_INFO("pump %p: streaming at %g fps", self, fps); +} + +- (void)tick { + if (_stopped) { + return; + } + FakeCameraDevice *device = self.device; + AVCaptureSession *session = _session; + if (device == nil || session == nil) { + return; + } + CMVideoDimensions dims = CMVideoFormatDescriptionGetDimensions(device.activeFormat.formatDescription); + if (![self ensureFrameForWidth:dims.width height:dims.height]) { + return; + } + CMSampleTimingInfo timing = { + .duration = CMTimeMake(1, (int32_t)_framesPerSecond), + .presentationTimeStamp = CMClockGetTime(CMClockGetHostTimeClock()), + .decodeTimeStamp = kCMTimeInvalid, + }; + CMSampleBufferRef sampleBuffer = NULL; + OSStatus status = CMSampleBufferCreateReadyWithImageBuffer(kCFAllocatorDefault, _frame, _frameDescription, &timing, &sampleBuffer); + if (status != noErr || sampleBuffer == NULL) { + FAKECAM_FAULT("pump %p: CMSampleBufferCreateReadyWithImageBuffer failed (%d)", self, (int)status); + return; + } + + for (FakeCameraConnection *connection in FakeCameraSessionConnections(session)) { + AVCaptureOutput *output = connection.output; + if ([output isKindOfClass:[AVCaptureVideoDataOutput class]]) { + [self deliverSampleBuffer:sampleBuffer toOutput:(AVCaptureVideoDataOutput *)output connection:connection]; + } else if (connection.videoPreviewLayer != nil) { + [self displaySampleBuffer:sampleBuffer onLayer:connection.videoPreviewLayer]; + } + } + CFRelease(sampleBuffer); + [self armTimer]; +} + +- (void)deliverSampleBuffer:(CMSampleBufferRef)sampleBuffer toOutput:(AVCaptureVideoDataOutput *)output connection:(AVCaptureConnection *)connection { + id delegate = FakeCameraOutputDelegate(output); + dispatch_queue_t queue = FakeCameraOutputQueue(output); + if (delegate == nil || queue == nil || ![delegate respondsToSelector:@selector(captureOutput:didOutputSampleBuffer:fromConnection:)]) { + return; + } + CFRetain(sampleBuffer); + dispatch_async(queue, ^{ + [delegate captureOutput:output didOutputSampleBuffer:sampleBuffer fromConnection:connection]; + CFRelease(sampleBuffer); + }); +} + +- (void)displaySampleBuffer:(CMSampleBufferRef)sampleBuffer onLayer:(AVCaptureVideoPreviewLayer *)layer { + CFArrayRef attachments = CMSampleBufferGetSampleAttachmentsArray(sampleBuffer, true); + if (attachments && CFArrayGetCount(attachments) > 0) { + CFDictionarySetValue((CFMutableDictionaryRef)CFArrayGetValueAtIndex(attachments, 0), kCMSampleAttachmentKey_DisplayImmediately, kCFBooleanTrue); + } + CFRetain(sampleBuffer); + dispatch_async(dispatch_get_main_queue(), ^{ + AVSampleBufferDisplayLayer *display = objc_getAssociatedObject(layer, kDisplayLayerKey); + if (display == nil) { + display = [AVSampleBufferDisplayLayer new]; + display.videoGravity = AVLayerVideoGravityResizeAspectFill; + objc_setAssociatedObject(layer, kDisplayLayerKey, display, OBJC_ASSOCIATION_RETAIN_NONATOMIC); + [layer addSublayer:display]; + } + display.frame = layer.bounds; + if (display.isReadyForMoreMediaData) { + [display enqueueSampleBuffer:sampleBuffer]; + } + CFRelease(sampleBuffer); + }); +} + +// Renders the scene once per format size: white background, image aspect-fit in the centre. +- (BOOL)ensureFrameForWidth:(int32_t)width height:(int32_t)height { + if (_frame != NULL && _frameWidth == width && _frameHeight == height) { + return YES; + } + [self releaseFrame]; + NSDictionary *attributes = @{(id)kCVPixelBufferIOSurfacePropertiesKey : @{}}; + CVReturn result = CVPixelBufferCreate(kCFAllocatorDefault, width, height, kCVPixelFormatType_32BGRA, (__bridge CFDictionaryRef)attributes, &_frame); + if (result != kCVReturnSuccess) { + FAKECAM_FAULT("pump %p: CVPixelBufferCreate %dx%d failed (%d)", self, width, height, (int)result); + return NO; + } + CVPixelBufferLockBaseAddress(_frame, 0); + CGColorSpaceRef colorSpace = CGColorSpaceCreateDeviceRGB(); + CGContextRef context = CGBitmapContextCreate(CVPixelBufferGetBaseAddress(_frame), width, height, 8, CVPixelBufferGetBytesPerRow(_frame), colorSpace, + kCGImageAlphaPremultipliedFirst | kCGBitmapByteOrder32Little); + CGContextSetFillColorWithColor(context, UIColor.whiteColor.CGColor); + CGContextFillRect(context, CGRectMake(0, 0, width, height)); + CGImageRef scene = FakeCameraRegistry.shared.sceneImage; + if (scene != NULL) { + CGFloat side = MIN(width, height) * 0.7; + CGFloat scale = MIN(side / CGImageGetWidth(scene), side / CGImageGetHeight(scene)); + CGFloat drawWidth = CGImageGetWidth(scene) * scale; + CGFloat drawHeight = CGImageGetHeight(scene) * scale; + CGContextDrawImage(context, CGRectMake((width - drawWidth) / 2, (height - drawHeight) / 2, drawWidth, drawHeight), scene); + } + CGContextRelease(context); + CGColorSpaceRelease(colorSpace); + CVPixelBufferUnlockBaseAddress(_frame, 0); + + OSStatus status = CMVideoFormatDescriptionCreateForImageBuffer(kCFAllocatorDefault, _frame, &_frameDescription); + if (status != noErr) { + FAKECAM_FAULT("pump %p: CMVideoFormatDescriptionCreateForImageBuffer failed (%d)", self, (int)status); + [self releaseFrame]; + return NO; + } + _frameWidth = width; + _frameHeight = height; + FAKECAM_INFO("pump %p: rendered scene at %dx%d", self, width, height); + return YES; +} + +@end diff --git a/apps/fake-simulated-camera/ios/FakeSimulatedCamera/FakeCamera/FakeCameraLog.h b/apps/fake-simulated-camera/ios/FakeSimulatedCamera/FakeCamera/FakeCameraLog.h new file mode 100644 index 0000000000..2e45ed19e4 --- /dev/null +++ b/apps/fake-simulated-camera/ios/FakeSimulatedCamera/FakeCamera/FakeCameraLog.h @@ -0,0 +1,27 @@ +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +os_log_t FakeCameraLog(void); + +#define FAKECAM_INFO(fmt, ...) os_log(FakeCameraLog(), fmt, ##__VA_ARGS__) +#define FAKECAM_FAULT(fmt, ...) os_log_fault(FakeCameraLog(), fmt, ##__VA_ARGS__) + +/// Fake objects are created without `init`, so any inherited AVFoundation selector we forgot to override would run +/// over zeroed private state. Selectors with no implementation anywhere land here instead and fail loudly. +#define FAKECAM_FORWARDING_NET \ + -(NSMethodSignature *)methodSignatureForSelector : (SEL)selector { \ + NSMethodSignature *signature = [super methodSignatureForSelector:selector]; \ + return signature ?: [NSMethodSignature signatureWithObjCTypes:"@@:"]; \ + } \ + -(void)forwardInvocation : (NSInvocation *)invocation { \ + FAKECAM_FAULT("%{public}@ does not implement %{public}@", NSStringFromClass([self class]), \ + NSStringFromSelector(invocation.selector)); \ + NSAssert(NO, @"FakeCamera: %@ does not implement %@", NSStringFromClass([self class]), \ + NSStringFromSelector(invocation.selector)); \ + id nothing = nil; \ + [invocation setReturnValue:¬hing]; \ + } + +NS_ASSUME_NONNULL_END diff --git a/apps/fake-simulated-camera/ios/FakeSimulatedCamera/FakeCamera/FakeCameraLog.m b/apps/fake-simulated-camera/ios/FakeSimulatedCamera/FakeCamera/FakeCameraLog.m new file mode 100644 index 0000000000..455825caac --- /dev/null +++ b/apps/fake-simulated-camera/ios/FakeSimulatedCamera/FakeCamera/FakeCameraLog.m @@ -0,0 +1,10 @@ +#import "FakeCameraLog.h" + +os_log_t FakeCameraLog(void) { + static os_log_t log; + static dispatch_once_t once; + dispatch_once(&once, ^{ + log = os_log_create("com.margelo.fakecamera", "FakeCamera"); + }); + return log; +} diff --git a/apps/fake-simulated-camera/ios/FakeSimulatedCamera/FakeCamera/FakeCameraObjects.h b/apps/fake-simulated-camera/ios/FakeSimulatedCamera/FakeCamera/FakeCameraObjects.h new file mode 100644 index 0000000000..ad0983ecd2 --- /dev/null +++ b/apps/fake-simulated-camera/ios/FakeSimulatedCamera/FakeCamera/FakeCameraObjects.h @@ -0,0 +1,62 @@ +#import +#import + +#import "FakeCameraCatalog.h" + +NS_ASSUME_NONNULL_BEGIN + +// Fake AVFoundation objects. They are instantiated with `class_createInstance` (no `init` — AVFoundation forbids it), +// so every selector VisionCamera or AVFoundation may call on them is overridden here; anything else fails loudly +// through FAKECAM_FORWARDING_NET. Technique adapted from serve-sim (Apache-2.0) and FauxCam (MIT), see THIRD_PARTY.md. + +@interface FakeCameraFrameRateRange : AVFrameRateRange ++ (instancetype)rangeWithMinFrameRate:(Float64)minFrameRate maxFrameRate:(Float64)maxFrameRate; +@end + +@interface FakeCameraFormat : AVCaptureDeviceFormat +@property (nonatomic, readonly) FakeCameraFormatSpec *spec; ++ (instancetype)formatWithSpec:(FakeCameraFormatSpec *)spec; +@end + +@interface FakeCameraDevice : AVCaptureDevice +@property (nonatomic, readonly) FakeCameraDeviceSpec *spec; +@property (nonatomic, readonly) NSArray *fakeFormats; ++ (instancetype)deviceWithSpec:(FakeCameraDeviceSpec *)spec; +@end + +@interface FakeCameraInputPort : AVCaptureInputPort +@property (nonatomic, readonly, weak) AVCaptureInput *fakeInput; +@property (nonatomic, readonly) FakeCameraDevice *fakeDevice; ++ (instancetype)portForInput:(AVCaptureInput *)input device:(FakeCameraDevice *)device; +@end + +@interface FakeCameraConnection : AVCaptureConnection +@property (nonatomic, readonly, nullable) FakeCameraDevice *fakeDevice; ++ (instancetype)connectionWithInputPorts:(NSArray *)ports output:(AVCaptureOutput *)output; ++ (instancetype)connectionWithInputPort:(AVCaptureInputPort *)port videoPreviewLayer:(AVCaptureVideoPreviewLayer *)layer; +@end + +/// Owns the catalog's devices and keeps every fake object alive (their real superclass `dealloc` must never run over +/// zeroed private state). +@interface FakeCameraRegistry : NSObject +@property (class, nonatomic, readonly) FakeCameraRegistry *shared; +@property (nonatomic, readonly, nullable) FakeCameraCatalog *catalog; +@property (nonatomic, readonly) NSArray *devices; +@property (nonatomic, readonly, nullable) CGImageRef sceneImage; +@property (nonatomic, strong, nullable) AVCaptureDevice *userPreferredCamera; + +- (void)installCatalog:(FakeCameraCatalog *)catalog sceneImage:(CGImageRef)sceneImage; +- (nullable FakeCameraDevice *)deviceWithUniqueID:(NSString *)uniqueID; +- (nullable FakeCameraDevice *)defaultDeviceOfType:(nullable AVCaptureDeviceType)deviceType position:(AVCaptureDevicePosition)position; +- (NSArray *)devicesOfTypes:(nullable NSArray *)deviceTypes position:(AVCaptureDevicePosition)position; +- (void)retainForever:(id)object; +@end + +/// Tags applied to the real `AVCaptureDeviceInput` instances that VisionCamera creates for fake devices. +BOOL FakeCameraIsFakeDevice(id _Nullable object); +BOOL FakeCameraIsFakeInput(id _Nullable input); +void FakeCameraTagInput(AVCaptureInput *input, FakeCameraDevice *device); +FakeCameraDevice *_Nullable FakeCameraDeviceForInput(id _Nullable input); +FakeCameraInputPort *_Nullable FakeCameraPortForInput(id _Nullable input); + +NS_ASSUME_NONNULL_END diff --git a/apps/fake-simulated-camera/ios/FakeSimulatedCamera/FakeCamera/FakeCameraObjects.m b/apps/fake-simulated-camera/ios/FakeSimulatedCamera/FakeCamera/FakeCameraObjects.m new file mode 100644 index 0000000000..b4e41cfe52 --- /dev/null +++ b/apps/fake-simulated-camera/ios/FakeSimulatedCamera/FakeCamera/FakeCameraObjects.m @@ -0,0 +1,1304 @@ +#import "FakeCameraObjects.h" + +#import + +#import "FakeCameraLog.h" + +static id createInstance(Class cls) { + id object = class_createInstance(cls, 0); + [FakeCameraRegistry.shared retainForever:object]; + return object; +} + +static CMVideoDimensions dimensionsFromValue(NSValue *value) { + CMVideoDimensions dims; + [value getValue:&dims]; + return dims; +} + +// MARK: - AVFrameRateRange + +@implementation FakeCameraFrameRateRange { + Float64 _minFrameRate; + Float64 _maxFrameRate; +} + ++ (instancetype)rangeWithMinFrameRate:(Float64)minFrameRate maxFrameRate:(Float64)maxFrameRate { + FakeCameraFrameRateRange *range = createInstance(self); + range->_minFrameRate = minFrameRate; + range->_maxFrameRate = maxFrameRate; + return range; +} + +- (Float64)minFrameRate { + return _minFrameRate; +} + +- (Float64)maxFrameRate { + return _maxFrameRate; +} + +- (CMTime)maxFrameDuration { + return CMTimeMake(1000, (int32_t)(_minFrameRate * 1000)); +} + +- (CMTime)minFrameDuration { + return CMTimeMake(1000, (int32_t)(_maxFrameRate * 1000)); +} + +// VisionCamera dedups ranges by equality (`withoutDuplicates()`), so equal min/max means equal range. +- (BOOL)isEqual:(id)object { + if (![object isKindOfClass:[FakeCameraFrameRateRange class]]) { + return NO; + } + FakeCameraFrameRateRange *other = object; + return other->_minFrameRate == _minFrameRate && other->_maxFrameRate == _maxFrameRate; +} + +- (NSUInteger)hash { + return (NSUInteger)(_minFrameRate * 1000) ^ ((NSUInteger)(_maxFrameRate * 1000) << 16); +} + +- (NSString *)description { + return [NSString stringWithFormat:@"", _minFrameRate, _maxFrameRate]; +} + +- (NSString *)debugDescription { + return self.description; +} + +FAKECAM_FORWARDING_NET + +@end + +// MARK: - AVCaptureDeviceFormat + +@implementation FakeCameraFormat { + FakeCameraFormatSpec *_spec; + CMVideoFormatDescriptionRef _formatDescription; + NSArray *_frameRateRanges; +} + ++ (instancetype)formatWithSpec:(FakeCameraFormatSpec *)spec { + FakeCameraFormat *format = createInstance(self); + format->_spec = spec; + OSStatus status = CMVideoFormatDescriptionCreate(kCFAllocatorDefault, spec.pixelFormatType, spec.width, spec.height, NULL, + &format->_formatDescription); + NSCAssert(status == noErr, @"CMVideoFormatDescriptionCreate failed for %@: %d", spec.name, (int)status); + NSMutableArray *ranges = [NSMutableArray array]; + for (NSArray *range in spec.fpsRanges) { + [ranges addObject:[FakeCameraFrameRateRange rangeWithMinFrameRate:range[0].doubleValue maxFrameRate:range[1].doubleValue]]; + } + format->_frameRateRanges = ranges; + return format; +} + +- (FakeCameraFormatSpec *)spec { + return _spec; +} + +- (CMFormatDescriptionRef)formatDescription { + return _formatDescription; +} + +- (AVMediaType)mediaType { + return AVMediaTypeVideo; +} + +- (NSArray *)videoSupportedFrameRateRanges { + return _frameRateRanges; +} + +- (NSArray *)supportedMaxPhotoDimensions { + return _spec.photoDimensions; +} + +- (CMVideoDimensions)highResolutionStillImageDimensions { + CMVideoDimensions largest = {0, 0}; + for (NSValue *value in _spec.photoDimensions) { + CMVideoDimensions dims = dimensionsFromValue(value); + if ((int64_t)dims.width * dims.height > (int64_t)largest.width * largest.height) { + largest = dims; + } + } + return largest; +} + +- (BOOL)isVideoBinned { + return _spec.binned; +} + +- (BOOL)isVideoHDRSupported { + return _spec.videoHDR; +} + +- (BOOL)isHighestPhotoQualitySupported { + return _spec.highestPhotoQuality; +} + +- (BOOL)isHighPhotoQualitySupported { + return _spec.highPhotoQuality; +} + +- (AVCaptureAutoFocusSystem)autoFocusSystem { + return _spec.autoFocusSystem; +} + +// `.off` and `.auto` are reported as supported like AVFoundation does; VisionCamera's downgrade loop relies on it. +- (BOOL)isVideoStabilizationModeSupported:(AVCaptureVideoStabilizationMode)mode { + if (mode == AVCaptureVideoStabilizationModeOff || mode == AVCaptureVideoStabilizationModeAuto) { + return YES; + } + return [_spec.videoStabilizationModes containsObject:@(mode)]; +} + +- (NSArray *)supportedColorSpaces { + return _spec.colorSpaces; +} + +- (BOOL)isMultiCamSupported { + return _spec.multiCam; +} + +- (NSArray *)unsupportedCaptureOutputClasses { + return @[]; +} + +- (NSArray *)supportedDepthDataFormats { + return @[]; +} + +- (CGFloat)videoMaxZoomFactor { + return 16.0; +} + +- (CGFloat)videoZoomFactorUpscaleThreshold { + return 2.0; +} + +- (float)minISO { + return 25.0f; +} + +- (float)maxISO { + return 6400.0f; +} + +- (CMTime)minExposureDuration { + return CMTimeMake(1, 8000); +} + +- (CMTime)maxExposureDuration { + return CMTimeMake(1, 3); +} + +- (float)videoFieldOfView { + return 70.0f; +} + +- (BOOL)isPortraitEffectSupported { + return NO; +} + +- (BOOL)isCenterStageSupported { + return NO; +} + +- (BOOL)isStudioLightSupported { + return NO; +} + +- (BOOL)reactionEffectsSupported { + return NO; +} + +- (BOOL)isBackgroundReplacementSupported { + return NO; +} + +- (BOOL)isGlobalToneMappingSupported { + return NO; +} + +- (BOOL)isSpatialVideoCaptureSupported { + return NO; +} + +- (BOOL)isVideoFrameRateRangeForDepthDataDeliverySupported { + return NO; +} + +- (NSArray *)supportedVideoZoomRangesForDepthDataDelivery { + return @[]; +} + +- (NSArray *)secondaryNativeResolutionZoomFactors { + return @[]; +} + +- (id)systemRecommendedVideoZoomRange { + return nil; +} + +- (id)systemRecommendedExposureBiasRange { + return nil; +} + +// Private accessor AVFoundation reaches for while describing/comparing formats. +- (id)figCaptureSourceVideoFormat { + return nil; +} + +- (BOOL)isEqual:(id)object { + return self == object; +} + +- (NSUInteger)hash { + return (NSUInteger)(__bridge void *)self; +} + +- (NSString *)description { + char fourCC[5] = {(char)(_spec.pixelFormatType >> 24), (char)(_spec.pixelFormatType >> 16), (char)(_spec.pixelFormatType >> 8), (char)_spec.pixelFormatType, 0}; + return [NSString stringWithFormat:@"", _spec.name, _spec.width, _spec.height, fourCC, _frameRateRanges]; +} + +- (NSString *)debugDescription { + return self.description; +} + +FAKECAM_FORWARDING_NET + +@end + +// MARK: - AVCaptureDevice + +@implementation FakeCameraDevice { + FakeCameraDeviceSpec *_spec; + NSArray *_fakeFormats; + FakeCameraFormat *_activeFormat; + CMTime _activeVideoMinFrameDuration; + CMTime _activeVideoMaxFrameDuration; + CGFloat _videoZoomFactor; + AVCaptureFocusMode _focusMode; + AVCaptureExposureMode _exposureMode; + AVCaptureWhiteBalanceMode _whiteBalanceMode; + CGPoint _focusPointOfInterest; + CGPoint _exposurePointOfInterest; + AVCaptureColorSpace _activeColorSpace; + BOOL _videoHDREnabled; + BOOL _automaticallyAdjustsVideoHDREnabled; + float _exposureTargetBias; + float _lensPosition; + AVCaptureTorchMode _torchMode; + float _torchLevel; + BOOL _subjectAreaChangeMonitoringEnabled; + BOOL _smoothAutoFocusEnabled; + BOOL _geometricDistortionCorrectionEnabled; + BOOL _automaticallyEnablesLowLightBoostWhenAvailable; + AVCaptureAutoFocusRangeRestriction _autoFocusRangeRestriction; + CMTime _activeMaxExposureDuration; + CMTime _exposureDuration; + float _ISO; + AVCaptureWhiteBalanceGains _whiteBalanceGains; +} + ++ (instancetype)deviceWithSpec:(FakeCameraDeviceSpec *)spec { + FakeCameraDevice *device = createInstance(self); + device->_spec = spec; + NSMutableArray *formats = [NSMutableArray array]; + for (FakeCameraFormatSpec *formatSpec in spec.formats) { + [formats addObject:[FakeCameraFormat formatWithSpec:formatSpec]]; + } + device->_fakeFormats = formats; + device->_activeFormat = formats.firstObject; + device->_activeVideoMinFrameDuration = CMTimeMake(1, 30); + device->_activeVideoMaxFrameDuration = CMTimeMake(1, 30); + device->_videoZoomFactor = 1.0; + device->_focusMode = spec.supportsFocus ? AVCaptureFocusModeContinuousAutoFocus : AVCaptureFocusModeLocked; + device->_exposureMode = spec.supportsExposure ? AVCaptureExposureModeContinuousAutoExposure : AVCaptureExposureModeLocked; + device->_whiteBalanceMode = spec.supportsWhiteBalance ? AVCaptureWhiteBalanceModeContinuousAutoWhiteBalance : AVCaptureWhiteBalanceModeLocked; + device->_focusPointOfInterest = CGPointMake(0.5, 0.5); + device->_exposurePointOfInterest = CGPointMake(0.5, 0.5); + device->_activeColorSpace = AVCaptureColorSpace_sRGB; + device->_automaticallyAdjustsVideoHDREnabled = YES; + device->_torchMode = AVCaptureTorchModeOff; + device->_activeMaxExposureDuration = CMTimeMake(1, 30); + device->_exposureDuration = CMTimeMake(1, 60); + device->_ISO = 100.0f; + device->_whiteBalanceGains = (AVCaptureWhiteBalanceGains){1.5f, 1.0f, 1.8f}; + return device; +} + +- (FakeCameraDeviceSpec *)spec { + return _spec; +} + +- (NSArray *)fakeFormats { + return _fakeFormats; +} + +// MARK: Identity + +- (NSString *)uniqueID { + return _spec.uniqueID; +} + +- (NSString *)modelID { + return _spec.modelID; +} + +- (NSString *)localizedName { + return _spec.name; +} + +- (NSString *)manufacturer { + return @"FakeSimulatedCamera"; +} + +- (AVCaptureDeviceType)deviceType { + return _spec.deviceType; +} + +- (AVCaptureDevicePosition)position { + return _spec.position; +} + +- (BOOL)hasMediaType:(AVMediaType)mediaType { + return [mediaType isEqualToString:AVMediaTypeVideo]; +} + +- (BOOL)isConnected { + return YES; +} + +- (BOOL)isSuspended { + return NO; +} + +- (BOOL)supportsAVCaptureSessionPreset:(AVCaptureSessionPreset)preset { + return YES; +} + +- (NSArray *)formats { + return _fakeFormats; +} + +- (AVCaptureDeviceFormat *)activeFormat { + return _activeFormat; +} + +- (void)setActiveFormat:(AVCaptureDeviceFormat *)activeFormat { + FakeCameraFormat *format = (FakeCameraFormat *)activeFormat; + NSAssert([_fakeFormats containsObject:format], @"activeFormat %@ is not a format of %@", activeFormat, self); + _activeFormat = format; +} + +- (AVCaptureDeviceFormat *)activeDepthDataFormat { + return nil; +} + +- (void)setActiveDepthDataFormat:(AVCaptureDeviceFormat *)activeDepthDataFormat { + NSAssert(activeDepthDataFormat == nil, @"depth formats are not supported by FakeCamera"); +} + +- (CMTime)activeDepthDataMinFrameDuration { + return kCMTimeInvalid; +} + +- (CMTime)activeVideoMinFrameDuration { + return _activeVideoMinFrameDuration; +} + +- (void)setActiveVideoMinFrameDuration:(CMTime)duration { + _activeVideoMinFrameDuration = duration; +} + +- (CMTime)activeVideoMaxFrameDuration { + return _activeVideoMaxFrameDuration; +} + +- (void)setActiveVideoMaxFrameDuration:(CMTime)duration { + _activeVideoMaxFrameDuration = duration; +} + +- (BOOL)lockForConfiguration:(NSError **)error { + return YES; +} + +- (void)unlockForConfiguration { +} + +// MARK: Device topology + +- (NSArray *)constituentDevices { + return @[]; +} + +- (BOOL)isVirtualDevice { + return NO; +} + +- (NSArray *)virtualDeviceSwitchOverVideoZoomFactors { + return @[]; +} + +- (AVCaptureDevice *)primaryConstituentDevice { + return nil; +} + +- (BOOL)isContinuityCamera { + return NO; +} + +- (AVCaptureDevice *)companionDeskViewCamera { + return nil; +} + +- (float)lensAperture { + return _spec.lensAperture; +} + +- (float)nominalFocalLengthIn35mmFilm { + return (float)_spec.focalLength; +} + +// MARK: Zoom + +- (CGFloat)videoZoomFactor { + return _videoZoomFactor; +} + +- (void)setVideoZoomFactor:(CGFloat)videoZoomFactor { + _videoZoomFactor = videoZoomFactor; +} + +- (CGFloat)minAvailableVideoZoomFactor { + return _spec.minZoom; +} + +- (CGFloat)maxAvailableVideoZoomFactor { + return _spec.maxZoom; +} + +- (void)rampToVideoZoomFactor:(CGFloat)factor withRate:(float)rate { + _videoZoomFactor = factor; +} + +- (void)cancelVideoZoomRamp { +} + +- (BOOL)isRampingVideoZoom { + return NO; +} + +- (CGFloat)displayVideoZoomFactorMultiplier { + return 1.0; +} + +- (CGFloat)dualCameraSwitchOverVideoZoomFactor { + return 2.0; +} + +// MARK: Flash & torch + +- (BOOL)hasFlash { + return _spec.hasFlash; +} + +- (BOOL)isFlashAvailable { + return _spec.hasFlash; +} + +- (BOOL)isFlashActive { + return NO; +} + +- (BOOL)hasTorch { + return _spec.hasTorch; +} + +- (BOOL)isTorchAvailable { + return _spec.hasTorch; +} + +- (BOOL)isTorchActive { + return _torchMode == AVCaptureTorchModeOn; +} + +- (float)torchLevel { + return _torchLevel; +} + +- (AVCaptureTorchMode)torchMode { + return _torchMode; +} + +- (void)setTorchMode:(AVCaptureTorchMode)torchMode { + _torchMode = torchMode; + _torchLevel = torchMode == AVCaptureTorchModeOn ? 1.0f : 0.0f; +} + +- (BOOL)isTorchModeSupported:(AVCaptureTorchMode)torchMode { + return torchMode == AVCaptureTorchModeOff || _spec.hasTorch; +} + +- (BOOL)setTorchModeOnWithLevel:(float)torchLevel error:(NSError **)error { + _torchMode = AVCaptureTorchModeOn; + _torchLevel = torchLevel; + return YES; +} + +// MARK: Focus + +- (AVCaptureFocusMode)focusMode { + return _focusMode; +} + +- (void)setFocusMode:(AVCaptureFocusMode)focusMode { + _focusMode = focusMode; +} + +- (BOOL)isFocusModeSupported:(AVCaptureFocusMode)focusMode { + return focusMode == AVCaptureFocusModeLocked || _spec.supportsFocus; +} + +- (BOOL)isLockingFocusWithCustomLensPositionSupported { + return _spec.supportsFocus; +} + +- (float)lensPosition { + return _lensPosition; +} + +- (void)setFocusModeLockedWithLensPosition:(float)lensPosition completionHandler:(void (^)(CMTime))handler { + _focusMode = AVCaptureFocusModeLocked; + _lensPosition = lensPosition; + if (handler) { + handler(CMClockGetTime(CMClockGetHostTimeClock())); + } +} + +- (CGPoint)focusPointOfInterest { + return _focusPointOfInterest; +} + +- (void)setFocusPointOfInterest:(CGPoint)point { + _focusPointOfInterest = point; +} + +- (BOOL)isFocusPointOfInterestSupported { + return _spec.supportsFocus; +} + +- (BOOL)isAdjustingFocus { + return NO; +} + +- (BOOL)isSmoothAutoFocusSupported { + return _spec.supportsFocus; +} + +- (BOOL)isSmoothAutoFocusEnabled { + return _smoothAutoFocusEnabled; +} + +- (void)setSmoothAutoFocusEnabled:(BOOL)enabled { + _smoothAutoFocusEnabled = enabled; +} + +- (AVCaptureAutoFocusRangeRestriction)autoFocusRangeRestriction { + return _autoFocusRangeRestriction; +} + +- (void)setAutoFocusRangeRestriction:(AVCaptureAutoFocusRangeRestriction)restriction { + _autoFocusRangeRestriction = restriction; +} + +- (BOOL)isAutoFocusRangeRestrictionSupported { + return _spec.supportsFocus; +} + +- (NSInteger)minimumFocusDistance { + return 100; +} + +- (BOOL)isFaceDrivenAutoFocusEnabled { + return NO; +} + +- (BOOL)automaticallyAdjustsFaceDrivenAutoFocusEnabled { + return NO; +} + +// MARK: Exposure + +- (AVCaptureExposureMode)exposureMode { + return _exposureMode; +} + +- (void)setExposureMode:(AVCaptureExposureMode)exposureMode { + _exposureMode = exposureMode; +} + +- (BOOL)isExposureModeSupported:(AVCaptureExposureMode)exposureMode { + return exposureMode == AVCaptureExposureModeLocked || _spec.supportsExposure; +} + +- (CGPoint)exposurePointOfInterest { + return _exposurePointOfInterest; +} + +- (void)setExposurePointOfInterest:(CGPoint)point { + _exposurePointOfInterest = point; +} + +- (BOOL)isExposurePointOfInterestSupported { + return _spec.supportsExposure; +} + +- (BOOL)isAdjustingExposure { + return NO; +} + +- (CMTime)exposureDuration { + return _exposureDuration; +} + +- (float)ISO { + return _ISO; +} + +- (CMTime)activeMaxExposureDuration { + return _activeMaxExposureDuration; +} + +- (void)setActiveMaxExposureDuration:(CMTime)duration { + _activeMaxExposureDuration = duration; +} + +- (void)setExposureModeCustomWithDuration:(CMTime)duration ISO:(float)ISO completionHandler:(void (^)(CMTime))handler { + _exposureMode = AVCaptureExposureModeCustom; + if (CMTIME_IS_VALID(duration) && CMTimeCompare(duration, AVCaptureExposureDurationCurrent) != 0) { + _exposureDuration = duration; + } + if (ISO != AVCaptureISOCurrent) { + _ISO = ISO; + } + if (handler) { + handler(CMClockGetTime(CMClockGetHostTimeClock())); + } +} + +- (float)exposureTargetBias { + return _exposureTargetBias; +} + +- (float)exposureTargetOffset { + return 0.0f; +} + +- (float)minExposureTargetBias { + return _spec.minExposureBias; +} + +- (float)maxExposureTargetBias { + return _spec.maxExposureBias; +} + +- (void)setExposureTargetBias:(float)bias completionHandler:(void (^)(CMTime))handler { + _exposureTargetBias = bias; + if (handler) { + handler(CMClockGetTime(CMClockGetHostTimeClock())); + } +} + +- (BOOL)isFaceDrivenAutoExposureEnabled { + return NO; +} + +- (BOOL)automaticallyAdjustsFaceDrivenAutoExposureEnabled { + return NO; +} + +// MARK: White balance + +- (AVCaptureWhiteBalanceMode)whiteBalanceMode { + return _whiteBalanceMode; +} + +- (void)setWhiteBalanceMode:(AVCaptureWhiteBalanceMode)whiteBalanceMode { + _whiteBalanceMode = whiteBalanceMode; +} + +- (BOOL)isWhiteBalanceModeSupported:(AVCaptureWhiteBalanceMode)whiteBalanceMode { + return whiteBalanceMode == AVCaptureWhiteBalanceModeLocked || _spec.supportsWhiteBalance; +} + +- (BOOL)isAdjustingWhiteBalance { + return NO; +} + +- (BOOL)isLockingWhiteBalanceWithCustomDeviceGainsSupported { + return _spec.supportsWhiteBalance; +} + +- (AVCaptureWhiteBalanceGains)deviceWhiteBalanceGains { + return _whiteBalanceGains; +} + +- (AVCaptureWhiteBalanceGains)grayWorldDeviceWhiteBalanceGains { + return _whiteBalanceGains; +} + +- (float)maxWhiteBalanceGain { + return 4.0f; +} + +- (void)setWhiteBalanceModeLockedWithDeviceWhiteBalanceGains:(AVCaptureWhiteBalanceGains)gains completionHandler:(void (^)(CMTime))handler { + _whiteBalanceMode = AVCaptureWhiteBalanceModeLocked; + if (gains.redGain != AVCaptureWhiteBalanceGainsCurrent.redGain) { + _whiteBalanceGains = gains; + } + if (handler) { + handler(CMClockGetTime(CMClockGetHostTimeClock())); + } +} + +- (AVCaptureWhiteBalanceTemperatureAndTintValues)temperatureAndTintValuesForDeviceWhiteBalanceGains:(AVCaptureWhiteBalanceGains)gains { + // ponytail: linear stand-in for Apple's calibration curve; tests only check round-trips. + return (AVCaptureWhiteBalanceTemperatureAndTintValues){.temperature = 6500.0f / MAX(gains.redGain, 0.01f) * gains.blueGain, .tint = (gains.greenGain - 1.0f) * 100.0f}; +} + +- (AVCaptureWhiteBalanceGains)deviceWhiteBalanceGainsForTemperatureAndTintValues:(AVCaptureWhiteBalanceTemperatureAndTintValues)values { + return (AVCaptureWhiteBalanceGains){.redGain = MAX(1.0f, 6500.0f / MAX(values.temperature, 1.0f)), .greenGain = 1.0f + values.tint / 100.0f, .blueGain = 1.0f}; +} + +- (AVCaptureWhiteBalanceChromaticityValues)chromaticityValuesForDeviceWhiteBalanceGains:(AVCaptureWhiteBalanceGains)gains { + return (AVCaptureWhiteBalanceChromaticityValues){.x = 0.3127f, .y = 0.329f}; +} + +- (AVCaptureWhiteBalanceGains)deviceWhiteBalanceGainsForChromaticityValues:(AVCaptureWhiteBalanceChromaticityValues)values { + return _whiteBalanceGains; +} + +// MARK: Misc capabilities + +- (BOOL)isSubjectAreaChangeMonitoringEnabled { + return _subjectAreaChangeMonitoringEnabled; +} + +- (void)setSubjectAreaChangeMonitoringEnabled:(BOOL)enabled { + _subjectAreaChangeMonitoringEnabled = enabled; +} + +- (BOOL)isLowLightBoostSupported { + return _spec.supportsLowLightBoost; +} + +- (BOOL)isLowLightBoostEnabled { + return NO; +} + +- (BOOL)automaticallyEnablesLowLightBoostWhenAvailable { + return _automaticallyEnablesLowLightBoostWhenAvailable; +} + +- (void)setAutomaticallyEnablesLowLightBoostWhenAvailable:(BOOL)enabled { + _automaticallyEnablesLowLightBoostWhenAvailable = enabled; +} + +- (BOOL)isVideoHDREnabled { + return _videoHDREnabled; +} + +- (void)setVideoHDREnabled:(BOOL)enabled { + _videoHDREnabled = enabled; +} + +- (BOOL)automaticallyAdjustsVideoHDREnabled { + return _automaticallyAdjustsVideoHDREnabled; +} + +- (void)setAutomaticallyAdjustsVideoHDREnabled:(BOOL)enabled { + _automaticallyAdjustsVideoHDREnabled = enabled; +} + +- (AVCaptureColorSpace)activeColorSpace { + return _activeColorSpace; +} + +- (void)setActiveColorSpace:(AVCaptureColorSpace)colorSpace { + _activeColorSpace = colorSpace; +} + +- (BOOL)isGeometricDistortionCorrectionSupported { + return YES; +} + +- (BOOL)isGeometricDistortionCorrectionEnabled { + return _geometricDistortionCorrectionEnabled; +} + +- (void)setGeometricDistortionCorrectionEnabled:(BOOL)enabled { + _geometricDistortionCorrectionEnabled = enabled; +} + +- (BOOL)isCenterStageActive { + return NO; +} + +- (BOOL)isPortraitEffectActive { + return NO; +} + +- (BOOL)isStudioLightActive { + return NO; +} + +- (BOOL)isBackgroundReplacementActive { + return NO; +} + +- (BOOL)isGlobalToneMappingEnabled { + return NO; +} + +- (BOOL)isEqual:(id)object { + return self == object; +} + +- (NSUInteger)hash { + return (NSUInteger)(__bridge void *)self; +} + +- (NSString *)description { + return [NSString stringWithFormat:@"", _spec.uniqueID, _spec.deviceType, (long)_fakeFormats.count]; +} + +- (NSString *)debugDescription { + return self.description; +} + +FAKECAM_FORWARDING_NET + +@end + +// MARK: - AVCaptureInputPort + +@implementation FakeCameraInputPort { + __weak AVCaptureInput *_fakeInput; + FakeCameraDevice *_fakeDevice; + BOOL _enabled; +} + ++ (instancetype)portForInput:(AVCaptureInput *)input device:(FakeCameraDevice *)device { + FakeCameraInputPort *port = createInstance(self); + port->_fakeInput = input; + port->_fakeDevice = device; + port->_enabled = YES; + return port; +} + +- (AVCaptureInput *)fakeInput { + return _fakeInput; +} + +- (FakeCameraDevice *)fakeDevice { + return _fakeDevice; +} + +- (AVCaptureInput *)input { + return _fakeInput; +} + +- (AVMediaType)mediaType { + return AVMediaTypeVideo; +} + +- (CMFormatDescriptionRef)formatDescription { + return _fakeDevice.activeFormat.formatDescription; +} + +- (BOOL)isEnabled { + return _enabled; +} + +- (void)setEnabled:(BOOL)enabled { + _enabled = enabled; +} + +- (AVCaptureDeviceType)sourceDeviceType { + return _fakeDevice.deviceType; +} + +- (AVCaptureDevicePosition)sourceDevicePosition { + return _fakeDevice.position; +} + +- (CMClockRef)clock { + return CMClockGetHostTimeClock(); +} + +- (BOOL)isEqual:(id)object { + return self == object; +} + +- (NSUInteger)hash { + return (NSUInteger)(__bridge void *)self; +} + +- (NSString *)description { + return [NSString stringWithFormat:@"", _fakeDevice.uniqueID]; +} + +- (NSString *)debugDescription { + return self.description; +} + +FAKECAM_FORWARDING_NET + +@end + +// MARK: - AVCaptureConnection + +@implementation FakeCameraConnection { + NSArray *_inputPorts; + __weak AVCaptureOutput *_output; + __weak AVCaptureVideoPreviewLayer *_videoPreviewLayer; + BOOL _enabled; + AVCaptureVideoOrientation _videoOrientation; + BOOL _videoMirrored; + BOOL _automaticallyAdjustsVideoMirroring; + AVCaptureVideoStabilizationMode _preferredVideoStabilizationMode; + BOOL _cameraIntrinsicMatrixDeliveryEnabled; + CGFloat _videoScaleAndCropFactor; +} + ++ (instancetype)connectionWithInputPorts:(NSArray *)ports output:(AVCaptureOutput *)output { + FakeCameraConnection *connection = createInstance(self); + connection->_inputPorts = [ports copy]; + connection->_output = output; + [connection reset]; + return connection; +} + ++ (instancetype)connectionWithInputPort:(AVCaptureInputPort *)port videoPreviewLayer:(AVCaptureVideoPreviewLayer *)layer { + FakeCameraConnection *connection = createInstance(self); + connection->_inputPorts = @[ port ]; + connection->_videoPreviewLayer = layer; + [connection reset]; + return connection; +} + +- (void)reset { + _enabled = YES; + _videoOrientation = AVCaptureVideoOrientationPortrait; + _automaticallyAdjustsVideoMirroring = YES; + _videoMirrored = self.fakeDevice.position == AVCaptureDevicePositionFront; + _preferredVideoStabilizationMode = AVCaptureVideoStabilizationModeOff; + _videoScaleAndCropFactor = 1.0; +} + +- (FakeCameraDevice *)fakeDevice { + for (AVCaptureInputPort *port in _inputPorts) { + if ([port isKindOfClass:[FakeCameraInputPort class]]) { + return ((FakeCameraInputPort *)port).fakeDevice; + } + } + return nil; +} + +- (NSArray *)inputPorts { + return _inputPorts; +} + +- (AVCaptureOutput *)output { + return _output; +} + +- (AVCaptureVideoPreviewLayer *)videoPreviewLayer { + return _videoPreviewLayer; +} + +- (BOOL)isEnabled { + return _enabled; +} + +- (void)setEnabled:(BOOL)enabled { + _enabled = enabled; +} + +- (BOOL)isActive { + return _enabled; +} + +- (NSArray *)audioChannels { + return @[]; +} + +- (AVMediaType)mediaType { + return AVMediaTypeVideo; +} + +- (BOOL)isVideoOrientationSupported { + return YES; +} + +- (AVCaptureVideoOrientation)videoOrientation { + return _videoOrientation; +} + +- (void)setVideoOrientation:(AVCaptureVideoOrientation)orientation { + _videoOrientation = orientation; +} + +- (BOOL)isVideoRotationAngleSupported:(CGFloat)angle { + return YES; +} + +- (CGFloat)videoRotationAngle { + switch (_videoOrientation) { + case AVCaptureVideoOrientationPortrait: + return 90.0; + case AVCaptureVideoOrientationPortraitUpsideDown: + return 270.0; + case AVCaptureVideoOrientationLandscapeRight: + return 0.0; + case AVCaptureVideoOrientationLandscapeLeft: + return 180.0; + } + return 90.0; +} + +- (void)setVideoRotationAngle:(CGFloat)angle { + long normalized = ((long)angle % 360 + 360) % 360; + if (normalized == 0) { + _videoOrientation = AVCaptureVideoOrientationLandscapeRight; + } else if (normalized == 90) { + _videoOrientation = AVCaptureVideoOrientationPortrait; + } else if (normalized == 180) { + _videoOrientation = AVCaptureVideoOrientationLandscapeLeft; + } else if (normalized == 270) { + _videoOrientation = AVCaptureVideoOrientationPortraitUpsideDown; + } +} + +- (BOOL)isVideoMirroringSupported { + return YES; +} + +- (BOOL)isVideoMirrored { + return _videoMirrored; +} + +- (void)setVideoMirrored:(BOOL)mirrored { + _videoMirrored = mirrored; +} + +- (BOOL)automaticallyAdjustsVideoMirroring { + return _automaticallyAdjustsVideoMirroring; +} + +- (void)setAutomaticallyAdjustsVideoMirroring:(BOOL)automatically { + _automaticallyAdjustsVideoMirroring = automatically; + if (automatically) { + _videoMirrored = self.fakeDevice.position == AVCaptureDevicePositionFront; + } +} + +- (BOOL)isVideoStabilizationSupported { + return self.fakeDevice.spec.formats.count > 0 && ((FakeCameraFormat *)self.fakeDevice.activeFormat).spec.videoStabilizationModes.count > 0; +} + +- (AVCaptureVideoStabilizationMode)preferredVideoStabilizationMode { + return _preferredVideoStabilizationMode; +} + +- (void)setPreferredVideoStabilizationMode:(AVCaptureVideoStabilizationMode)mode { + _preferredVideoStabilizationMode = mode; +} + +- (AVCaptureVideoStabilizationMode)activeVideoStabilizationMode { + if ([self.fakeDevice.activeFormat isVideoStabilizationModeSupported:_preferredVideoStabilizationMode]) { + return _preferredVideoStabilizationMode; + } + return AVCaptureVideoStabilizationModeOff; +} + +- (BOOL)isCameraIntrinsicMatrixDeliverySupported { + return NO; +} + +- (BOOL)isCameraIntrinsicMatrixDeliveryEnabled { + return _cameraIntrinsicMatrixDeliveryEnabled; +} + +- (void)setCameraIntrinsicMatrixDeliveryEnabled:(BOOL)enabled { + _cameraIntrinsicMatrixDeliveryEnabled = enabled; +} + +- (BOOL)isVideoFieldModeSupported { + return NO; +} + +- (CGFloat)videoMaxScaleAndCropFactor { + return 1.0; +} + +- (CGFloat)videoScaleAndCropFactor { + return _videoScaleAndCropFactor; +} + +- (void)setVideoScaleAndCropFactor:(CGFloat)factor { + _videoScaleAndCropFactor = factor; +} + +- (BOOL)isVideoMinFrameDurationSupported { + return NO; +} + +- (BOOL)isVideoMaxFrameDurationSupported { + return NO; +} + +- (BOOL)isEqual:(id)object { + return self == object; +} + +- (NSUInteger)hash { + return (NSUInteger)(__bridge void *)self; +} + +- (NSString *)description { + return [NSString stringWithFormat:@" %@>", self.fakeDevice.uniqueID, _output ?: (id)_videoPreviewLayer]; +} + +- (NSString *)debugDescription { + return self.description; +} + +FAKECAM_FORWARDING_NET + +@end + +// MARK: - Registry + +static const void *kInputDeviceKey = &kInputDeviceKey; +static const void *kInputPortKey = &kInputPortKey; + +@implementation FakeCameraRegistry { + FakeCameraCatalog *_catalog; + NSArray *_devices; + CGImageRef _sceneImage; + NSMutableArray *_retained; + AVCaptureDevice *_userPreferredCamera; +} + ++ (FakeCameraRegistry *)shared { + static FakeCameraRegistry *shared; + static dispatch_once_t once; + dispatch_once(&once, ^{ + shared = [FakeCameraRegistry new]; + }); + return shared; +} + +- (instancetype)init { + if ((self = [super init])) { + _devices = @[]; + _retained = [NSMutableArray array]; + } + return self; +} + +- (FakeCameraCatalog *)catalog { + return _catalog; +} + +- (NSArray *)devices { + return _devices; +} + +- (CGImageRef)sceneImage { + return _sceneImage; +} + +- (AVCaptureDevice *)userPreferredCamera { + return _userPreferredCamera; +} + +- (void)setUserPreferredCamera:(AVCaptureDevice *)userPreferredCamera { + _userPreferredCamera = userPreferredCamera; +} + +- (void)installCatalog:(FakeCameraCatalog *)catalog sceneImage:(CGImageRef)sceneImage { + _catalog = catalog; + _sceneImage = CGImageRetain(sceneImage); + NSMutableArray *devices = [NSMutableArray array]; + for (FakeCameraDeviceSpec *spec in catalog.devices) { + [devices addObject:[FakeCameraDevice deviceWithSpec:spec]]; + } + _devices = devices; +} + +- (FakeCameraDevice *)deviceWithUniqueID:(NSString *)uniqueID { + for (FakeCameraDevice *device in _devices) { + if ([device.uniqueID isEqualToString:uniqueID]) { + return device; + } + } + return nil; +} + +- (FakeCameraDevice *)defaultDeviceOfType:(AVCaptureDeviceType)deviceType position:(AVCaptureDevicePosition)position { + for (FakeCameraDevice *device in _devices) { + BOOL typeMatches = deviceType == nil || [device.deviceType isEqualToString:deviceType]; + BOOL positionMatches = position == AVCaptureDevicePositionUnspecified || device.position == position; + if (typeMatches && positionMatches) { + return device; + } + } + return nil; +} + +- (NSArray *)devicesOfTypes:(NSArray *)deviceTypes position:(AVCaptureDevicePosition)position { + NSMutableArray *matches = [NSMutableArray array]; + for (FakeCameraDevice *device in _devices) { + BOOL typeMatches = deviceTypes == nil || [deviceTypes containsObject:device.deviceType]; + BOOL positionMatches = position == AVCaptureDevicePositionUnspecified || device.position == position; + if (typeMatches && positionMatches) { + [matches addObject:device]; + } + } + return matches; +} + +- (void)retainForever:(id)object { + @synchronized(_retained) { + [_retained addObject:object]; + } +} + +@end + +BOOL FakeCameraIsFakeDevice(id object) { + return [object isKindOfClass:[FakeCameraDevice class]]; +} + +BOOL FakeCameraIsFakeInput(id input) { + return input != nil && objc_getAssociatedObject(input, kInputDeviceKey) != nil; +} + +void FakeCameraTagInput(AVCaptureInput *input, FakeCameraDevice *device) { + objc_setAssociatedObject(input, kInputDeviceKey, device, OBJC_ASSOCIATION_RETAIN_NONATOMIC); + objc_setAssociatedObject(input, kInputPortKey, [FakeCameraInputPort portForInput:input device:device], OBJC_ASSOCIATION_RETAIN_NONATOMIC); + [FakeCameraRegistry.shared retainForever:input]; +} + +FakeCameraDevice *FakeCameraDeviceForInput(id input) { + return input == nil ? nil : objc_getAssociatedObject(input, kInputDeviceKey); +} + +FakeCameraInputPort *FakeCameraPortForInput(id input) { + return input == nil ? nil : objc_getAssociatedObject(input, kInputPortKey); +} diff --git a/apps/fake-simulated-camera/ios/FakeSimulatedCamera/FakeCamera/FakeCameraSession.h b/apps/fake-simulated-camera/ios/FakeSimulatedCamera/FakeCamera/FakeCameraSession.h new file mode 100644 index 0000000000..a8a3a634bb --- /dev/null +++ b/apps/fake-simulated-camera/ios/FakeSimulatedCamera/FakeCamera/FakeCameraSession.h @@ -0,0 +1,19 @@ +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +/// Hooks `AVCaptureDeviceInput`, `AVCaptureSession`, `AVCaptureConnection`, `AVCaptureOutput`, +/// `AVCaptureVideoDataOutput`, `AVCaptureVideoPreviewLayer` and `AVCapturePhotoOutput` so a session that received a +/// fake input keeps a fake graph. Sessions without a fake input keep their original implementations. +void FakeCameraInstallSessionHooks(void); + +BOOL FakeCameraIsFakeSession(AVCaptureSession *_Nullable session); +NSArray *FakeCameraSessionInputs(AVCaptureSession *session); +NSArray *FakeCameraSessionOutputs(AVCaptureSession *session); +NSArray *FakeCameraSessionConnections(AVCaptureSession *session); +NSDictionary *_Nullable FakeCameraOutputVideoSettings(AVCaptureVideoDataOutput *output); +id _Nullable FakeCameraOutputDelegate(AVCaptureVideoDataOutput *output); +dispatch_queue_t _Nullable FakeCameraOutputQueue(AVCaptureVideoDataOutput *output); + +NS_ASSUME_NONNULL_END diff --git a/apps/fake-simulated-camera/ios/FakeSimulatedCamera/FakeCamera/FakeCameraSession.m b/apps/fake-simulated-camera/ios/FakeSimulatedCamera/FakeCamera/FakeCameraSession.m new file mode 100644 index 0000000000..71f0c5a2ef --- /dev/null +++ b/apps/fake-simulated-camera/ios/FakeSimulatedCamera/FakeCamera/FakeCameraSession.m @@ -0,0 +1,602 @@ +#import "FakeCameraSession.h" + +#import +#import + +#import "FakeCameraFramePump.h" +#import "FakeCameraLog.h" +#import "FakeCameraObjects.h" +#import "FakeCameraSwizzle.h" + +// Per-session state lives in associated objects so nothing leaks between sessions. +static const void *kSessionFakeKey = &kSessionFakeKey; +static const void *kSessionInputsKey = &kSessionInputsKey; +static const void *kSessionOutputsKey = &kSessionOutputsKey; +static const void *kSessionConnectionsKey = &kSessionConnectionsKey; +static const void *kSessionRunningKey = &kSessionRunningKey; +static const void *kSessionPumpKey = &kSessionPumpKey; +static const void *kSessionPresetKey = &kSessionPresetKey; +static const void *kOutputConnectionsKey = &kOutputConnectionsKey; +static const void *kOutputSessionKey = &kOutputSessionKey; +static const void *kOutputVideoSettingsKey = &kOutputVideoSettingsKey; +static const void *kOutputDelegateKey = &kOutputDelegateKey; +static const void *kOutputQueueKey = &kOutputQueueKey; +static const void *kLayerSessionKey = &kLayerSessionKey; +static const void *kPhotoOutputMaxDimensionsKey = &kPhotoOutputMaxDimensionsKey; + +static NSLock *stateLock(void) { + static NSLock *lock; + static dispatch_once_t once; + dispatch_once(&once, ^{ + lock = [NSLock new]; + }); + return lock; +} + +static NSMutableArray *list(id owner, const void *key) { + NSMutableArray *array = objc_getAssociatedObject(owner, key); + if (array == nil) { + array = [NSMutableArray array]; + objc_setAssociatedObject(owner, key, array, OBJC_ASSOCIATION_RETAIN_NONATOMIC); + } + return array; +} + +static void listAdd(id owner, const void *key, id object) { + [stateLock() lock]; + NSMutableArray *array = list(owner, key); + if (![array containsObject:object]) { + [array addObject:object]; + } + [stateLock() unlock]; +} + +static void listRemove(id owner, const void *key, id object) { + [stateLock() lock]; + [list(owner, key) removeObject:object]; + [stateLock() unlock]; +} + +static NSArray *listCopy(id owner, const void *key) { + [stateLock() lock]; + NSArray *copy = [list(owner, key) copy]; + [stateLock() unlock]; + return copy; +} + +static NSArray *merged(NSArray *fake, NSArray *original) { + if (original.count == 0) { + return fake; + } + NSMutableArray *result = [fake mutableCopy]; + for (id object in original) { + if (![result containsObject:object]) { + [result addObject:object]; + } + } + return result; +} + +BOOL FakeCameraIsFakeSession(AVCaptureSession *session) { + return session != nil && [objc_getAssociatedObject(session, kSessionFakeKey) boolValue]; +} + +NSArray *FakeCameraSessionInputs(AVCaptureSession *session) { + return listCopy(session, kSessionInputsKey); +} + +NSArray *FakeCameraSessionOutputs(AVCaptureSession *session) { + return listCopy(session, kSessionOutputsKey); +} + +NSArray *FakeCameraSessionConnections(AVCaptureSession *session) { + return listCopy(session, kSessionConnectionsKey); +} + +NSDictionary *FakeCameraOutputVideoSettings(AVCaptureVideoDataOutput *output) { + return objc_getAssociatedObject(output, kOutputVideoSettingsKey); +} + +id FakeCameraOutputDelegate(AVCaptureVideoDataOutput *output) { + return objc_getAssociatedObject(output, kOutputDelegateKey); +} + +dispatch_queue_t FakeCameraOutputQueue(AVCaptureVideoDataOutput *output) { + return objc_getAssociatedObject(output, kOutputQueueKey); +} + +static FakeCameraFramePump *pumpForSession(AVCaptureSession *session, BOOL create) { + FakeCameraFramePump *pump = objc_getAssociatedObject(session, kSessionPumpKey); + if (pump == nil && create) { + pump = [[FakeCameraFramePump alloc] initWithSession:session]; + objc_setAssociatedObject(session, kSessionPumpKey, pump, OBJC_ASSOCIATION_RETAIN_NONATOMIC); + } + return pump; +} + +static void markSessionFake(AVCaptureSession *session) { + if (!FakeCameraIsFakeSession(session)) { + objc_setAssociatedObject(session, kSessionFakeKey, @YES, OBJC_ASSOCIATION_RETAIN_NONATOMIC); + // Retain forever like every other fake: a fake session is a real AVCaptureSession whose graph was bypassed, + // so its -dealloc walks a fake graph and crashes. Never letting it dealloc during the process avoids that. + [FakeCameraRegistry.shared retainForever:session]; + FAKECAM_INFO("session %p is now fake", session); + } +} + +// MARK: - AVCaptureDeviceInput + +static IMP originalInputInit; +static IMP originalInputDevice; +static IMP originalInputPorts; + +static id inputInitWithDevice(id self, SEL _cmd, AVCaptureDevice *device, NSError **error) { + if (!FakeCameraIsFakeDevice(device)) { + return ((id(*)(id, SEL, AVCaptureDevice *, NSError **))originalInputInit)(self, _cmd, device, error); + } + // AVFoundation's designated initializer needs a real capture service; NSObject's init leaves the instance + // zeroed and every accessor VisionCamera uses is routed to the tag below. + struct objc_super superInfo = {self, [NSObject class]}; + id input = ((id(*)(struct objc_super *, SEL))objc_msgSendSuper)(&superInfo, @selector(init)); + FakeCameraTagInput(input, (FakeCameraDevice *)device); + if (error) { + *error = nil; + } + return input; +} + +static AVCaptureDevice *inputDevice(id self, SEL _cmd) { + FakeCameraDevice *device = FakeCameraDeviceForInput(self); + return device ?: ((AVCaptureDevice * (*)(id, SEL)) originalInputDevice)(self, _cmd); +} + +static NSArray *inputPorts(id self, SEL _cmd) { + FakeCameraInputPort *port = FakeCameraPortForInput(self); + return port ? @[ port ] : ((NSArray * (*)(id, SEL)) originalInputPorts)(self, _cmd); +} + +// MARK: - AVCaptureSession + +static IMP originalCanAddInput; +static IMP originalAddInput; +static IMP originalAddInputWithNoConnections; +static IMP originalRemoveInput; +static IMP originalCanAddOutput; +static IMP originalAddOutput; +static IMP originalAddOutputWithNoConnections; +static IMP originalRemoveOutput; +static IMP originalCanAddConnection; +static IMP originalAddConnection; +static IMP originalRemoveConnection; +static IMP originalInputs; +static IMP originalOutputs; +static IMP originalConnections; +static IMP originalStartRunning; +static IMP originalStopRunning; +static IMP originalIsRunning; +static IMP originalSessionPreset; +static IMP originalSetSessionPreset; +static IMP originalCanSetSessionPreset; + +static void detachConnection(AVCaptureSession *session, FakeCameraConnection *connection) { + listRemove(session, kSessionConnectionsKey, connection); + AVCaptureOutput *output = connection.output; + if (output != nil) { + listRemove(output, kOutputConnectionsKey, connection); + } +} + +static BOOL sessionCanAddInput(id self, SEL _cmd, AVCaptureInput *input) { + if (FakeCameraIsFakeInput(input)) { + return YES; + } + return ((BOOL(*)(id, SEL, AVCaptureInput *))originalCanAddInput)(self, _cmd, input); +} + +static void sessionAddInputCommon(AVCaptureSession *self, AVCaptureInput *input) { + markSessionFake(self); + listAdd(self, kSessionInputsKey, input); + FAKECAM_INFO("session %p: added fake input for %{public}@", self, FakeCameraDeviceForInput(input).uniqueID); +} + +static void sessionAddInput(id self, SEL _cmd, AVCaptureInput *input) { + if (FakeCameraIsFakeInput(input)) { + sessionAddInputCommon(self, input); + return; + } + ((void (*)(id, SEL, AVCaptureInput *))originalAddInput)(self, _cmd, input); +} + +static void sessionAddInputWithNoConnections(id self, SEL _cmd, AVCaptureInput *input) { + if (FakeCameraIsFakeInput(input)) { + sessionAddInputCommon(self, input); + return; + } + ((void (*)(id, SEL, AVCaptureInput *))originalAddInputWithNoConnections)(self, _cmd, input); +} + +static void sessionRemoveInput(id self, SEL _cmd, AVCaptureInput *input) { + if (FakeCameraIsFakeInput(input)) { + FAKECAM_INFO("session %p: removeInput", self); + // Untrack only. Do NOT walk the connection list here: AVCaptureSession's own dealloc calls removeInput:, + // and touching the associated connection arrays mid-teardown over-releases. Reconfigure rebuilds + // connections from scratch in updateConnections, so no cascade is needed. + listRemove(self, kSessionInputsKey, input); + return; + } + ((void (*)(id, SEL, AVCaptureInput *))originalRemoveInput)(self, _cmd, input); +} + +static BOOL sessionCanAddOutput(id self, SEL _cmd, AVCaptureOutput *output) { + if (FakeCameraIsFakeSession(self)) { + return YES; + } + return ((BOOL(*)(id, SEL, AVCaptureOutput *))originalCanAddOutput)(self, _cmd, output); +} + +static void sessionAddOutputCommon(AVCaptureSession *self, AVCaptureOutput *output) { + listAdd(self, kSessionOutputsKey, output); + objc_setAssociatedObject(output, kOutputSessionKey, self, OBJC_ASSOCIATION_ASSIGN); + FAKECAM_INFO("session %p: added output %{public}@", self, NSStringFromClass([output class])); +} + +static void sessionAddOutput(id self, SEL _cmd, AVCaptureOutput *output) { + if (FakeCameraIsFakeSession(self)) { + sessionAddOutputCommon(self, output); + return; + } + ((void (*)(id, SEL, AVCaptureOutput *))originalAddOutput)(self, _cmd, output); +} + +static void sessionAddOutputWithNoConnections(id self, SEL _cmd, AVCaptureOutput *output) { + if (FakeCameraIsFakeSession(self)) { + sessionAddOutputCommon(self, output); + return; + } + ((void (*)(id, SEL, AVCaptureOutput *))originalAddOutputWithNoConnections)(self, _cmd, output); +} + +static void sessionRemoveOutput(id self, SEL _cmd, AVCaptureOutput *output) { + if (FakeCameraIsFakeSession(self)) { + FAKECAM_INFO("session %p: removeOutput %{public}@", self, NSStringFromClass([output class])); + // Untrack the output and drop the fake connections it owns. The session's own connection list is rebuilt + // by updateConnections on the next configure; nothing walks it here (see sessionRemoveInput). + listRemove(self, kSessionOutputsKey, output); + for (FakeCameraConnection *connection in listCopy(output, kOutputConnectionsKey)) { + listRemove(self, kSessionConnectionsKey, connection); + } + [stateLock() lock]; + [list(output, kOutputConnectionsKey) removeAllObjects]; + [stateLock() unlock]; + objc_setAssociatedObject(output, kOutputSessionKey, nil, OBJC_ASSOCIATION_ASSIGN); + return; + } + ((void (*)(id, SEL, AVCaptureOutput *))originalRemoveOutput)(self, _cmd, output); +} + +static BOOL sessionCanAddConnection(id self, SEL _cmd, AVCaptureConnection *connection) { + if ([connection isKindOfClass:[FakeCameraConnection class]]) { + return YES; + } + return ((BOOL(*)(id, SEL, AVCaptureConnection *))originalCanAddConnection)(self, _cmd, connection); +} + +static void sessionAddConnection(id self, SEL _cmd, AVCaptureConnection *connection) { + if ([connection isKindOfClass:[FakeCameraConnection class]]) { + markSessionFake(self); + listAdd(self, kSessionConnectionsKey, connection); + AVCaptureOutput *output = connection.output; + if (output != nil) { + listAdd(output, kOutputConnectionsKey, connection); + } + FAKECAM_INFO("session %p: added connection %{public}@", self, connection); + return; + } + ((void (*)(id, SEL, AVCaptureConnection *))originalAddConnection)(self, _cmd, connection); +} + +static void sessionRemoveConnection(id self, SEL _cmd, AVCaptureConnection *connection) { + if ([connection isKindOfClass:[FakeCameraConnection class]]) { + FAKECAM_INFO("session %p: removeConnection", self); + detachConnection(self, (FakeCameraConnection *)connection); + return; + } + ((void (*)(id, SEL, AVCaptureConnection *))originalRemoveConnection)(self, _cmd, connection); +} + +static NSArray *sessionInputs(id self, SEL _cmd) { + NSArray *original = ((NSArray * (*)(id, SEL)) originalInputs)(self, _cmd); + return FakeCameraIsFakeSession(self) ? merged(FakeCameraSessionInputs(self), original) : original; +} + +static NSArray *sessionOutputs(id self, SEL _cmd) { + NSArray *original = ((NSArray * (*)(id, SEL)) originalOutputs)(self, _cmd); + return FakeCameraIsFakeSession(self) ? merged(FakeCameraSessionOutputs(self), original) : original; +} + +static NSArray *sessionConnections(id self, SEL _cmd) { + NSArray *original = ((NSArray * (*)(id, SEL)) originalConnections)(self, _cmd); + return FakeCameraIsFakeSession(self) ? merged(FakeCameraSessionConnections(self), original) : original; +} + +static void postOnMain(AVCaptureSession *session, NSNotificationName name) { + dispatch_async(dispatch_get_main_queue(), ^{ + [[NSNotificationCenter defaultCenter] postNotificationName:name object:session]; + }); +} + +static void sessionStartRunning(id self, SEL _cmd) { + if (!FakeCameraIsFakeSession(self)) { + ((void (*)(id, SEL))originalStartRunning)(self, _cmd); + return; + } + if ([objc_getAssociatedObject(self, kSessionRunningKey) boolValue]) { + return; + } + [self willChangeValueForKey:@"running"]; + objc_setAssociatedObject(self, kSessionRunningKey, @YES, OBJC_ASSOCIATION_RETAIN_NONATOMIC); + [self didChangeValueForKey:@"running"]; + [pumpForSession(self, YES) start]; + FAKECAM_INFO("session %p: startRunning", self); + postOnMain(self, AVCaptureSessionDidStartRunningNotification); +} + +static void sessionStopRunning(id self, SEL _cmd) { + if (!FakeCameraIsFakeSession(self)) { + ((void (*)(id, SEL))originalStopRunning)(self, _cmd); + return; + } + if (![objc_getAssociatedObject(self, kSessionRunningKey) boolValue]) { + return; + } + [pumpForSession(self, NO) stop]; + // Release the pump so a stopped session keeps no live streaming object; the next start builds a fresh one. + // The pending stop block retains the pump until it has cancelled the timer, so this cannot dangle. + objc_setAssociatedObject(self, kSessionPumpKey, nil, OBJC_ASSOCIATION_RETAIN_NONATOMIC); + [self willChangeValueForKey:@"running"]; + objc_setAssociatedObject(self, kSessionRunningKey, @NO, OBJC_ASSOCIATION_RETAIN_NONATOMIC); + [self didChangeValueForKey:@"running"]; + FAKECAM_INFO("session %p: stopRunning", self); + postOnMain(self, AVCaptureSessionDidStopRunningNotification); +} + +static BOOL sessionIsRunning(id self, SEL _cmd) { + if (FakeCameraIsFakeSession(self)) { + return [objc_getAssociatedObject(self, kSessionRunningKey) boolValue]; + } + return ((BOOL(*)(id, SEL))originalIsRunning)(self, _cmd); +} + +// begin/commit are no-ops: the Simulator has no real capture graph, and the real commitConfiguration walks the +// fake input/output/connection objects and crashes in -_validateProResRawVideoConfiguration:. VisionCamera brackets +// its configuration in begin/commit but drives the fake graph purely through the tracked associated objects. +static void sessionBeginConfiguration(id self, SEL _cmd) {} + +static void sessionCommitConfiguration(id self, SEL _cmd) {} + +// Presets are stored for every session: the Simulator has no capture service, so the real setter rejects +// `inputPriority` before any input exists and VisionCamera sets it in `HybridCameraSession.init`. +static AVCaptureSessionPreset sessionPreset(id self, SEL _cmd) { + return objc_getAssociatedObject(self, kSessionPresetKey) ?: AVCaptureSessionPresetHigh; +} + +static void setSessionPreset(id self, SEL _cmd, AVCaptureSessionPreset preset) { + objc_setAssociatedObject(self, kSessionPresetKey, preset, OBJC_ASSOCIATION_COPY_NONATOMIC); +} + +static BOOL canSetSessionPreset(id self, SEL _cmd, AVCaptureSessionPreset preset) { + return YES; +} + +// MARK: - AVCaptureConnection + +static IMP originalConnectionInitWithPorts; +static IMP originalConnectionInitWithPreviewLayer; + +static BOOL containsFakePort(NSArray *ports) { + for (AVCaptureInputPort *port in ports) { + if ([port isKindOfClass:[FakeCameraInputPort class]]) { + return YES; + } + } + return NO; +} + +static id connectionInitWithPorts(id self, SEL _cmd, NSArray *ports, AVCaptureOutput *output) { + if (containsFakePort(ports)) { + // The allocated-but-uninitialized `self` is dropped (kept alive by the registry: its real dealloc must not run). + [FakeCameraRegistry.shared retainForever:self]; + return [FakeCameraConnection connectionWithInputPorts:ports output:output]; + } + return ((id(*)(id, SEL, NSArray *, AVCaptureOutput *))originalConnectionInitWithPorts)(self, _cmd, ports, output); +} + +static id connectionInitWithPreviewLayer(id self, SEL _cmd, AVCaptureInputPort *port, AVCaptureVideoPreviewLayer *layer) { + if ([port isKindOfClass:[FakeCameraInputPort class]]) { + [FakeCameraRegistry.shared retainForever:self]; + return [FakeCameraConnection connectionWithInputPort:port videoPreviewLayer:layer]; + } + return ((id(*)(id, SEL, AVCaptureInputPort *, AVCaptureVideoPreviewLayer *))originalConnectionInitWithPreviewLayer)(self, _cmd, port, layer); +} + +// MARK: - AVCaptureOutput + +static IMP originalOutputConnections; +static IMP originalOutputConnectionWithMediaType; + +static NSArray *outputConnections(id self, SEL _cmd) { + NSArray *original = ((NSArray * (*)(id, SEL)) originalOutputConnections)(self, _cmd); + return merged(listCopy(self, kOutputConnectionsKey), original); +} + +static AVCaptureConnection *outputConnectionWithMediaType(id self, SEL _cmd, AVMediaType mediaType) { + if ([mediaType isEqualToString:AVMediaTypeVideo]) { + AVCaptureConnection *fake = listCopy(self, kOutputConnectionsKey).firstObject; + if (fake != nil) { + return fake; + } + } + return ((AVCaptureConnection * (*)(id, SEL, AVMediaType)) originalOutputConnectionWithMediaType)(self, _cmd, mediaType); +} + +// MARK: - AVCaptureVideoDataOutput + +static IMP originalSetSampleBufferDelegate; +static IMP originalVideoSettings; + +static void setSampleBufferDelegate(id self, SEL _cmd, id delegate, dispatch_queue_t queue) { + objc_setAssociatedObject(self, kOutputDelegateKey, delegate, OBJC_ASSOCIATION_RETAIN_NONATOMIC); + objc_setAssociatedObject(self, kOutputQueueKey, queue, OBJC_ASSOCIATION_RETAIN_NONATOMIC); + ((void (*)(id, SEL, id, dispatch_queue_t))originalSetSampleBufferDelegate)(self, _cmd, delegate, queue); +} + +// The Simulator has no video pixel formats, so the real setter rejects every value; VisionCamera sets the +// settings before the output is attached, hence they are stored for every video data output. +static void setVideoSettings(id self, SEL _cmd, NSDictionary *settings) { + objc_setAssociatedObject(self, kOutputVideoSettingsKey, settings, OBJC_ASSOCIATION_COPY_NONATOMIC); +} + +static NSDictionary *videoSettings(id self, SEL _cmd) { + return objc_getAssociatedObject(self, kOutputVideoSettingsKey) ?: ((NSDictionary * (*)(id, SEL)) originalVideoSettings)(self, _cmd); +} + +static NSArray *availableVideoCVPixelFormatTypes(id self, SEL _cmd) { + return @[ @(kCVPixelFormatType_32BGRA), @(kCVPixelFormatType_420YpCbCr8BiPlanarVideoRange), @(kCVPixelFormatType_420YpCbCr8BiPlanarFullRange) ]; +} + +// MARK: - AVCaptureVideoPreviewLayer + +static IMP originalLayerSetSession; +static IMP originalLayerSetSessionWithNoConnection; +static IMP originalLayerSession; +static IMP originalLayerConnection; + +static void layerAttach(AVCaptureVideoPreviewLayer *layer, AVCaptureSession *session, IMP original, SEL _cmd) { + AVCaptureSession *previous = objc_getAssociatedObject(layer, kLayerSessionKey); + if (session == nil && previous != nil) { + objc_setAssociatedObject(layer, kLayerSessionKey, nil, OBJC_ASSOCIATION_ASSIGN); + for (FakeCameraConnection *connection in FakeCameraSessionConnections(previous)) { + if (connection.videoPreviewLayer == layer) { + detachConnection(previous, connection); + } + } + return; + } + if (FakeCameraIsFakeSession(session)) { + objc_setAssociatedObject(layer, kLayerSessionKey, session, OBJC_ASSOCIATION_ASSIGN); + return; + } + ((void (*)(id, SEL, AVCaptureSession *))original)(layer, _cmd, session); +} + +static void layerSetSession(id self, SEL _cmd, AVCaptureSession *session) { + layerAttach(self, session, originalLayerSetSession, _cmd); +} + +static void layerSetSessionWithNoConnection(id self, SEL _cmd, AVCaptureSession *session) { + layerAttach(self, session, originalLayerSetSessionWithNoConnection, _cmd); +} + +static AVCaptureSession *layerSession(id self, SEL _cmd) { + AVCaptureSession *session = objc_getAssociatedObject(self, kLayerSessionKey); + return session ?: ((AVCaptureSession * (*)(id, SEL)) originalLayerSession)(self, _cmd); +} + +static AVCaptureConnection *layerConnection(id self, SEL _cmd) { + AVCaptureSession *session = objc_getAssociatedObject(self, kLayerSessionKey); + if (session != nil) { + for (FakeCameraConnection *connection in FakeCameraSessionConnections(session)) { + if (connection.videoPreviewLayer == self) { + return connection; + } + } + return nil; + } + return ((AVCaptureConnection * (*)(id, SEL)) originalLayerConnection)(self, _cmd); +} + +// MARK: - AVCapturePhotoOutput + +static IMP originalMaxPhotoDimensions; +static IMP originalSetMaxPhotoDimensions; + +static CMVideoDimensions maxPhotoDimensions(id self, SEL _cmd) { + NSValue *stored = objc_getAssociatedObject(self, kPhotoOutputMaxDimensionsKey); + if (stored != nil) { + CMVideoDimensions dims; + [stored getValue:&dims]; + return dims; + } + return ((CMVideoDimensions(*)(id, SEL))originalMaxPhotoDimensions)(self, _cmd); +} + +static void setMaxPhotoDimensions(id self, SEL _cmd, CMVideoDimensions dims) { + if (objc_getAssociatedObject(self, kOutputSessionKey) != nil) { + objc_setAssociatedObject(self, kPhotoOutputMaxDimensionsKey, [NSValue valueWithBytes:&dims objCType:@encode(CMVideoDimensions)], OBJC_ASSOCIATION_RETAIN_NONATOMIC); + return; + } + ((void (*)(id, SEL, CMVideoDimensions))originalSetMaxPhotoDimensions)(self, _cmd, dims); +} + +// MARK: - Installation + +static void installSessionClass(Class cls) { + originalCanAddInput = FakeCameraReplaceInstanceMethod(cls, @selector(canAddInput:), (IMP)sessionCanAddInput, "B@:@"); + originalAddInput = FakeCameraReplaceInstanceMethod(cls, @selector(addInput:), (IMP)sessionAddInput, "v@:@"); + originalAddInputWithNoConnections = FakeCameraReplaceInstanceMethod(cls, @selector(addInputWithNoConnections:), (IMP)sessionAddInputWithNoConnections, "v@:@"); + originalRemoveInput = FakeCameraReplaceInstanceMethod(cls, @selector(removeInput:), (IMP)sessionRemoveInput, "v@:@"); + originalCanAddOutput = FakeCameraReplaceInstanceMethod(cls, @selector(canAddOutput:), (IMP)sessionCanAddOutput, "B@:@"); + originalAddOutput = FakeCameraReplaceInstanceMethod(cls, @selector(addOutput:), (IMP)sessionAddOutput, "v@:@"); + originalAddOutputWithNoConnections = FakeCameraReplaceInstanceMethod(cls, @selector(addOutputWithNoConnections:), (IMP)sessionAddOutputWithNoConnections, "v@:@"); + originalRemoveOutput = FakeCameraReplaceInstanceMethod(cls, @selector(removeOutput:), (IMP)sessionRemoveOutput, "v@:@"); + originalCanAddConnection = FakeCameraReplaceInstanceMethod(cls, @selector(canAddConnection:), (IMP)sessionCanAddConnection, "B@:@"); + originalAddConnection = FakeCameraReplaceInstanceMethod(cls, @selector(addConnection:), (IMP)sessionAddConnection, "v@:@"); + originalRemoveConnection = FakeCameraReplaceInstanceMethod(cls, @selector(removeConnection:), (IMP)sessionRemoveConnection, "v@:@"); + originalInputs = FakeCameraReplaceInstanceMethod(cls, @selector(inputs), (IMP)sessionInputs, "@@:"); + originalOutputs = FakeCameraReplaceInstanceMethod(cls, @selector(outputs), (IMP)sessionOutputs, "@@:"); + originalConnections = FakeCameraReplaceInstanceMethod(cls, @selector(connections), (IMP)sessionConnections, "@@:"); + FakeCameraReplaceInstanceMethod(cls, @selector(beginConfiguration), (IMP)sessionBeginConfiguration, "v@:"); + FakeCameraReplaceInstanceMethod(cls, @selector(commitConfiguration), (IMP)sessionCommitConfiguration, "v@:"); + originalStartRunning = FakeCameraReplaceInstanceMethod(cls, @selector(startRunning), (IMP)sessionStartRunning, "v@:"); + originalStopRunning = FakeCameraReplaceInstanceMethod(cls, @selector(stopRunning), (IMP)sessionStopRunning, "v@:"); + originalIsRunning = FakeCameraReplaceInstanceMethod(cls, @selector(isRunning), (IMP)sessionIsRunning, "B@:"); + originalSessionPreset = FakeCameraReplaceInstanceMethod(cls, @selector(sessionPreset), (IMP)sessionPreset, "@@:"); + originalSetSessionPreset = FakeCameraReplaceInstanceMethod(cls, @selector(setSessionPreset:), (IMP)setSessionPreset, "v@:@"); + originalCanSetSessionPreset = FakeCameraReplaceInstanceMethod(cls, @selector(canSetSessionPreset:), (IMP)canSetSessionPreset, "B@:@"); +} + +void FakeCameraInstallSessionHooks(void) { + Class input = [AVCaptureDeviceInput class]; + originalInputInit = FakeCameraReplaceInstanceMethod(input, @selector(initWithDevice:error:), (IMP)inputInitWithDevice, "@@:@^@"); + originalInputDevice = FakeCameraReplaceInstanceMethod(input, @selector(device), (IMP)inputDevice, "@@:"); + originalInputPorts = FakeCameraReplaceInstanceMethod(input, @selector(ports), (IMP)inputPorts, "@@:"); + + installSessionClass([AVCaptureSession class]); + + Class connection = [AVCaptureConnection class]; + originalConnectionInitWithPorts = FakeCameraReplaceInstanceMethod(connection, @selector(initWithInputPorts:output:), (IMP)connectionInitWithPorts, "@@:@@"); + originalConnectionInitWithPreviewLayer = FakeCameraReplaceInstanceMethod(connection, @selector(initWithInputPort:videoPreviewLayer:), (IMP)connectionInitWithPreviewLayer, "@@:@@"); + + Class output = [AVCaptureOutput class]; + originalOutputConnections = FakeCameraReplaceInstanceMethod(output, @selector(connections), (IMP)outputConnections, "@@:"); + originalOutputConnectionWithMediaType = FakeCameraReplaceInstanceMethod(output, @selector(connectionWithMediaType:), (IMP)outputConnectionWithMediaType, "@@:@"); + + Class videoDataOutput = [AVCaptureVideoDataOutput class]; + originalSetSampleBufferDelegate = FakeCameraReplaceInstanceMethod(videoDataOutput, @selector(setSampleBufferDelegate:queue:), (IMP)setSampleBufferDelegate, "v@:@@"); + FakeCameraReplaceInstanceMethod(videoDataOutput, @selector(setVideoSettings:), (IMP)setVideoSettings, "v@:@"); + originalVideoSettings = FakeCameraReplaceInstanceMethod(videoDataOutput, @selector(videoSettings), (IMP)videoSettings, "@@:"); + FakeCameraReplaceInstanceMethod(videoDataOutput, @selector(availableVideoCVPixelFormatTypes), (IMP)availableVideoCVPixelFormatTypes, "@@:"); + + Class layer = [AVCaptureVideoPreviewLayer class]; + originalLayerSetSession = FakeCameraReplaceInstanceMethod(layer, @selector(setSession:), (IMP)layerSetSession, "v@:@"); + originalLayerSetSessionWithNoConnection = FakeCameraReplaceInstanceMethod(layer, @selector(setSessionWithNoConnection:), (IMP)layerSetSessionWithNoConnection, "v@:@"); + originalLayerSession = FakeCameraReplaceInstanceMethod(layer, @selector(session), (IMP)layerSession, "@@:"); + originalLayerConnection = FakeCameraReplaceInstanceMethod(layer, @selector(connection), (IMP)layerConnection, "@@:"); + + if (@available(iOS 16.0, *)) { + Class photoOutput = [AVCapturePhotoOutput class]; + originalMaxPhotoDimensions = FakeCameraReplaceInstanceMethod(photoOutput, @selector(maxPhotoDimensions), (IMP)maxPhotoDimensions, "{CMVideoDimensions=ii}@:"); + originalSetMaxPhotoDimensions = FakeCameraReplaceInstanceMethod(photoOutput, @selector(setMaxPhotoDimensions:), (IMP)setMaxPhotoDimensions, "v@:{CMVideoDimensions=ii}"); + } + FAKECAM_INFO("session hooks installed"); +} diff --git a/apps/fake-simulated-camera/ios/FakeSimulatedCamera/FakeCamera/FakeCameraSwizzle.h b/apps/fake-simulated-camera/ios/FakeSimulatedCamera/FakeCamera/FakeCameraSwizzle.h new file mode 100644 index 0000000000..fc21b444a1 --- /dev/null +++ b/apps/fake-simulated-camera/ios/FakeSimulatedCamera/FakeCamera/FakeCameraSwizzle.h @@ -0,0 +1,12 @@ +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +/// Replaces (or adds) an instance method and returns the previous implementation, which may be inherited or NULL. +IMP _Nullable FakeCameraReplaceInstanceMethod(Class cls, SEL selector, IMP replacement, const char *typesIfMissing); + +/// Same for class methods. +IMP _Nullable FakeCameraReplaceClassMethod(Class cls, SEL selector, IMP replacement, const char *typesIfMissing); + +NS_ASSUME_NONNULL_END diff --git a/apps/fake-simulated-camera/ios/FakeSimulatedCamera/FakeCamera/FakeCameraSwizzle.m b/apps/fake-simulated-camera/ios/FakeSimulatedCamera/FakeCamera/FakeCameraSwizzle.m new file mode 100644 index 0000000000..b9dedf1c9a --- /dev/null +++ b/apps/fake-simulated-camera/ios/FakeSimulatedCamera/FakeCamera/FakeCameraSwizzle.m @@ -0,0 +1,20 @@ +#import "FakeCameraSwizzle.h" + +static IMP replaceMethod(Class cls, SEL selector, IMP replacement, const char *typesIfMissing) { + Method existing = class_getInstanceMethod(cls, selector); + const char *types = existing ? method_getTypeEncoding(existing) : typesIfMissing; + // class_addMethod succeeds when `cls` itself has no implementation (inherited or missing): the previous IMP is then + // the inherited one. Otherwise swap the implementation in place. + if (class_addMethod(cls, selector, replacement, types)) { + return existing ? method_getImplementation(existing) : NULL; + } + return method_setImplementation(class_getInstanceMethod(cls, selector), replacement); +} + +IMP FakeCameraReplaceInstanceMethod(Class cls, SEL selector, IMP replacement, const char *typesIfMissing) { + return replaceMethod(cls, selector, replacement, typesIfMissing); +} + +IMP FakeCameraReplaceClassMethod(Class cls, SEL selector, IMP replacement, const char *typesIfMissing) { + return replaceMethod(object_getClass(cls), selector, replacement, typesIfMissing); +} diff --git a/apps/fake-simulated-camera/ios/FakeSimulatedCamera/FakeSimulatedCamera-Bridging-Header.h b/apps/fake-simulated-camera/ios/FakeSimulatedCamera/FakeSimulatedCamera-Bridging-Header.h new file mode 100644 index 0000000000..83c2f50483 --- /dev/null +++ b/apps/fake-simulated-camera/ios/FakeSimulatedCamera/FakeSimulatedCamera-Bridging-Header.h @@ -0,0 +1,3 @@ +#if TARGET_OS_SIMULATOR +#import "FakeCamera/FakeCamera.h" +#endif diff --git a/apps/fake-simulated-camera/ios/FakeSimulatedCamera/Images.xcassets/AppIcon.appiconset/Contents.json b/apps/fake-simulated-camera/ios/FakeSimulatedCamera/Images.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000000..ddd7fca89e --- /dev/null +++ b/apps/fake-simulated-camera/ios/FakeSimulatedCamera/Images.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,53 @@ +{ + "images": [ + { + "idiom": "iphone", + "scale": "2x", + "size": "20x20" + }, + { + "idiom": "iphone", + "scale": "3x", + "size": "20x20" + }, + { + "idiom": "iphone", + "scale": "2x", + "size": "29x29" + }, + { + "idiom": "iphone", + "scale": "3x", + "size": "29x29" + }, + { + "idiom": "iphone", + "scale": "2x", + "size": "40x40" + }, + { + "idiom": "iphone", + "scale": "3x", + "size": "40x40" + }, + { + "idiom": "iphone", + "scale": "2x", + "size": "60x60" + }, + { + "idiom": "iphone", + "scale": "3x", + "size": "60x60" + }, + { + "idiom": "ios-marketing", + "scale": "1x", + "size": "1024x1024" + } + ], + "info": { + "author": "xcode", + "version": 1 + } +} diff --git a/apps/fake-simulated-camera/ios/FakeSimulatedCamera/Images.xcassets/Contents.json b/apps/fake-simulated-camera/ios/FakeSimulatedCamera/Images.xcassets/Contents.json new file mode 100644 index 0000000000..97a8662ebd --- /dev/null +++ b/apps/fake-simulated-camera/ios/FakeSimulatedCamera/Images.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info": { + "version": 1, + "author": "xcode" + } +} diff --git a/apps/fake-simulated-camera/ios/FakeSimulatedCamera/Info.plist b/apps/fake-simulated-camera/ios/FakeSimulatedCamera/Info.plist new file mode 100644 index 0000000000..f2bdce84c0 --- /dev/null +++ b/apps/fake-simulated-camera/ios/FakeSimulatedCamera/Info.plist @@ -0,0 +1,70 @@ + + + + + CADisableMinimumFrameDurationOnPhone + + CFBundleDevelopmentRegion + en + CFBundleDisplayName + FakeSimulatedCamera + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + APPL + CFBundleShortVersionString + $(MARKETING_VERSION) + CFBundleSignature + ???? + CFBundleVersion + $(CURRENT_PROJECT_VERSION) + LSRequiresIPhoneOS + + NSAppTransportSecurity + + NSAllowsArbitraryLoads + + NSAllowsLocalNetworking + + + NSCameraUsageDescription + VisionCamera needs access to your Camera for very obvious reasons. + NSMicrophoneUsageDescription + VisionCamera needs access to your Microphone to record audio for video recordings. + NSLocationWhenInUseUsageDescription + VisionCamera needs access to your Location to add GPS tags to captured photos. + RCTNewArchEnabled + + UIAppFonts + + Ionicons.ttf + + UILaunchStoryboardName + LaunchScreen + UIRequiredDeviceCapabilities + + arm64 + + UISupportedInterfaceOrientations + + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + UIInterfaceOrientationPortrait + + UISupportedInterfaceOrientations~ipad + + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + + UIViewControllerBasedStatusBarAppearance + + + diff --git a/apps/fake-simulated-camera/ios/FakeSimulatedCamera/LaunchScreen.storyboard b/apps/fake-simulated-camera/ios/FakeSimulatedCamera/LaunchScreen.storyboard new file mode 100644 index 0000000000..8d2b6b7d89 --- /dev/null +++ b/apps/fake-simulated-camera/ios/FakeSimulatedCamera/LaunchScreen.storyboard @@ -0,0 +1,47 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apps/fake-simulated-camera/ios/FakeSimulatedCamera/PrivacyInfo.xcprivacy b/apps/fake-simulated-camera/ios/FakeSimulatedCamera/PrivacyInfo.xcprivacy new file mode 100644 index 0000000000..9029c2d13e --- /dev/null +++ b/apps/fake-simulated-camera/ios/FakeSimulatedCamera/PrivacyInfo.xcprivacy @@ -0,0 +1,39 @@ + + + + + NSPrivacyAccessedAPITypes + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryUserDefaults + NSPrivacyAccessedAPITypeReasons + + CA92.1 + C56D.1 + 1C8F.1 + + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryFileTimestamp + NSPrivacyAccessedAPITypeReasons + + C617.1 + + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategorySystemBootTime + NSPrivacyAccessedAPITypeReasons + + 35F9.1 + + + + NSPrivacyCollectedDataTypes + + NSPrivacyTracking + + + diff --git a/apps/fake-simulated-camera/ios/Podfile b/apps/fake-simulated-camera/ios/Podfile new file mode 100644 index 0000000000..0d1a40f478 --- /dev/null +++ b/apps/fake-simulated-camera/ios/Podfile @@ -0,0 +1,34 @@ +# Resolve react_native_pods.rb with node to allow for hoisting +require Pod::Executable.execute_command('node', ['-p', + 'require.resolve( + "react-native/scripts/react_native_pods.rb", + {paths: [process.argv[1]]}, + )', __dir__]).strip + +platform :ios, '15.5' +prepare_react_native_project! + +linkage = ENV['USE_FRAMEWORKS'] +if linkage != nil + Pod::UI.puts "Configuring Pod with #{linkage}ally linked Frameworks".green + use_frameworks! :linkage => linkage.to_sym +end + +target 'FakeSimulatedCamera' do + config = use_native_modules! + + use_react_native!( + :path => config[:reactNativePath], + # An absolute path to your application root. + :app_path => "#{Pod::Config.instance.installation_root}/.." + ) + + post_install do |installer| + react_native_post_install( + installer, + config[:reactNativePath], + :mac_catalyst_enabled => false, + # :ccache_enabled => true + ) + end +end diff --git a/apps/fake-simulated-camera/ios/Podfile.lock b/apps/fake-simulated-camera/ios/Podfile.lock new file mode 100644 index 0000000000..a3030c66d5 --- /dev/null +++ b/apps/fake-simulated-camera/ios/Podfile.lock @@ -0,0 +1,2166 @@ +PODS: + - FBLazyVector (0.85.3) + - GoogleDataTransport (10.1.1): + - nanopb (~> 3.30910.0) + - PromisesObjC (~> 2.4) + - GoogleMLKit/BarcodeScanning (9.0.0): + - GoogleMLKit/MLKitCore + - MLKitBarcodeScanning (~> 8.0.0) + - GoogleMLKit/MLKitCore (9.0.0): + - MLKitCommon (~> 14.0.0) + - GoogleToolboxForMac/Defines (4.2.1) + - GoogleToolboxForMac/Logger (4.2.1): + - GoogleToolboxForMac/Defines (= 4.2.1) + - "GoogleToolboxForMac/NSData+zlib (4.2.1)": + - GoogleToolboxForMac/Defines (= 4.2.1) + - GoogleUtilities/Environment (8.1.2): + - GoogleUtilities/Privacy + - GoogleUtilities/Logger (8.1.2): + - GoogleUtilities/Environment + - GoogleUtilities/Privacy + - GoogleUtilities/Privacy (8.1.2) + - GoogleUtilities/UserDefaults (8.1.2): + - GoogleUtilities/Logger + - GoogleUtilities/Privacy + - GTMSessionFetcher/Core (3.5.0) + - hermes-engine (250829098.0.10): + - hermes-engine/Pre-built (= 250829098.0.10) + - hermes-engine/Pre-built (250829098.0.10) + - MLImage (1.0.0-beta8) + - MLKitBarcodeScanning (8.0.0): + - MLKitCommon (~> 14.0) + - MLKitVision (~> 10.0) + - MLKitCommon (14.0.0): + - GoogleDataTransport (~> 10.0) + - GoogleToolboxForMac/Logger (< 5.0, >= 4.2.1) + - "GoogleToolboxForMac/NSData+zlib (< 5.0, >= 4.2.1)" + - GoogleUtilities/Logger (~> 8.0) + - GoogleUtilities/UserDefaults (~> 8.0) + - GTMSessionFetcher/Core (< 4.0, >= 3.3.2) + - MLKitVision (10.0.0): + - GoogleToolboxForMac/Logger (< 5.0, >= 4.2.1) + - "GoogleToolboxForMac/NSData+zlib (< 5.0, >= 4.2.1)" + - GTMSessionFetcher/Core (< 4.0, >= 3.3.2) + - MLImage (= 1.0.0-beta8) + - MLKitCommon (~> 14.0) + - nanopb (3.30910.0): + - nanopb/decode (= 3.30910.0) + - nanopb/encode (= 3.30910.0) + - nanopb/decode (3.30910.0) + - nanopb/encode (3.30910.0) + - NitroImage (0.15.2): + - hermes-engine + - NitroModules + - RCTRequired + - RCTTypeSafety + - React-callinvoker + - React-Core + - React-debug + - React-Fabric + - React-featureflags + - React-graphics + - React-ImageManager + - React-jsi + - React-NativeModulesApple + - React-RCTFabric + - React-renderercss + - React-rendererdebug + - React-utils + - ReactCodegen + - ReactCommon/turbomodule/bridging + - ReactCommon/turbomodule/core + - ReactNativeDependencies + - Yoga + - NitroModules (0.37.0): + - hermes-engine + - RCTRequired + - RCTTypeSafety + - React-callinvoker + - React-Core + - React-debug + - React-Fabric + - React-featureflags + - React-graphics + - React-ImageManager + - React-jsi + - React-NativeModulesApple + - React-RCTFabric + - React-renderercss + - React-rendererdebug + - React-utils + - ReactCodegen + - ReactCommon/turbomodule/bridging + - ReactCommon/turbomodule/core + - ReactNativeDependencies + - Yoga + - PromisesObjC (2.4.1) + - RCTDeprecation (0.85.3) + - RCTRequired (0.85.3) + - RCTSwiftUI (0.85.3) + - RCTSwiftUIWrapper (0.85.3): + - RCTSwiftUI + - RCTTypeSafety (0.85.3): + - FBLazyVector (= 0.85.3) + - RCTRequired (= 0.85.3) + - React-Core (= 0.85.3) + - React (0.85.3): + - React-Core (= 0.85.3) + - React-Core/DevSupport (= 0.85.3) + - React-Core/RCTWebSocket (= 0.85.3) + - React-RCTActionSheet (= 0.85.3) + - React-RCTAnimation (= 0.85.3) + - React-RCTBlob (= 0.85.3) + - React-RCTImage (= 0.85.3) + - React-RCTLinking (= 0.85.3) + - React-RCTNetwork (= 0.85.3) + - React-RCTSettings (= 0.85.3) + - React-RCTText (= 0.85.3) + - React-RCTVibration (= 0.85.3) + - React-callinvoker (0.85.3) + - React-Core (0.85.3): + - hermes-engine + - RCTDeprecation + - React-Core/Default (= 0.85.3) + - React-cxxreact + - React-featureflags + - React-hermes + - React-jsi + - React-jsiexecutor + - React-jsinspector + - React-jsinspectorcdp + - React-jsitooling + - React-perflogger + - React-runtimeexecutor + - React-runtimescheduler + - React-utils + - ReactNativeDependencies + - Yoga + - React-Core/CoreModulesHeaders (0.85.3): + - hermes-engine + - RCTDeprecation + - React-Core/Default + - React-cxxreact + - React-featureflags + - React-hermes + - React-jsi + - React-jsiexecutor + - React-jsinspector + - React-jsinspectorcdp + - React-jsitooling + - React-perflogger + - React-runtimeexecutor + - React-runtimescheduler + - React-utils + - ReactNativeDependencies + - Yoga + - React-Core/Default (0.85.3): + - hermes-engine + - RCTDeprecation + - React-cxxreact + - React-featureflags + - React-hermes + - React-jsi + - React-jsiexecutor + - React-jsinspector + - React-jsinspectorcdp + - React-jsitooling + - React-perflogger + - React-runtimeexecutor + - React-runtimescheduler + - React-utils + - ReactNativeDependencies + - Yoga + - React-Core/DevSupport (0.85.3): + - hermes-engine + - RCTDeprecation + - React-Core/Default (= 0.85.3) + - React-Core/RCTWebSocket (= 0.85.3) + - React-cxxreact + - React-featureflags + - React-hermes + - React-jsi + - React-jsiexecutor + - React-jsinspector + - React-jsinspectorcdp + - React-jsitooling + - React-perflogger + - React-runtimeexecutor + - React-runtimescheduler + - React-utils + - ReactNativeDependencies + - Yoga + - React-Core/RCTActionSheetHeaders (0.85.3): + - hermes-engine + - RCTDeprecation + - React-Core/Default + - React-cxxreact + - React-featureflags + - React-hermes + - React-jsi + - React-jsiexecutor + - React-jsinspector + - React-jsinspectorcdp + - React-jsitooling + - React-perflogger + - React-runtimeexecutor + - React-runtimescheduler + - React-utils + - ReactNativeDependencies + - Yoga + - React-Core/RCTAnimationHeaders (0.85.3): + - hermes-engine + - RCTDeprecation + - React-Core/Default + - React-cxxreact + - React-featureflags + - React-hermes + - React-jsi + - React-jsiexecutor + - React-jsinspector + - React-jsinspectorcdp + - React-jsitooling + - React-perflogger + - React-runtimeexecutor + - React-runtimescheduler + - React-utils + - ReactNativeDependencies + - Yoga + - React-Core/RCTBlobHeaders (0.85.3): + - hermes-engine + - RCTDeprecation + - React-Core/Default + - React-cxxreact + - React-featureflags + - React-hermes + - React-jsi + - React-jsiexecutor + - React-jsinspector + - React-jsinspectorcdp + - React-jsitooling + - React-perflogger + - React-runtimeexecutor + - React-runtimescheduler + - React-utils + - ReactNativeDependencies + - Yoga + - React-Core/RCTImageHeaders (0.85.3): + - hermes-engine + - RCTDeprecation + - React-Core/Default + - React-cxxreact + - React-featureflags + - React-hermes + - React-jsi + - React-jsiexecutor + - React-jsinspector + - React-jsinspectorcdp + - React-jsitooling + - React-perflogger + - React-runtimeexecutor + - React-runtimescheduler + - React-utils + - ReactNativeDependencies + - Yoga + - React-Core/RCTLinkingHeaders (0.85.3): + - hermes-engine + - RCTDeprecation + - React-Core/Default + - React-cxxreact + - React-featureflags + - React-hermes + - React-jsi + - React-jsiexecutor + - React-jsinspector + - React-jsinspectorcdp + - React-jsitooling + - React-perflogger + - React-runtimeexecutor + - React-runtimescheduler + - React-utils + - ReactNativeDependencies + - Yoga + - React-Core/RCTNetworkHeaders (0.85.3): + - hermes-engine + - RCTDeprecation + - React-Core/Default + - React-cxxreact + - React-featureflags + - React-hermes + - React-jsi + - React-jsiexecutor + - React-jsinspector + - React-jsinspectorcdp + - React-jsitooling + - React-perflogger + - React-runtimeexecutor + - React-runtimescheduler + - React-utils + - ReactNativeDependencies + - Yoga + - React-Core/RCTSettingsHeaders (0.85.3): + - hermes-engine + - RCTDeprecation + - React-Core/Default + - React-cxxreact + - React-featureflags + - React-hermes + - React-jsi + - React-jsiexecutor + - React-jsinspector + - React-jsinspectorcdp + - React-jsitooling + - React-perflogger + - React-runtimeexecutor + - React-runtimescheduler + - React-utils + - ReactNativeDependencies + - Yoga + - React-Core/RCTTextHeaders (0.85.3): + - hermes-engine + - RCTDeprecation + - React-Core/Default + - React-cxxreact + - React-featureflags + - React-hermes + - React-jsi + - React-jsiexecutor + - React-jsinspector + - React-jsinspectorcdp + - React-jsitooling + - React-perflogger + - React-runtimeexecutor + - React-runtimescheduler + - React-utils + - ReactNativeDependencies + - Yoga + - React-Core/RCTVibrationHeaders (0.85.3): + - hermes-engine + - RCTDeprecation + - React-Core/Default + - React-cxxreact + - React-featureflags + - React-hermes + - React-jsi + - React-jsiexecutor + - React-jsinspector + - React-jsinspectorcdp + - React-jsitooling + - React-perflogger + - React-runtimeexecutor + - React-runtimescheduler + - React-utils + - ReactNativeDependencies + - Yoga + - React-Core/RCTWebSocket (0.85.3): + - hermes-engine + - RCTDeprecation + - React-Core/Default (= 0.85.3) + - React-cxxreact + - React-featureflags + - React-hermes + - React-jsi + - React-jsiexecutor + - React-jsinspector + - React-jsinspectorcdp + - React-jsitooling + - React-perflogger + - React-runtimeexecutor + - React-runtimescheduler + - React-utils + - ReactNativeDependencies + - Yoga + - React-CoreModules (0.85.3): + - RCTTypeSafety (= 0.85.3) + - React-Core/CoreModulesHeaders (= 0.85.3) + - React-debug + - React-featureflags + - React-jsi (= 0.85.3) + - React-jsinspector + - React-jsinspectorcdp + - React-jsinspectortracing + - React-NativeModulesApple + - React-RCTBlob + - React-RCTFBReactNativeSpec + - React-RCTImage (= 0.85.3) + - React-runtimeexecutor + - React-utils + - ReactCommon + - ReactNativeDependencies + - React-cxxreact (0.85.3): + - hermes-engine + - React-callinvoker (= 0.85.3) + - React-debug (= 0.85.3) + - React-jsi (= 0.85.3) + - React-jsinspector + - React-jsinspectorcdp + - React-jsinspectortracing + - React-logger (= 0.85.3) + - React-perflogger (= 0.85.3) + - React-runtimeexecutor + - React-timing (= 0.85.3) + - React-utils + - ReactNativeDependencies + - React-debug (0.85.3): + - React-debug/redbox (= 0.85.3) + - React-debug/redbox (0.85.3) + - React-defaultsnativemodule (0.85.3): + - hermes-engine + - React-domnativemodule + - React-Fabric/animated + - React-featureflags + - React-featureflagsnativemodule + - React-idlecallbacksnativemodule + - React-intersectionobservernativemodule + - React-jsi + - React-jsiexecutor + - React-microtasksnativemodule + - React-mutationobservernativemodule + - React-RCTFBReactNativeSpec + - React-webperformancenativemodule + - ReactNativeDependencies + - Yoga + - React-domnativemodule (0.85.3): + - hermes-engine + - React-Fabric + - React-Fabric/bridging + - React-FabricComponents + - React-graphics + - React-jsi + - React-jsiexecutor + - React-RCTFBReactNativeSpec + - React-runtimeexecutor + - ReactCommon/turbomodule/core + - ReactNativeDependencies + - Yoga + - React-Fabric (0.85.3): + - hermes-engine + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-Fabric/animated (= 0.85.3) + - React-Fabric/animationbackend (= 0.85.3) + - React-Fabric/animations (= 0.85.3) + - React-Fabric/attributedstring (= 0.85.3) + - React-Fabric/bridging (= 0.85.3) + - React-Fabric/componentregistry (= 0.85.3) + - React-Fabric/componentregistrynative (= 0.85.3) + - React-Fabric/components (= 0.85.3) + - React-Fabric/consistency (= 0.85.3) + - React-Fabric/core (= 0.85.3) + - React-Fabric/dom (= 0.85.3) + - React-Fabric/imagemanager (= 0.85.3) + - React-Fabric/leakchecker (= 0.85.3) + - React-Fabric/mounting (= 0.85.3) + - React-Fabric/observers (= 0.85.3) + - React-Fabric/scheduler (= 0.85.3) + - React-Fabric/telemetry (= 0.85.3) + - React-Fabric/uimanager (= 0.85.3) + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimeexecutor + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - ReactNativeDependencies + - React-Fabric/animated (0.85.3): + - hermes-engine + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-Fabric/animationbackend + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimeexecutor + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - ReactNativeDependencies + - React-Fabric/animationbackend (0.85.3): + - hermes-engine + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimeexecutor + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - ReactNativeDependencies + - React-Fabric/animations (0.85.3): + - hermes-engine + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimeexecutor + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - ReactNativeDependencies + - React-Fabric/attributedstring (0.85.3): + - hermes-engine + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimeexecutor + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - ReactNativeDependencies + - React-Fabric/bridging (0.85.3): + - hermes-engine + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimeexecutor + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - ReactNativeDependencies + - React-Fabric/componentregistry (0.85.3): + - hermes-engine + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimeexecutor + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - ReactNativeDependencies + - React-Fabric/componentregistrynative (0.85.3): + - hermes-engine + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimeexecutor + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - ReactNativeDependencies + - React-Fabric/components (0.85.3): + - hermes-engine + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-Fabric/components/legacyviewmanagerinterop (= 0.85.3) + - React-Fabric/components/root (= 0.85.3) + - React-Fabric/components/scrollview (= 0.85.3) + - React-Fabric/components/view (= 0.85.3) + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimeexecutor + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - ReactNativeDependencies + - React-Fabric/components/legacyviewmanagerinterop (0.85.3): + - hermes-engine + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimeexecutor + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - ReactNativeDependencies + - React-Fabric/components/root (0.85.3): + - hermes-engine + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimeexecutor + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - ReactNativeDependencies + - React-Fabric/components/scrollview (0.85.3): + - hermes-engine + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimeexecutor + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - ReactNativeDependencies + - React-Fabric/components/view (0.85.3): + - hermes-engine + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-renderercss + - React-rendererdebug + - React-runtimeexecutor + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - ReactNativeDependencies + - Yoga + - React-Fabric/consistency (0.85.3): + - hermes-engine + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimeexecutor + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - ReactNativeDependencies + - React-Fabric/core (0.85.3): + - hermes-engine + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimeexecutor + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - ReactNativeDependencies + - React-Fabric/dom (0.85.3): + - hermes-engine + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimeexecutor + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - ReactNativeDependencies + - React-Fabric/imagemanager (0.85.3): + - hermes-engine + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimeexecutor + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - ReactNativeDependencies + - React-Fabric/leakchecker (0.85.3): + - hermes-engine + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimeexecutor + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - ReactNativeDependencies + - React-Fabric/mounting (0.85.3): + - hermes-engine + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimeexecutor + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - ReactNativeDependencies + - React-Fabric/observers (0.85.3): + - hermes-engine + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-Fabric/observers/events (= 0.85.3) + - React-Fabric/observers/intersection (= 0.85.3) + - React-Fabric/observers/mutation (= 0.85.3) + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimeexecutor + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - ReactNativeDependencies + - React-Fabric/observers/events (0.85.3): + - hermes-engine + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimeexecutor + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - ReactNativeDependencies + - React-Fabric/observers/intersection (0.85.3): + - hermes-engine + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimeexecutor + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - ReactNativeDependencies + - React-Fabric/observers/mutation (0.85.3): + - hermes-engine + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimeexecutor + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - ReactNativeDependencies + - React-Fabric/scheduler (0.85.3): + - hermes-engine + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-Fabric/animationbackend + - React-Fabric/observers/events + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-performancecdpmetrics + - React-performancetimeline + - React-rendererdebug + - React-runtimeexecutor + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - ReactNativeDependencies + - React-Fabric/telemetry (0.85.3): + - hermes-engine + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimeexecutor + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - ReactNativeDependencies + - React-Fabric/uimanager (0.85.3): + - hermes-engine + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-Fabric/uimanager/consistency (= 0.85.3) + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererconsistency + - React-rendererdebug + - React-runtimeexecutor + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - ReactNativeDependencies + - React-Fabric/uimanager/consistency (0.85.3): + - hermes-engine + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererconsistency + - React-rendererdebug + - React-runtimeexecutor + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - ReactNativeDependencies + - React-FabricComponents (0.85.3): + - hermes-engine + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-Fabric + - React-FabricComponents/components (= 0.85.3) + - React-FabricComponents/textlayoutmanager (= 0.85.3) + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-RCTFBReactNativeSpec + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - ReactNativeDependencies + - Yoga + - React-FabricComponents/components (0.85.3): + - hermes-engine + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-Fabric + - React-FabricComponents/components/inputaccessory (= 0.85.3) + - React-FabricComponents/components/iostextinput (= 0.85.3) + - React-FabricComponents/components/modal (= 0.85.3) + - React-FabricComponents/components/rncore (= 0.85.3) + - React-FabricComponents/components/safeareaview (= 0.85.3) + - React-FabricComponents/components/scrollview (= 0.85.3) + - React-FabricComponents/components/switch (= 0.85.3) + - React-FabricComponents/components/text (= 0.85.3) + - React-FabricComponents/components/textinput (= 0.85.3) + - React-FabricComponents/components/unimplementedview (= 0.85.3) + - React-FabricComponents/components/virtualview (= 0.85.3) + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-RCTFBReactNativeSpec + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - ReactNativeDependencies + - Yoga + - React-FabricComponents/components/inputaccessory (0.85.3): + - hermes-engine + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-Fabric + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-RCTFBReactNativeSpec + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - ReactNativeDependencies + - Yoga + - React-FabricComponents/components/iostextinput (0.85.3): + - hermes-engine + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-Fabric + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-RCTFBReactNativeSpec + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - ReactNativeDependencies + - Yoga + - React-FabricComponents/components/modal (0.85.3): + - hermes-engine + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-Fabric + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-RCTFBReactNativeSpec + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - ReactNativeDependencies + - Yoga + - React-FabricComponents/components/rncore (0.85.3): + - hermes-engine + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-Fabric + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-RCTFBReactNativeSpec + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - ReactNativeDependencies + - Yoga + - React-FabricComponents/components/safeareaview (0.85.3): + - hermes-engine + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-Fabric + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-RCTFBReactNativeSpec + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - ReactNativeDependencies + - Yoga + - React-FabricComponents/components/scrollview (0.85.3): + - hermes-engine + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-Fabric + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-RCTFBReactNativeSpec + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - ReactNativeDependencies + - Yoga + - React-FabricComponents/components/switch (0.85.3): + - hermes-engine + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-Fabric + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-RCTFBReactNativeSpec + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - ReactNativeDependencies + - Yoga + - React-FabricComponents/components/text (0.85.3): + - hermes-engine + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-Fabric + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-RCTFBReactNativeSpec + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - ReactNativeDependencies + - Yoga + - React-FabricComponents/components/textinput (0.85.3): + - hermes-engine + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-Fabric + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-RCTFBReactNativeSpec + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - ReactNativeDependencies + - Yoga + - React-FabricComponents/components/unimplementedview (0.85.3): + - hermes-engine + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-Fabric + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-RCTFBReactNativeSpec + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - ReactNativeDependencies + - Yoga + - React-FabricComponents/components/virtualview (0.85.3): + - hermes-engine + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-Fabric + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-RCTFBReactNativeSpec + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - ReactNativeDependencies + - Yoga + - React-FabricComponents/textlayoutmanager (0.85.3): + - hermes-engine + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-Fabric + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-RCTFBReactNativeSpec + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - ReactNativeDependencies + - Yoga + - React-FabricImage (0.85.3): + - hermes-engine + - RCTRequired (= 0.85.3) + - RCTTypeSafety (= 0.85.3) + - React-Fabric + - React-featureflags + - React-graphics + - React-ImageManager + - React-jsi + - React-jsiexecutor (= 0.85.3) + - React-logger + - React-rendererdebug + - React-utils + - ReactCommon + - ReactNativeDependencies + - Yoga + - React-featureflags (0.85.3): + - ReactNativeDependencies + - React-featureflagsnativemodule (0.85.3): + - hermes-engine + - React-featureflags + - React-jsi + - React-jsiexecutor + - React-RCTFBReactNativeSpec + - ReactCommon/turbomodule/core + - ReactNativeDependencies + - React-graphics (0.85.3): + - hermes-engine + - React-featureflags + - React-jsi + - React-jsiexecutor + - React-utils + - ReactNativeDependencies + - React-hermes (0.85.3): + - hermes-engine + - React-cxxreact (= 0.85.3) + - React-jsi + - React-jsiexecutor (= 0.85.3) + - React-jsinspector + - React-jsinspectorcdp + - React-jsinspectortracing + - React-jsitooling + - React-oscompat + - React-perflogger (= 0.85.3) + - React-runtimeexecutor + - ReactNativeDependencies + - React-idlecallbacksnativemodule (0.85.3): + - hermes-engine + - React-jsi + - React-jsiexecutor + - React-RCTFBReactNativeSpec + - React-runtimeexecutor + - React-runtimescheduler + - ReactCommon/turbomodule/core + - ReactNativeDependencies + - React-ImageManager (0.85.3): + - React-Core/Default + - React-debug + - React-Fabric + - React-graphics + - React-rendererdebug + - React-utils + - ReactNativeDependencies + - React-intersectionobservernativemodule (0.85.3): + - hermes-engine + - React-cxxreact + - React-Fabric + - React-Fabric/bridging + - React-graphics + - React-jsi + - React-jsiexecutor + - React-RCTFBReactNativeSpec + - React-runtimeexecutor + - React-runtimescheduler + - ReactCommon/turbomodule/core + - ReactNativeDependencies + - Yoga + - React-jserrorhandler (0.85.3): + - hermes-engine + - React-cxxreact + - React-debug + - React-featureflags + - React-jsi + - ReactCommon/turbomodule/bridging + - ReactNativeDependencies + - React-jsi (0.85.3): + - hermes-engine + - ReactNativeDependencies + - React-jsiexecutor (0.85.3): + - hermes-engine + - React-cxxreact + - React-debug + - React-jserrorhandler + - React-jsi + - React-jsinspector + - React-jsinspectorcdp + - React-jsinspectortracing + - React-jsitooling + - React-perflogger + - React-runtimeexecutor + - React-utils + - ReactNativeDependencies + - React-jsinspector (0.85.3): + - hermes-engine + - React-featureflags + - React-jsi + - React-jsinspectorcdp + - React-jsinspectornetwork + - React-jsinspectortracing + - React-oscompat + - React-perflogger (= 0.85.3) + - React-runtimeexecutor + - React-utils + - ReactNativeDependencies + - React-jsinspectorcdp (0.85.3): + - ReactNativeDependencies + - React-jsinspectornetwork (0.85.3): + - React-jsinspectorcdp + - ReactNativeDependencies + - React-jsinspectortracing (0.85.3): + - hermes-engine + - React-jsi + - React-jsinspectornetwork + - React-oscompat + - React-timing + - React-utils + - ReactNativeDependencies + - React-jsitooling (0.85.3): + - hermes-engine + - React-cxxreact (= 0.85.3) + - React-debug + - React-jsi (= 0.85.3) + - React-jsinspector + - React-jsinspectorcdp + - React-jsinspectortracing + - React-runtimeexecutor + - React-utils + - ReactNativeDependencies + - React-jsitracing (0.85.3): + - React-jsi + - React-logger (0.85.3): + - ReactNativeDependencies + - React-Mapbuffer (0.85.3): + - React-debug + - ReactNativeDependencies + - React-microtasksnativemodule (0.85.3): + - hermes-engine + - React-jsi + - React-jsiexecutor + - React-RCTFBReactNativeSpec + - ReactCommon/turbomodule/core + - ReactNativeDependencies + - React-mutationobservernativemodule (0.85.3): + - hermes-engine + - React-cxxreact + - React-Fabric + - React-Fabric/bridging + - React-Fabric/observers/mutation + - React-featureflags + - React-jsi + - React-jsiexecutor + - React-RCTFBReactNativeSpec + - React-runtimeexecutor + - ReactCommon/turbomodule/core + - ReactNativeDependencies + - Yoga + - React-NativeModulesApple (0.85.3): + - hermes-engine + - React-callinvoker + - React-Core + - React-cxxreact + - React-debug + - React-featureflags + - React-jsi + - React-jsinspector + - React-jsinspectorcdp + - React-runtimeexecutor + - ReactCommon/turbomodule/bridging + - ReactCommon/turbomodule/core + - ReactNativeDependencies + - React-networking (0.85.3): + - React-jsinspectornetwork + - React-jsinspectortracing + - React-performancetimeline + - React-timing + - ReactNativeDependencies + - React-oscompat (0.85.3) + - React-perflogger (0.85.3): + - ReactNativeDependencies + - React-performancecdpmetrics (0.85.3): + - hermes-engine + - React-jsi + - React-performancetimeline + - React-runtimeexecutor + - React-timing + - ReactNativeDependencies + - React-performancetimeline (0.85.3): + - React-featureflags + - React-jsinspector + - React-jsinspectortracing + - React-perflogger + - React-timing + - ReactNativeDependencies + - React-RCTActionSheet (0.85.3): + - React-Core/RCTActionSheetHeaders (= 0.85.3) + - React-RCTAnimation (0.85.3): + - RCTTypeSafety + - React-Core/RCTAnimationHeaders + - React-debug + - React-featureflags + - React-jsi + - React-NativeModulesApple + - React-RCTFBReactNativeSpec + - ReactCommon + - ReactNativeDependencies + - React-RCTAppDelegate (0.85.3): + - hermes-engine + - RCTRequired + - RCTTypeSafety + - React-Core + - React-CoreModules + - React-debug + - React-defaultsnativemodule + - React-Fabric + - React-featureflags + - React-graphics + - React-hermes + - React-jsitooling + - React-NativeModulesApple + - React-RCTFabric + - React-RCTFBReactNativeSpec + - React-RCTImage + - React-RCTNetwork + - React-RCTRuntime + - React-rendererdebug + - React-RuntimeApple + - React-RuntimeCore + - React-runtimeexecutor + - React-runtimescheduler + - React-utils + - ReactCommon + - ReactNativeDependencies + - React-RCTBlob (0.85.3): + - hermes-engine + - React-Core/RCTBlobHeaders + - React-Core/RCTWebSocket + - React-jsi + - React-jsinspector + - React-jsinspectorcdp + - React-NativeModulesApple + - React-RCTFBReactNativeSpec + - React-RCTNetwork + - ReactCommon + - ReactNativeDependencies + - React-RCTFabric (0.85.3): + - hermes-engine + - RCTSwiftUIWrapper + - React-Core + - React-debug + - React-Fabric + - React-FabricComponents + - React-FabricImage + - React-featureflags + - React-graphics + - React-ImageManager + - React-jsi + - React-jsinspector + - React-jsinspectorcdp + - React-jsinspectortracing + - React-networking + - React-performancecdpmetrics + - React-performancetimeline + - React-RCTAnimation + - React-RCTFBReactNativeSpec + - React-RCTImage + - React-RCTText + - React-rendererconsistency + - React-renderercss + - React-rendererdebug + - React-runtimeexecutor + - React-runtimescheduler + - React-utils + - ReactNativeDependencies + - Yoga + - React-RCTFBReactNativeSpec (0.85.3): + - hermes-engine + - RCTRequired + - RCTTypeSafety + - React-Core + - React-jsi + - React-NativeModulesApple + - React-RCTFBReactNativeSpec/components (= 0.85.3) + - ReactCommon + - ReactNativeDependencies + - React-RCTFBReactNativeSpec/components (0.85.3): + - hermes-engine + - RCTRequired + - RCTTypeSafety + - React-Core + - React-debug + - React-Fabric + - React-featureflags + - React-graphics + - React-jsi + - React-NativeModulesApple + - React-rendererdebug + - React-utils + - ReactCommon + - ReactNativeDependencies + - Yoga + - React-RCTImage (0.85.3): + - RCTTypeSafety + - React-Core/RCTImageHeaders + - React-jsi + - React-NativeModulesApple + - React-RCTFBReactNativeSpec + - React-RCTNetwork + - ReactCommon + - ReactNativeDependencies + - React-RCTLinking (0.85.3): + - React-Core/RCTLinkingHeaders (= 0.85.3) + - React-jsi (= 0.85.3) + - React-NativeModulesApple + - React-RCTFBReactNativeSpec + - ReactCommon + - ReactCommon/turbomodule/core (= 0.85.3) + - React-RCTNetwork (0.85.3): + - RCTTypeSafety + - React-Core/RCTNetworkHeaders + - React-debug + - React-featureflags + - React-jsi + - React-jsinspectorcdp + - React-jsinspectornetwork + - React-NativeModulesApple + - React-networking + - React-RCTFBReactNativeSpec + - ReactCommon + - ReactNativeDependencies + - React-RCTRuntime (0.85.3): + - hermes-engine + - React-Core + - React-debug + - React-jsi + - React-jsinspector + - React-jsinspectorcdp + - React-jsinspectortracing + - React-jsitooling + - React-RuntimeApple + - React-RuntimeCore + - React-runtimeexecutor + - React-RuntimeHermes + - React-utils + - ReactNativeDependencies + - React-RCTSettings (0.85.3): + - RCTTypeSafety + - React-Core/RCTSettingsHeaders + - React-jsi + - React-NativeModulesApple + - React-RCTFBReactNativeSpec + - ReactCommon + - ReactNativeDependencies + - React-RCTText (0.85.3): + - React-Core/RCTTextHeaders (= 0.85.3) + - Yoga + - React-RCTVibration (0.85.3): + - React-Core/RCTVibrationHeaders + - React-jsi + - React-NativeModulesApple + - React-RCTFBReactNativeSpec + - ReactCommon + - ReactNativeDependencies + - React-rendererconsistency (0.85.3) + - React-renderercss (0.85.3): + - React-debug + - React-utils + - React-rendererdebug (0.85.3): + - React-debug + - ReactNativeDependencies + - React-RuntimeApple (0.85.3): + - hermes-engine + - React-callinvoker + - React-Core/Default + - React-CoreModules + - React-cxxreact + - React-featureflags + - React-jserrorhandler + - React-jsi + - React-jsiexecutor + - React-jsinspector + - React-jsitooling + - React-Mapbuffer + - React-NativeModulesApple + - React-RCTFabric + - React-RCTFBReactNativeSpec + - React-RuntimeCore + - React-runtimeexecutor + - React-RuntimeHermes + - React-runtimescheduler + - React-utils + - ReactNativeDependencies + - React-RuntimeCore (0.85.3): + - hermes-engine + - React-cxxreact + - React-Fabric + - React-featureflags + - React-jserrorhandler + - React-jsi + - React-jsiexecutor + - React-jsinspector + - React-jsitooling + - React-performancetimeline + - React-runtimeexecutor + - React-runtimescheduler + - React-utils + - ReactNativeDependencies + - React-runtimeexecutor (0.85.3): + - React-debug + - React-featureflags + - React-jsi (= 0.85.3) + - React-utils + - ReactNativeDependencies + - React-RuntimeHermes (0.85.3): + - hermes-engine + - React-featureflags + - React-hermes + - React-jsi + - React-jsinspector + - React-jsinspectorcdp + - React-jsinspectortracing + - React-jsitooling + - React-jsitracing + - React-RuntimeCore + - React-runtimeexecutor + - React-utils + - ReactNativeDependencies + - React-runtimescheduler (0.85.3): + - hermes-engine + - React-callinvoker + - React-cxxreact + - React-debug + - React-featureflags + - React-jsi + - React-jsinspectortracing + - React-performancetimeline + - React-rendererconsistency + - React-rendererdebug + - React-runtimeexecutor + - React-timing + - React-utils + - ReactNativeDependencies + - React-timing (0.85.3): + - React-debug + - React-utils (0.85.3): + - hermes-engine + - React-debug + - React-jsi (= 0.85.3) + - ReactNativeDependencies + - React-webperformancenativemodule (0.85.3): + - hermes-engine + - React-cxxreact + - React-jsi + - React-jsiexecutor + - React-performancetimeline + - React-RCTFBReactNativeSpec + - React-runtimeexecutor + - ReactCommon/turbomodule/core + - ReactNativeDependencies + - ReactAppDependencyProvider (0.85.3): + - ReactCodegen + - ReactCodegen (0.85.3): + - hermes-engine + - RCTRequired + - RCTTypeSafety + - React-Core + - React-debug + - React-Fabric + - React-FabricImage + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-NativeModulesApple + - React-RCTAppDelegate + - React-rendererdebug + - React-utils + - ReactCommon/turbomodule/bridging + - ReactCommon/turbomodule/core + - ReactNativeDependencies + - ReactCommon (0.85.3): + - ReactCommon/turbomodule (= 0.85.3) + - ReactNativeDependencies + - ReactCommon/turbomodule (0.85.3): + - hermes-engine + - React-callinvoker (= 0.85.3) + - React-cxxreact (= 0.85.3) + - React-jsi (= 0.85.3) + - React-logger (= 0.85.3) + - React-perflogger (= 0.85.3) + - ReactCommon/turbomodule/bridging (= 0.85.3) + - ReactCommon/turbomodule/core (= 0.85.3) + - ReactNativeDependencies + - ReactCommon/turbomodule/bridging (0.85.3): + - hermes-engine + - React-callinvoker (= 0.85.3) + - React-cxxreact (= 0.85.3) + - React-jsi (= 0.85.3) + - React-logger (= 0.85.3) + - React-perflogger (= 0.85.3) + - ReactNativeDependencies + - ReactCommon/turbomodule/core (0.85.3): + - hermes-engine + - React-callinvoker (= 0.85.3) + - React-cxxreact (= 0.85.3) + - React-debug (= 0.85.3) + - React-featureflags (= 0.85.3) + - React-jsi (= 0.85.3) + - React-logger (= 0.85.3) + - React-perflogger (= 0.85.3) + - React-utils (= 0.85.3) + - ReactNativeDependencies + - ReactNativeDependencies (0.85.3) + - VisionCamera (5.2.3): + - hermes-engine + - NitroImage + - NitroModules + - RCTRequired + - RCTTypeSafety + - React-callinvoker + - React-Core + - React-debug + - React-Fabric + - React-featureflags + - React-graphics + - React-ImageManager + - React-jsi + - React-NativeModulesApple + - React-RCTFabric + - React-renderercss + - React-rendererdebug + - React-utils + - ReactCodegen + - ReactCommon/turbomodule/bridging + - ReactCommon/turbomodule/core + - ReactNativeDependencies + - Yoga + - VisionCameraBarcodeScanner (5.2.3): + - GoogleMLKit/BarcodeScanning (= 9.0.0) + - hermes-engine + - NitroImage + - NitroModules + - RCTRequired + - RCTTypeSafety + - React-callinvoker + - React-Core + - React-debug + - React-Fabric + - React-featureflags + - React-graphics + - React-ImageManager + - React-jsi + - React-NativeModulesApple + - React-RCTFabric + - React-renderercss + - React-rendererdebug + - React-utils + - ReactCodegen + - ReactCommon/turbomodule/bridging + - ReactCommon/turbomodule/core + - ReactNativeDependencies + - VisionCamera + - Yoga + - Yoga (0.0.0) + +DEPENDENCIES: + - FBLazyVector (from `../../../node_modules/react-native/Libraries/FBLazyVector`) + - hermes-engine (from `../../../node_modules/react-native/sdks/hermes-engine/hermes-engine.podspec`) + - NitroImage (from `../../../node_modules/react-native-nitro-image`) + - NitroModules (from `../../../node_modules/react-native-nitro-modules`) + - RCTDeprecation (from `../../../node_modules/react-native/ReactApple/Libraries/RCTFoundation/RCTDeprecation`) + - RCTRequired (from `../../../node_modules/react-native/Libraries/Required`) + - RCTSwiftUI (from `../../../node_modules/react-native/ReactApple/RCTSwiftUI`) + - RCTSwiftUIWrapper (from `../../../node_modules/react-native/ReactApple/RCTSwiftUIWrapper`) + - RCTTypeSafety (from `../../../node_modules/react-native/Libraries/TypeSafety`) + - React (from `../../../node_modules/react-native/`) + - React-callinvoker (from `../../../node_modules/react-native/ReactCommon/callinvoker`) + - React-Core (from `../../../node_modules/react-native/`) + - React-Core/RCTWebSocket (from `../../../node_modules/react-native/`) + - React-CoreModules (from `../../../node_modules/react-native/React/CoreModules`) + - React-cxxreact (from `../../../node_modules/react-native/ReactCommon/cxxreact`) + - React-debug (from `../../../node_modules/react-native/ReactCommon/react/debug`) + - React-defaultsnativemodule (from `../../../node_modules/react-native/ReactCommon/react/nativemodule/defaults`) + - React-domnativemodule (from `../../../node_modules/react-native/ReactCommon/react/nativemodule/dom`) + - React-Fabric (from `../../../node_modules/react-native/ReactCommon`) + - React-FabricComponents (from `../../../node_modules/react-native/ReactCommon`) + - React-FabricImage (from `../../../node_modules/react-native/ReactCommon`) + - React-featureflags (from `../../../node_modules/react-native/ReactCommon/react/featureflags`) + - React-featureflagsnativemodule (from `../../../node_modules/react-native/ReactCommon/react/nativemodule/featureflags`) + - React-graphics (from `../../../node_modules/react-native/ReactCommon/react/renderer/graphics`) + - React-hermes (from `../../../node_modules/react-native/ReactCommon/hermes`) + - React-idlecallbacksnativemodule (from `../../../node_modules/react-native/ReactCommon/react/nativemodule/idlecallbacks`) + - React-ImageManager (from `../../../node_modules/react-native/ReactCommon/react/renderer/imagemanager/platform/ios`) + - React-intersectionobservernativemodule (from `../../../node_modules/react-native/ReactCommon/react/nativemodule/intersectionobserver`) + - React-jserrorhandler (from `../../../node_modules/react-native/ReactCommon/jserrorhandler`) + - React-jsi (from `../../../node_modules/react-native/ReactCommon/jsi`) + - React-jsiexecutor (from `../../../node_modules/react-native/ReactCommon/jsiexecutor`) + - React-jsinspector (from `../../../node_modules/react-native/ReactCommon/jsinspector-modern`) + - React-jsinspectorcdp (from `../../../node_modules/react-native/ReactCommon/jsinspector-modern/cdp`) + - React-jsinspectornetwork (from `../../../node_modules/react-native/ReactCommon/jsinspector-modern/network`) + - React-jsinspectortracing (from `../../../node_modules/react-native/ReactCommon/jsinspector-modern/tracing`) + - React-jsitooling (from `../../../node_modules/react-native/ReactCommon/jsitooling`) + - React-jsitracing (from `../../../node_modules/react-native/ReactCommon/hermes/executor/`) + - React-logger (from `../../../node_modules/react-native/ReactCommon/logger`) + - React-Mapbuffer (from `../../../node_modules/react-native/ReactCommon`) + - React-microtasksnativemodule (from `../../../node_modules/react-native/ReactCommon/react/nativemodule/microtasks`) + - React-mutationobservernativemodule (from `../../../node_modules/react-native/ReactCommon/react/nativemodule/mutationobserver`) + - React-NativeModulesApple (from `../../../node_modules/react-native/ReactCommon/react/nativemodule/core/platform/ios`) + - React-networking (from `../../../node_modules/react-native/ReactCommon/react/networking`) + - React-oscompat (from `../../../node_modules/react-native/ReactCommon/oscompat`) + - React-perflogger (from `../../../node_modules/react-native/ReactCommon/reactperflogger`) + - React-performancecdpmetrics (from `../../../node_modules/react-native/ReactCommon/react/performance/cdpmetrics`) + - React-performancetimeline (from `../../../node_modules/react-native/ReactCommon/react/performance/timeline`) + - React-RCTActionSheet (from `../../../node_modules/react-native/Libraries/ActionSheetIOS`) + - React-RCTAnimation (from `../../../node_modules/react-native/Libraries/NativeAnimation`) + - React-RCTAppDelegate (from `../../../node_modules/react-native/Libraries/AppDelegate`) + - React-RCTBlob (from `../../../node_modules/react-native/Libraries/Blob`) + - React-RCTFabric (from `../../../node_modules/react-native/React`) + - React-RCTFBReactNativeSpec (from `../../../node_modules/react-native/React`) + - React-RCTImage (from `../../../node_modules/react-native/Libraries/Image`) + - React-RCTLinking (from `../../../node_modules/react-native/Libraries/LinkingIOS`) + - React-RCTNetwork (from `../../../node_modules/react-native/Libraries/Network`) + - React-RCTRuntime (from `../../../node_modules/react-native/React/Runtime`) + - React-RCTSettings (from `../../../node_modules/react-native/Libraries/Settings`) + - React-RCTText (from `../../../node_modules/react-native/Libraries/Text`) + - React-RCTVibration (from `../../../node_modules/react-native/Libraries/Vibration`) + - React-rendererconsistency (from `../../../node_modules/react-native/ReactCommon/react/renderer/consistency`) + - React-renderercss (from `../../../node_modules/react-native/ReactCommon/react/renderer/css`) + - React-rendererdebug (from `../../../node_modules/react-native/ReactCommon/react/renderer/debug`) + - React-RuntimeApple (from `../../../node_modules/react-native/ReactCommon/react/runtime/platform/ios`) + - React-RuntimeCore (from `../../../node_modules/react-native/ReactCommon/react/runtime`) + - React-runtimeexecutor (from `../../../node_modules/react-native/ReactCommon/runtimeexecutor`) + - React-RuntimeHermes (from `../../../node_modules/react-native/ReactCommon/react/runtime`) + - React-runtimescheduler (from `../../../node_modules/react-native/ReactCommon/react/renderer/runtimescheduler`) + - React-timing (from `../../../node_modules/react-native/ReactCommon/react/timing`) + - React-utils (from `../../../node_modules/react-native/ReactCommon/react/utils`) + - React-webperformancenativemodule (from `../../../node_modules/react-native/ReactCommon/react/nativemodule/webperformance`) + - ReactAppDependencyProvider (from `build/generated/ios/ReactAppDependencyProvider`) + - ReactCodegen (from `build/generated/ios/ReactCodegen`) + - ReactCommon/turbomodule/core (from `../../../node_modules/react-native/ReactCommon`) + - ReactNativeDependencies (from `../../../node_modules/react-native/third-party-podspecs/ReactNativeDependencies.podspec`) + - VisionCamera (from `../../../node_modules/react-native-vision-camera`) + - VisionCameraBarcodeScanner (from `../../../node_modules/react-native-vision-camera-barcode-scanner`) + - Yoga (from `../../../node_modules/react-native/ReactCommon/yoga`) + +SPEC REPOS: + trunk: + - GoogleDataTransport + - GoogleMLKit + - GoogleToolboxForMac + - GoogleUtilities + - GTMSessionFetcher + - MLImage + - MLKitBarcodeScanning + - MLKitCommon + - MLKitVision + - nanopb + - PromisesObjC + +EXTERNAL SOURCES: + FBLazyVector: + :path: "../../../node_modules/react-native/Libraries/FBLazyVector" + hermes-engine: + :podspec: "../../../node_modules/react-native/sdks/hermes-engine/hermes-engine.podspec" + :tag: hermes-v250829098.0.10 + NitroImage: + :path: "../../../node_modules/react-native-nitro-image" + NitroModules: + :path: "../../../node_modules/react-native-nitro-modules" + RCTDeprecation: + :path: "../../../node_modules/react-native/ReactApple/Libraries/RCTFoundation/RCTDeprecation" + RCTRequired: + :path: "../../../node_modules/react-native/Libraries/Required" + RCTSwiftUI: + :path: "../../../node_modules/react-native/ReactApple/RCTSwiftUI" + RCTSwiftUIWrapper: + :path: "../../../node_modules/react-native/ReactApple/RCTSwiftUIWrapper" + RCTTypeSafety: + :path: "../../../node_modules/react-native/Libraries/TypeSafety" + React: + :path: "../../../node_modules/react-native/" + React-callinvoker: + :path: "../../../node_modules/react-native/ReactCommon/callinvoker" + React-Core: + :path: "../../../node_modules/react-native/" + React-CoreModules: + :path: "../../../node_modules/react-native/React/CoreModules" + React-cxxreact: + :path: "../../../node_modules/react-native/ReactCommon/cxxreact" + React-debug: + :path: "../../../node_modules/react-native/ReactCommon/react/debug" + React-defaultsnativemodule: + :path: "../../../node_modules/react-native/ReactCommon/react/nativemodule/defaults" + React-domnativemodule: + :path: "../../../node_modules/react-native/ReactCommon/react/nativemodule/dom" + React-Fabric: + :path: "../../../node_modules/react-native/ReactCommon" + React-FabricComponents: + :path: "../../../node_modules/react-native/ReactCommon" + React-FabricImage: + :path: "../../../node_modules/react-native/ReactCommon" + React-featureflags: + :path: "../../../node_modules/react-native/ReactCommon/react/featureflags" + React-featureflagsnativemodule: + :path: "../../../node_modules/react-native/ReactCommon/react/nativemodule/featureflags" + React-graphics: + :path: "../../../node_modules/react-native/ReactCommon/react/renderer/graphics" + React-hermes: + :path: "../../../node_modules/react-native/ReactCommon/hermes" + React-idlecallbacksnativemodule: + :path: "../../../node_modules/react-native/ReactCommon/react/nativemodule/idlecallbacks" + React-ImageManager: + :path: "../../../node_modules/react-native/ReactCommon/react/renderer/imagemanager/platform/ios" + React-intersectionobservernativemodule: + :path: "../../../node_modules/react-native/ReactCommon/react/nativemodule/intersectionobserver" + React-jserrorhandler: + :path: "../../../node_modules/react-native/ReactCommon/jserrorhandler" + React-jsi: + :path: "../../../node_modules/react-native/ReactCommon/jsi" + React-jsiexecutor: + :path: "../../../node_modules/react-native/ReactCommon/jsiexecutor" + React-jsinspector: + :path: "../../../node_modules/react-native/ReactCommon/jsinspector-modern" + React-jsinspectorcdp: + :path: "../../../node_modules/react-native/ReactCommon/jsinspector-modern/cdp" + React-jsinspectornetwork: + :path: "../../../node_modules/react-native/ReactCommon/jsinspector-modern/network" + React-jsinspectortracing: + :path: "../../../node_modules/react-native/ReactCommon/jsinspector-modern/tracing" + React-jsitooling: + :path: "../../../node_modules/react-native/ReactCommon/jsitooling" + React-jsitracing: + :path: "../../../node_modules/react-native/ReactCommon/hermes/executor/" + React-logger: + :path: "../../../node_modules/react-native/ReactCommon/logger" + React-Mapbuffer: + :path: "../../../node_modules/react-native/ReactCommon" + React-microtasksnativemodule: + :path: "../../../node_modules/react-native/ReactCommon/react/nativemodule/microtasks" + React-mutationobservernativemodule: + :path: "../../../node_modules/react-native/ReactCommon/react/nativemodule/mutationobserver" + React-NativeModulesApple: + :path: "../../../node_modules/react-native/ReactCommon/react/nativemodule/core/platform/ios" + React-networking: + :path: "../../../node_modules/react-native/ReactCommon/react/networking" + React-oscompat: + :path: "../../../node_modules/react-native/ReactCommon/oscompat" + React-perflogger: + :path: "../../../node_modules/react-native/ReactCommon/reactperflogger" + React-performancecdpmetrics: + :path: "../../../node_modules/react-native/ReactCommon/react/performance/cdpmetrics" + React-performancetimeline: + :path: "../../../node_modules/react-native/ReactCommon/react/performance/timeline" + React-RCTActionSheet: + :path: "../../../node_modules/react-native/Libraries/ActionSheetIOS" + React-RCTAnimation: + :path: "../../../node_modules/react-native/Libraries/NativeAnimation" + React-RCTAppDelegate: + :path: "../../../node_modules/react-native/Libraries/AppDelegate" + React-RCTBlob: + :path: "../../../node_modules/react-native/Libraries/Blob" + React-RCTFabric: + :path: "../../../node_modules/react-native/React" + React-RCTFBReactNativeSpec: + :path: "../../../node_modules/react-native/React" + React-RCTImage: + :path: "../../../node_modules/react-native/Libraries/Image" + React-RCTLinking: + :path: "../../../node_modules/react-native/Libraries/LinkingIOS" + React-RCTNetwork: + :path: "../../../node_modules/react-native/Libraries/Network" + React-RCTRuntime: + :path: "../../../node_modules/react-native/React/Runtime" + React-RCTSettings: + :path: "../../../node_modules/react-native/Libraries/Settings" + React-RCTText: + :path: "../../../node_modules/react-native/Libraries/Text" + React-RCTVibration: + :path: "../../../node_modules/react-native/Libraries/Vibration" + React-rendererconsistency: + :path: "../../../node_modules/react-native/ReactCommon/react/renderer/consistency" + React-renderercss: + :path: "../../../node_modules/react-native/ReactCommon/react/renderer/css" + React-rendererdebug: + :path: "../../../node_modules/react-native/ReactCommon/react/renderer/debug" + React-RuntimeApple: + :path: "../../../node_modules/react-native/ReactCommon/react/runtime/platform/ios" + React-RuntimeCore: + :path: "../../../node_modules/react-native/ReactCommon/react/runtime" + React-runtimeexecutor: + :path: "../../../node_modules/react-native/ReactCommon/runtimeexecutor" + React-RuntimeHermes: + :path: "../../../node_modules/react-native/ReactCommon/react/runtime" + React-runtimescheduler: + :path: "../../../node_modules/react-native/ReactCommon/react/renderer/runtimescheduler" + React-timing: + :path: "../../../node_modules/react-native/ReactCommon/react/timing" + React-utils: + :path: "../../../node_modules/react-native/ReactCommon/react/utils" + React-webperformancenativemodule: + :path: "../../../node_modules/react-native/ReactCommon/react/nativemodule/webperformance" + ReactAppDependencyProvider: + :path: build/generated/ios/ReactAppDependencyProvider + ReactCodegen: + :path: build/generated/ios/ReactCodegen + ReactCommon: + :path: "../../../node_modules/react-native/ReactCommon" + ReactNativeDependencies: + :podspec: "../../../node_modules/react-native/third-party-podspecs/ReactNativeDependencies.podspec" + VisionCamera: + :path: "../../../node_modules/react-native-vision-camera" + VisionCameraBarcodeScanner: + :path: "../../../node_modules/react-native-vision-camera-barcode-scanner" + Yoga: + :path: "../../../node_modules/react-native/ReactCommon/yoga" + +SPEC CHECKSUMS: + FBLazyVector: 473b935415b82ae4f7f9aa9d5b3378491143ccbf + GoogleDataTransport: a24e58982ab3ba2f64d79613e027fe7f57e88539 + GoogleMLKit: b1eee21a41c57704fe72483b15c85cb2c0cd7444 + GoogleToolboxForMac: d1a2cbf009c453f4d6ded37c105e2f67a32206d8 + GoogleUtilities: 766ace00c6b10d8148408f329d10c4f051931850 + GTMSessionFetcher: 5aea5ba6bd522a239e236100971f10cb71b96ab6 + hermes-engine: 179e0c92cc5546526b5acb021bfeed0ee06eb9c5 + MLImage: 0de5c6c2bf9e93b80ef752e2797f0836f03b58c0 + MLKitBarcodeScanning: 39de223e7b1b8a8fbf10816a536dd292d8a39343 + MLKitCommon: 47d47b50a031d00db62f1b0efe5a1d8b09a3b2e6 + MLKitVision: 39a5a812db83c4a0794445088e567f3631c11961 + nanopb: fad817b59e0457d11a5dfbde799381cd727c1275 + NitroImage: 135e7c939d5e06342b7b805a98bf9a76f0809155 + NitroModules: d5be9f4559fc5178388ccf3ba2e152230b766d67 + PromisesObjC: 752c3227f599e3467650e47ea36f433eeb10c273 + RCTDeprecation: 225e022b85a206cf0883a909c4a114159783363c + RCTRequired: 827a95c181af0886a11e21bc66c084088cf87839 + RCTSwiftUI: 7babb07156ae0a8e5ea97f77e43959ddaca2c6f2 + RCTSwiftUIWrapper: 30f2e591ca57d625a244acd866fa169fd4859273 + RCTTypeSafety: 47f936a87875e1a08ccf1ffe34e8bf29f1d85567 + React: e2dc35338068bbd299c66f043ae0d7f25de8499e + React-callinvoker: d3163d80425735b095cff517da3b8631691fd734 + React-Core: efe6d8298e794a1f6ee1e018a0ee93789c152703 + React-CoreModules: 1c097c5155f4345bccfb00a9a7309952b393f366 + React-cxxreact: 1b54e6919cef2a406a79e5d350cd71bb83d6e49d + React-debug: df5c6b1f07e8f337207ac1dafa9664624ff8547c + React-defaultsnativemodule: a18213e5e0eb67f9977e5bf14c08b3cb924b538a + React-domnativemodule: cd09b7ff1905c56ec6126d494f7a31cb56e273e0 + React-Fabric: cc0a73ebac59a2c609832f7e439cd06934348298 + React-FabricComponents: 6c9b84936a267f9f061b5a1fb4f5cecbc1c72b3e + React-FabricImage: b79803dbf8b9d7d5d450b343c98201b904605f6f + React-featureflags: c8b471c808575ffae12e1b85cd9c035fc03b4b78 + React-featureflagsnativemodule: 4c3238d4f9160a234f99bca64686ae0964f2f4f8 + React-graphics: 256955d14073c7de133baa46b02f6b1982c8d9d7 + React-hermes: 06b3d795c3ff087060a493520d74fa94d2c25879 + React-idlecallbacksnativemodule: 9d3a584a5d150259c5f3f498a8977e732b92aa90 + React-ImageManager: 8923c8e4b9ad903d2c49eb59f24003758ad925e1 + React-intersectionobservernativemodule: 911acc232d87ef7aa438b1a9c0b7f21b32a09776 + React-jserrorhandler: cbe62aa832f726a9cbf8d5757d13b7fd97b0dc18 + React-jsi: 4ff0905b76d3b5d6bd7062821ff9fd7bf2371dc2 + React-jsiexecutor: 8026d7cbef72b274838308759345d6208cd7be54 + React-jsinspector: f6a0a239f658c13d52f9a8078436193c92e53d1e + React-jsinspectorcdp: a79e284e5e1dab6c550010cb4895a40e446f29da + React-jsinspectornetwork: c7b0324a69f3bc65d40b801a2db7f218fecd9143 + React-jsinspectortracing: ce58479ac7ec6ab9b82b3c9b934de24eb50aae5a + React-jsitooling: e31a9eb9c45da6a62fe82a30d497837cb5ed6398 + React-jsitracing: f3a5e8f02a50aa2b9b0e5c0d5a8b420c38b55832 + React-logger: 611b08f6f0055e92c308679b4eb571e61004c8e0 + React-Mapbuffer: b1d56d258c67c996f2ba88dd7bb8c1173b609fb1 + React-microtasksnativemodule: d1ce88f0f9aca96283b04c02aa5111a679e71850 + React-mutationobservernativemodule: 7104a51ed8954fccb09170fbc3d3e99559f8fce1 + React-NativeModulesApple: 8b90a93dd27efa8dfa63b1b73f9ae4abe76d7232 + React-networking: 83e04a139514c3b37f749d4c42f8e4529fbea595 + React-oscompat: 563c536fc2d9cece1f54442fa2a3d9f68a9621e3 + React-perflogger: 2f9377d019d75920cb22572abcc53f770c56b276 + React-performancecdpmetrics: 8984cb796dc1b0287c1cdacbb7b96dbedd10b1db + React-performancetimeline: f44750eb89f7da31b9635413547b7345089e0906 + React-RCTActionSheet: ea8200cac284d410090bd780baf729903912e4e6 + React-RCTAnimation: 1cd96318d09def3c9b4892a30bcbbf16b421b44b + React-RCTAppDelegate: 4e5703bda7aed317e93fc1388543bde281991f11 + React-RCTBlob: 317a92a3f23cc82035cc381d95bea09425dca95f + React-RCTFabric: 62baea6be7128ceebdd1ae7fc9640c4ce932ab89 + React-RCTFBReactNativeSpec: 53d2fb0393feb6e81327a6214399c88ba7950e0b + React-RCTImage: 30d09cd35be7d3876b7fda2cf7026a3edbd1c3ba + React-RCTLinking: c5dd340d5fee2fa01fee28750ae4211449fd3904 + React-RCTNetwork: 86aac9640b06b1934b4bf943fa8c01f1f221bcd5 + React-RCTRuntime: 65b9bff27f149bf20c3dd5554d80923c2679e2ce + React-RCTSettings: e1f2e8f15859662cbda170f0e9bc061e1e877f14 + React-RCTText: 1d7a4f263266efbd5fa5335a107fbd00ff94ba9e + React-RCTVibration: f0b6e37ad82d6d3ef3f632619bd9d30a2f8bd850 + React-rendererconsistency: b179eac76658beccd6a5c1d7c2a1d50502757bd4 + React-renderercss: 02ff60e9dd36aff6c0c9366b3cb61bf9fb6120dd + React-rendererdebug: de05e161b9794436a26e97466261d0eee2ea5ac6 + React-RuntimeApple: 5b36039ada1f67f7bf4b32eab62007eec36ff26d + React-RuntimeCore: a6e718962f5b89114d205a7c9ba79dd48d912b39 + React-runtimeexecutor: 3c9efd8a0bce437cde84a8dcd1b3190aa27c73e2 + React-RuntimeHermes: 13de1b869b1de89ecf806d4d713c0385de161812 + React-runtimescheduler: 887d8d2eccc2c56cbe59e7ffab7393cf04829274 + React-timing: 58952f6b837d79922e22d45d50847208c54e5888 + React-utils: 6ff81064a3cf483a7416084f9118d3139950946a + React-webperformancenativemodule: a6171cb3e0ad0e52c251e0ae78cec80b9edb1ada + ReactAppDependencyProvider: 25c9c516839be2c5e3d3344f95dc7da5f7e63fc2 + ReactCodegen: 7b8f1d7cc28e32d273853b040deed0d7e49a31ea + ReactCommon: 14a0287b7145ef29530c15bcd7aca4154a3cb353 + ReactNativeDependencies: d4f777faf52a06a095ba6f1f08f6daec412747af + VisionCamera: 01d15014760d4c516df151f476eb4ab894e5cf1b + VisionCameraBarcodeScanner: c58c8e8b8adaa6e1071a5d25d3a093db0e800a56 + Yoga: 2fe23f676416a73cb4be2c15929e352c9395b9cf + +PODFILE CHECKSUM: 58970b9ce81e02fcb508c4871dfec9ed79556919 + +COCOAPODS: 1.16.2 diff --git a/apps/fake-simulated-camera/jest.harness.config.mjs b/apps/fake-simulated-camera/jest.harness.config.mjs new file mode 100644 index 0000000000..da1398f600 --- /dev/null +++ b/apps/fake-simulated-camera/jest.harness.config.mjs @@ -0,0 +1,6 @@ +const config = { + preset: 'react-native-harness', + testMatch: ['/__tests__/**/*.harness.{js,jsx,ts,tsx}'], +} + +export default config diff --git a/apps/fake-simulated-camera/metro.config.js b/apps/fake-simulated-camera/metro.config.js new file mode 100644 index 0000000000..5480b7790d --- /dev/null +++ b/apps/fake-simulated-camera/metro.config.js @@ -0,0 +1,16 @@ +const { getDefaultConfig, mergeConfig } = require('@react-native/metro-config') +const path = require('node:path') + +const root = path.resolve(__dirname, '..', '..') + +/** + * Metro configuration + * https://facebook.github.io/metro/docs/configuration + * + * @type {import('@react-native/metro-config').MetroConfig} + */ +const config = { + watchFolders: [root], +} + +module.exports = mergeConfig(getDefaultConfig(__dirname), config) diff --git a/apps/fake-simulated-camera/package.json b/apps/fake-simulated-camera/package.json new file mode 100644 index 0000000000..cc71c127bc --- /dev/null +++ b/apps/fake-simulated-camera/package.json @@ -0,0 +1,49 @@ +{ + "name": "fake-simulated-camera", + "private": true, + "description": "Harness test app that injects a catalog-defined fake camera into the iOS Simulator and Android Emulator.", + "author": "Marc Rousavy (https://github.com/mrousavy)", + "scripts": { + "android": "react-native run-android", + "ios": "react-native run-ios", + "bundle-install": "bundle install", + "pods": "cd ios && bundle exec pod install", + "start": "react-native start --client-logs", + "check-packages-untouched": "bash scripts/check-packages-untouched.sh", + "build:android": "cd android && ./gradlew assembleDebug --no-daemon --console=plain", + "build:ios-simulator": "bash scripts/build-ios-simulator.sh", + "test:harness": "react-native-harness", + "test:harness:ios": "react-native-harness --harnessRunner ios --testPathIgnorePatterns 'variants'", + "test:harness:ios-variants": "react-native-harness --harnessRunner ios --testPathPatterns 'variants'", + "test:harness:android": "react-native-harness --harnessRunner android --testPathPatterns 'devices|session|constraints'", + "test:harness:android-variants": "react-native-harness --harnessRunner android --testPathPatterns 'variants'", + "test:harness:android-scene": "react-native-harness --harnessRunner android-scene --testPathPatterns 'scene'" + }, + "dependencies": { + "react": "19.2.3", + "react-native": "0.85.3", + "react-native-nitro-image": "0.15.2", + "react-native-nitro-modules": "0.37.0", + "react-native-vision-camera": "../../packages/react-native-vision-camera", + "react-native-vision-camera-barcode-scanner": "../../packages/react-native-vision-camera-barcode-scanner" + }, + "devDependencies": { + "@babel/core": "^7.29.7", + "@babel/preset-env": "^7.29.7", + "@babel/runtime": "^7.29.7", + "@react-native-community/cli": "20.1.3", + "@react-native-community/cli-platform-android": "20.1.3", + "@react-native-community/cli-platform-ios": "20.1.3", + "@react-native-harness/platform-android": "1.4.0-rc.1", + "@react-native-harness/platform-apple": "1.4.0-rc.1", + "@react-native/babel-preset": "0.85.3", + "@react-native/metro-config": "0.85.3", + "@react-native/typescript-config": "0.85.3", + "@types/react": "19.2.15", + "react-native-harness": "1.4.0-rc.1", + "typescript": "6.0.3" + }, + "engines": { + "node": ">=20" + } +} diff --git a/apps/fake-simulated-camera/rn-harness.config.mjs b/apps/fake-simulated-camera/rn-harness.config.mjs new file mode 100644 index 0000000000..21b5345fec --- /dev/null +++ b/apps/fake-simulated-camera/rn-harness.config.mjs @@ -0,0 +1,97 @@ +import { + androidEmulator, + androidPlatform, + physicalAndroidDevice, +} from '@react-native-harness/platform-android' +import { + applePlatform, + appleSimulator, +} from '@react-native-harness/platform-apple' + +// Name of the natively-authored catalog the app injects on launch (see FakeCameraCatalog.m / .kt). +const fakeCameraCatalog = process.env.FAKE_CAMERA_CATALOG ?? 'default' + +const androidEmulatorName = + process.env.HARNESS_ANDROID_EMULATOR ?? 'Pixel_API_35' +const androidApiLevel = Number.parseInt( + process.env.HARNESS_ANDROID_API_LEVEL ?? '35', + 10, +) +const androidDeviceProfile = + process.env.HARNESS_ANDROID_DEVICE_PROFILE ?? 'pixel' +const androidDiskSize = process.env.HARNESS_ANDROID_DISK_SIZE ?? '1G' +const androidHeapSize = process.env.HARNESS_ANDROID_HEAP_SIZE ?? '1G' +const androidBundleId = + process.env.HARNESS_ANDROID_BUNDLE_ID ?? + 'com.margelo.nitro.camera.example.fake' +const androidPhysicalManufacturer = + process.env.HARNESS_ANDROID_DEVICE_MANUFACTURER ?? 'Pixel' +const androidPhysicalModel = process.env.HARNESS_ANDROID_DEVICE_MODEL ?? 'Pro 7' +const androidDeviceMode = + process.env.HARNESS_ANDROID_DEVICE_MODE?.trim().toLowerCase() ?? 'emulator' + +const iosBundleId = + process.env.HARNESS_IOS_BUNDLE_ID ?? 'com.margelo.nitro.camera.example.fake' +const iosSimulatorName = process.env.HARNESS_IOS_SIMULATOR ?? 'iPhone 17 Pro' +const iosSimulatorVersion = process.env.HARNESS_IOS_SIMULATOR_VERSION ?? '26.5' +const metroBindHost = process.env.HARNESS_METRO_BIND_HOST?.trim() ?? '' + +const isCI = process.env.CI === 'true' +const bundleStartTimeout = isCI ? 90_000 : 15_000 +const bridgeTimeout = isCI ? 120_000 : 45_000 +const maxAppRestarts = isCI ? 4 : 2 + +const androidDevice = + androidDeviceMode === 'emulator' + ? androidEmulator(androidEmulatorName, { + apiLevel: androidApiLevel, + profile: androidDeviceProfile, + diskSize: androidDiskSize, + heapSize: androidHeapSize, + }) + : physicalAndroidDevice(androidPhysicalManufacturer, androidPhysicalModel) + +const config = { + entryPoint: './index.js', + appRegistryComponentName: 'FakeSimulatedCamera', + host: metroBindHost === '' ? undefined : metroBindHost, + runners: [ + // Fake catalog injected through CameraX (see android/.../fake). + androidPlatform({ + name: 'android', + device: androidDevice, + bundleId: androidBundleId, + appLaunchOptions: { + extras: { fakeCameraCatalog }, + }, + }), + // Real Camera2 on the emulator's virtual-scene camera (QR poster). + androidPlatform({ + name: 'android-scene', + device: androidDevice, + bundleId: androidBundleId, + appLaunchOptions: { + extras: { fakeCameraCatalog: 'off' }, + }, + }), + // Fake catalog injected through AVFoundation (see ios/FakeSimulatedCamera/FakeCamera). + applePlatform({ + name: 'ios', + device: appleSimulator(iosSimulatorName, iosSimulatorVersion), + bundleId: iosBundleId, + appLaunchOptions: { + arguments: ['-FakeCameraCatalog', fakeCameraCatalog], + }, + }), + ], + defaultRunner: 'ios', + bridgeTimeout, + bundleStartTimeout, + maxAppRestarts, + detectNativeCrashes: true, + resetEnvironmentBetweenTestFiles: true, + forwardClientLogs: true, + permissions: true, +} + +export default config diff --git a/apps/fake-simulated-camera/scenes/qr-code-margelo.png b/apps/fake-simulated-camera/scenes/qr-code-margelo.png new file mode 100644 index 0000000000..fb389f2826 Binary files /dev/null and b/apps/fake-simulated-camera/scenes/qr-code-margelo.png differ diff --git a/apps/fake-simulated-camera/scripts/build-ios-simulator.sh b/apps/fake-simulated-camera/scripts/build-ios-simulator.sh new file mode 100755 index 0000000000..49eada13fc --- /dev/null +++ b/apps/fake-simulated-camera/scripts/build-ios-simulator.sh @@ -0,0 +1,22 @@ +#!/usr/bin/env bash +# Builds FakeSimulatedCamera.app for the iOS Simulator and prints its path. +set -euo pipefail + +cd "$(dirname "$0")/../ios" + +DERIVED_DATA="${HARNESS_IOS_DERIVED_DATA_OUTPUT:-$PWD/build/simulator}" +APP_PATH="$DERIVED_DATA/Build/Products/Debug-iphonesimulator/FakeSimulatedCamera.app" + +xcodebuild \ + -workspace FakeSimulatedCamera.xcworkspace \ + -scheme FakeSimulatedCamera \ + -configuration Debug \ + -sdk iphonesimulator \ + -destination 'generic/platform=iOS Simulator' \ + -derivedDataPath "$DERIVED_DATA" \ + CODE_SIGNING_ALLOWED=NO \ + COMPILER_INDEX_STORE_ENABLE=NO \ + build "${@}" | tail -20 + +test -d "$APP_PATH" +echo "HARNESS_APP_PATH=$APP_PATH" diff --git a/apps/fake-simulated-camera/scripts/check-packages-untouched.sh b/apps/fake-simulated-camera/scripts/check-packages-untouched.sh new file mode 100755 index 0000000000..0502448d1e --- /dev/null +++ b/apps/fake-simulated-camera/scripts/check-packages-untouched.sh @@ -0,0 +1,44 @@ +#!/usr/bin/env bash +# The fake camera lives in the app only: fails if this change set touches packages/. +set -euo pipefail + +cd "$(git rev-parse --show-toplevel)" + +if [[ $# -ge 1 ]]; then + base="$1" +elif git rev-parse --verify --quiet upstream/main >/dev/null; then + base="$(git merge-base upstream/main HEAD)" +else + base="$(git merge-base origin/main HEAD)" +fi +status=0 + +if ! git diff --quiet "$base" HEAD -- packages/; then + echo "error: committed changes under packages/ since ${base}:" + git diff --stat "$base" HEAD -- packages/ + status=1 +fi + +if ! git diff --quiet -- packages/; then + echo "error: unstaged changes under packages/:" + git diff --stat -- packages/ + status=1 +fi + +if ! git diff --cached --quiet -- packages/; then + echo "error: staged changes under packages/:" + git diff --cached --stat -- packages/ + status=1 +fi + +untracked="$(git status --porcelain --untracked-files=all -- packages/)" +if [[ -n "$untracked" ]]; then + echo "error: untracked files under packages/:" + echo "$untracked" + status=1 +fi + +if [[ "$status" -eq 0 ]]; then + echo "packages/ untouched (base ${base})" +fi +exit "$status" diff --git a/apps/fake-simulated-camera/scripts/run-harness-android-ci.sh b/apps/fake-simulated-camera/scripts/run-harness-android-ci.sh new file mode 100755 index 0000000000..1f385b814c --- /dev/null +++ b/apps/fake-simulated-camera/scripts/run-harness-android-ci.sh @@ -0,0 +1,57 @@ +#!/usr/bin/env bash +# Runs both Android Harness modes on the booted emulator: fake catalog, then real virtual scene. +set -euo pipefail + +APP_APK_PATH="./android/app/build/outputs/apk/debug/app-debug.apk" +BUNDLE_ID="${HARNESS_ANDROID_BUNDLE_ID:?HARNESS_ANDROID_BUNDLE_ID is required}" +HARNESS_TIMEOUT_SECONDS="${HARNESS_ANDROID_TEST_TIMEOUT_SECONDS:-900}" +LOG_DIR="./android" + +echo "Emulator virtual-scene poster support:" +emulator -help-virtualscene-poster || echo "warning: emulator does not advertise -virtualscene-poster" + +echo "Waiting for emulator..." +adb wait-for-device +adb shell settings put global hidden_api_policy 1 + +echo "Installing APK from ${APP_APK_PATH}..." +adb install -r "${APP_APK_PATH}" +for permission in android.permission.CAMERA android.permission.RECORD_AUDIO; do + adb shell pm grant "${BUNDLE_ID}" "${permission}" || true +done + +if ! ls __tests__/*.harness.ts >/dev/null 2>&1; then + echo "No Harness suites yet — build-only run." + exit 0 +fi + +run_mode() { + local script="$1" + local label="$2" + local catalog="${3:-default}" + echo "=== ${label} (catalog: ${catalog}) ===" + adb shell am force-stop "${BUNDLE_ID}" || true + adb logcat -c || true + set +e + FAKE_CAMERA_CATALOG="${catalog}" timeout --foreground --kill-after=30s "${HARNESS_TIMEOUT_SECONDS}" bun run "${script}" + local exit_code=$? + set -e + adb logcat -d > "${LOG_DIR}/logcat-${label}.txt" || true + adb logcat -d -b crash > "${LOG_DIR}/logcat-crash-${label}.txt" || true + adb shell am force-stop "${BUNDLE_ID}" || true + if [[ "${exit_code}" -eq 124 ]]; then + echo "${label}: Harness tests exceeded ${HARNESS_TIMEOUT_SECONDS}s and were aborted." + return 1 + fi + return "${exit_code}" +} + +status=0 +if [[ -f android/app/src/main/java/com/margelo/nitro/camera/example/fake/camerax/FakeCameraCatalogConfig.kt ]]; then + run_mode test:harness:android fake-catalog default || status=1 + run_mode test:harness:android-variants variants-catalog variants || status=1 +else + echo "Android fake catalog not implemented yet — skipping the fake-catalog runner." +fi +run_mode test:harness:android-scene virtual-scene || status=1 +exit "${status}" diff --git a/apps/fake-simulated-camera/src/App.tsx b/apps/fake-simulated-camera/src/App.tsx new file mode 100644 index 0000000000..457c6b9e2a --- /dev/null +++ b/apps/fake-simulated-camera/src/App.tsx @@ -0,0 +1,38 @@ +import { StyleSheet, Text, View } from 'react-native' +import { VisionCamera } from 'react-native-vision-camera' + +function App() { + return ( + + FakeSimulatedCamera + + Camera permission: {VisionCamera.cameraPermissionStatus} + + + This app only exists to run Harness tests against an injected camera. + + + ) +} + +const styles = StyleSheet.create({ + container: { + flex: 1, + alignItems: 'center', + justifyContent: 'center', + backgroundColor: 'black', + padding: 24, + }, + title: { + color: 'white', + fontSize: 20, + fontWeight: '600', + marginBottom: 12, + }, + text: { + color: 'white', + textAlign: 'center', + }, +}) + +export default App diff --git a/apps/fake-simulated-camera/tsconfig.json b/apps/fake-simulated-camera/tsconfig.json new file mode 100644 index 0000000000..14cd5b62ec --- /dev/null +++ b/apps/fake-simulated-camera/tsconfig.json @@ -0,0 +1,9 @@ +{ + "extends": "@react-native/typescript-config", + "include": ["**/*.ts", "**/*.tsx"], + "exclude": ["**/node_modules", "**/Pods"], + "compilerOptions": { + "noUncheckedIndexedAccess": true, + "resolveJsonModule": true + } +} diff --git a/bun.lock b/bun.lock index 553e24d0e5..05b1f0b4c1 100644 --- a/bun.lock +++ b/bun.lock @@ -18,6 +18,33 @@ "typescript": "^6.0.3", }, }, + "apps/fake-simulated-camera": { + "name": "fake-simulated-camera", + "dependencies": { + "react": "19.2.3", + "react-native": "0.85.3", + "react-native-nitro-image": "0.15.2", + "react-native-nitro-modules": "0.37.0", + "react-native-vision-camera": "../../packages/react-native-vision-camera", + "react-native-vision-camera-barcode-scanner": "../../packages/react-native-vision-camera-barcode-scanner", + }, + "devDependencies": { + "@babel/core": "^7.29.7", + "@babel/preset-env": "^7.29.7", + "@babel/runtime": "^7.29.7", + "@react-native-community/cli": "20.1.3", + "@react-native-community/cli-platform-android": "20.1.3", + "@react-native-community/cli-platform-ios": "20.1.3", + "@react-native-harness/platform-android": "1.4.0-rc.1", + "@react-native-harness/platform-apple": "1.4.0-rc.1", + "@react-native/babel-preset": "0.85.3", + "@react-native/metro-config": "0.85.3", + "@react-native/typescript-config": "0.85.3", + "@types/react": "19.2.15", + "react-native-harness": "1.4.0-rc.1", + "typescript": "6.0.3", + }, + }, "apps/simple-camera": { "name": "simple-camera", "version": "5.2.3", @@ -258,33 +285,33 @@ "@babel/generator": ["@babel/generator@7.29.7", "", { "dependencies": { "@babel/parser": "^7.29.7", "@babel/types": "^7.29.7", "@jridgewell/gen-mapping": "^0.3.12", "@jridgewell/trace-mapping": "^0.3.28", "jsesc": "^3.0.2" } }, "sha512-DkXD5OJQaAQIdZ1bt3UZdEnHAn9Imd3IVBdX03UFe+ony9Ojw5pzr9YVKGDY1jt+Gcn/FnGkNf8r+Vj5NOJWtQ=="], - "@babel/helper-annotate-as-pure": ["@babel/helper-annotate-as-pure@7.27.3", "", { "dependencies": { "@babel/types": "^7.27.3" } }, "sha512-fXSwMQqitTGeHLBC08Eq5yXz2m37E4pJX1qAU1+2cNedz/ifv/bVXft90VeSav5nFO61EcNgwr0aJxbyPaWBPg=="], + "@babel/helper-annotate-as-pure": ["@babel/helper-annotate-as-pure@7.29.7", "", { "dependencies": { "@babel/types": "^7.29.7" } }, "sha512-OoK6239jHPuSQOoS0kfTVKn0b/rVTk0seKq4Gd2UMLtmOVLjDC0ki3e+c90Trqv2gMfvJFqkiljrr568+qddiw=="], "@babel/helper-compilation-targets": ["@babel/helper-compilation-targets@7.29.7", "", { "dependencies": { "@babel/compat-data": "^7.29.7", "@babel/helper-validator-option": "^7.29.7", "browserslist": "^4.24.0", "lru-cache": "^5.1.1", "semver": "^6.3.1" } }, "sha512-wem6WaBj4NaVYVdNhLPPVacES6ZJ+KBBfSkTMD3YZxbP3rm3Di85tJU5ljaUNhaOynt+Aj0xruhYuzQBt8n71g=="], - "@babel/helper-create-class-features-plugin": ["@babel/helper-create-class-features-plugin@7.28.6", "", { "dependencies": { "@babel/helper-annotate-as-pure": "^7.27.3", "@babel/helper-member-expression-to-functions": "^7.28.5", "@babel/helper-optimise-call-expression": "^7.27.1", "@babel/helper-replace-supers": "^7.28.6", "@babel/helper-skip-transparent-expression-wrappers": "^7.27.1", "@babel/traverse": "^7.28.6", "semver": "^6.3.1" }, "peerDependencies": { "@babel/core": "^7.0.0" } }, "sha512-dTOdvsjnG3xNT9Y0AUg1wAl38y+4Rl4sf9caSQZOXdNqVn+H+HbbJ4IyyHaIqNR6SW9oJpA/RuRjsjCw2IdIow=="], + "@babel/helper-create-class-features-plugin": ["@babel/helper-create-class-features-plugin@7.29.7", "", { "dependencies": { "@babel/helper-annotate-as-pure": "^7.29.7", "@babel/helper-member-expression-to-functions": "^7.29.7", "@babel/helper-optimise-call-expression": "^7.29.7", "@babel/helper-replace-supers": "^7.29.7", "@babel/helper-skip-transparent-expression-wrappers": "^7.29.7", "@babel/traverse": "^7.29.7", "semver": "^6.3.1" }, "peerDependencies": { "@babel/core": "^7.0.0" } }, "sha512-IY3ZD9Tmooqr3TUhc3DUWxiuo8xx1DWLhd5M7hQ+ZWJamqM2BbalrBJb2MisSLoYorOj75U03qULCxQTY9r3hg=="], "@babel/helper-create-regexp-features-plugin": ["@babel/helper-create-regexp-features-plugin@7.28.5", "", { "dependencies": { "@babel/helper-annotate-as-pure": "^7.27.3", "regexpu-core": "^6.3.1", "semver": "^6.3.1" }, "peerDependencies": { "@babel/core": "^7.0.0" } }, "sha512-N1EhvLtHzOvj7QQOUCCS3NrPJP8c5W6ZXCHDn7Yialuy1iu4r5EmIYkXlKNqT99Ciw+W0mDqWoR6HWMZlFP3hw=="], "@babel/helper-define-polyfill-provider": ["@babel/helper-define-polyfill-provider@0.6.6", "", { "dependencies": { "@babel/helper-compilation-targets": "^7.28.6", "@babel/helper-plugin-utils": "^7.28.6", "debug": "^4.4.3", "lodash.debounce": "^4.0.8", "resolve": "^1.22.11" }, "peerDependencies": { "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" } }, "sha512-mOAsxeeKkUKayvZR3HeTYD/fICpCPLJrU5ZjelT/PA6WHtNDBOE436YiaEUvHN454bRM3CebhDsIpieCc4texA=="], - "@babel/helper-globals": ["@babel/helper-globals@7.28.0", "", {}, "sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw=="], + "@babel/helper-globals": ["@babel/helper-globals@7.29.7", "", {}, "sha512-3nQVUAtvkKH9zahfWgw96Jc/uFOmjACE1kQz82E2lqWmHBgjzbNlsC22nuQTfahmWeQtTq5nQ/4Nnd2A1wj4zA=="], - "@babel/helper-member-expression-to-functions": ["@babel/helper-member-expression-to-functions@7.28.5", "", { "dependencies": { "@babel/traverse": "^7.28.5", "@babel/types": "^7.28.5" } }, "sha512-cwM7SBRZcPCLgl8a7cY0soT1SptSzAlMH39vwiRpOQkJlh53r5hdHwLSCZpQdVLT39sZt+CRpNwYG4Y2v77atg=="], + "@babel/helper-member-expression-to-functions": ["@babel/helper-member-expression-to-functions@7.29.7", "", { "dependencies": { "@babel/traverse": "^7.29.7", "@babel/types": "^7.29.7" } }, "sha512-j+7JYmk1JYDtACIGj0QJqqWZjoUpMoEikQGADMaHgCMCSDqd2+P32rfcibUNrGOMWrlzK1WJBdxrB3JJQZwWtg=="], "@babel/helper-module-imports": ["@babel/helper-module-imports@7.29.7", "", { "dependencies": { "@babel/traverse": "^7.29.7", "@babel/types": "^7.29.7" } }, "sha512-ejHwrQQYcm9xnTivShn2IDOlIzInN34AXskvq9QicvCtEzq1Vzclu/tKF8Jq1Cg8JG2GL6/EmjgsCT7lXepE3g=="], "@babel/helper-module-transforms": ["@babel/helper-module-transforms@7.29.7", "", { "dependencies": { "@babel/helper-module-imports": "^7.29.7", "@babel/helper-validator-identifier": "^7.29.7", "@babel/traverse": "^7.29.7" }, "peerDependencies": { "@babel/core": "^7.0.0" } }, "sha512-UPUVSyXbOh627KiCIGQSgwWzGeBKLkaJ9PJEdrngIwMSzxLR4jS4+f1f1jb7VzBbg8nFLaYotvVPFCTqdrmTAg=="], - "@babel/helper-optimise-call-expression": ["@babel/helper-optimise-call-expression@7.27.1", "", { "dependencies": { "@babel/types": "^7.27.1" } }, "sha512-URMGH08NzYFhubNSGJrpUEphGKQwMQYBySzat5cAByY1/YgIRkULnIy3tAMeszlL/so2HbeilYloUmSpd7GdVw=="], + "@babel/helper-optimise-call-expression": ["@babel/helper-optimise-call-expression@7.29.7", "", { "dependencies": { "@babel/types": "^7.29.7" } }, "sha512-+kmGVjcT9RGYzoDwdwEqEvGgKe3BYq+O1iGzjFubaNgZHwYHP6lsF2Yghf4kEuv9BV7tYDZ913aBW9am6YKong=="], "@babel/helper-plugin-utils": ["@babel/helper-plugin-utils@7.29.7", "", {}, "sha512-G7sHYigPY17oO5SYWnfD/0MTBwVR781S/JI643e/JhUYgVgWE/61SoW3NH9KWUKyKq5LVh3npif99Wkt6j86Jw=="], "@babel/helper-remap-async-to-generator": ["@babel/helper-remap-async-to-generator@7.29.7", "", { "dependencies": { "@babel/helper-annotate-as-pure": "^7.29.7", "@babel/helper-wrap-function": "^7.29.7", "@babel/traverse": "^7.29.7" }, "peerDependencies": { "@babel/core": "^7.0.0" } }, "sha512-16AMiW26DbXWBbr3B8wNozKM0ydMLB892vaOaJW/fPJdnT8vJk5sdkQcU/isqUxyCE0cEoa8wZOcbgDuC4b6Og=="], - "@babel/helper-replace-supers": ["@babel/helper-replace-supers@7.28.6", "", { "dependencies": { "@babel/helper-member-expression-to-functions": "^7.28.5", "@babel/helper-optimise-call-expression": "^7.27.1", "@babel/traverse": "^7.28.6" }, "peerDependencies": { "@babel/core": "^7.0.0" } }, "sha512-mq8e+laIk94/yFec3DxSjCRD2Z0TAjhVbEJY3UQrlwVo15Lmt7C2wAUbK4bjnTs4APkwsYLTahXRraQXhb1WCg=="], + "@babel/helper-replace-supers": ["@babel/helper-replace-supers@7.29.7", "", { "dependencies": { "@babel/helper-member-expression-to-functions": "^7.29.7", "@babel/helper-optimise-call-expression": "^7.29.7", "@babel/traverse": "^7.29.7" }, "peerDependencies": { "@babel/core": "^7.0.0" } }, "sha512-atfGXWSeCiF4DnKZIfmJfQRkSw9b9gNNXR1kqKjbhG4pGYCOnkp8OcTB8E3NXjBu8NpheSnOeNKz8KT7UNFTmQ=="], - "@babel/helper-skip-transparent-expression-wrappers": ["@babel/helper-skip-transparent-expression-wrappers@7.27.1", "", { "dependencies": { "@babel/traverse": "^7.27.1", "@babel/types": "^7.27.1" } }, "sha512-Tub4ZKEXqbPjXgWLl2+3JpQAYBJ8+ikpQ2Ocj/q/r0LwE3UhENh7EUabyHjz2kCEsrRY83ew2DQdHluuiDQFzg=="], + "@babel/helper-skip-transparent-expression-wrappers": ["@babel/helper-skip-transparent-expression-wrappers@7.29.7", "", { "dependencies": { "@babel/traverse": "^7.29.7", "@babel/types": "^7.29.7" } }, "sha512-brcMGQaVzIeUb+6/bs1Av0f8YuNNjKY2JyvfRCsFuFsdKccEQ5Ges2y74D74NZ1Rz8lKJ9ksJkfqwQFJ/iNEyQ=="], "@babel/helper-string-parser": ["@babel/helper-string-parser@7.29.7", "", {}, "sha512-Pb5ijPrZ89GDH8223L4UP8i6QApWxs04RbPQJTeWDV0/keR2E36MeKnyr6LYmUUvqRRI+Iv87SuF1W6ErINzYw=="], @@ -336,7 +363,7 @@ "@babel/plugin-syntax-json-strings": ["@babel/plugin-syntax-json-strings@7.8.3", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.8.0" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA=="], - "@babel/plugin-syntax-jsx": ["@babel/plugin-syntax-jsx@7.29.7", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.29.7" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-TSu8+mHCoEaaCDEZ0I3+6mvTBYR4PCxQwf2z9/r5Tbztv6NaLR3B9thGTTxX2WGuGHJqRiAbKPeGTJ5XWXVg6A=="], + "@babel/plugin-syntax-jsx": ["@babel/plugin-syntax-jsx@7.28.6", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.28.6" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-wgEmr06G6sIpqr8YDwA2dSRTE3bJ+V0IfpzfSY3Lfgd7YWOaAdlykvJi13ZKBt8cZHfgH1IXN+CL656W3uUa4w=="], "@babel/plugin-syntax-logical-assignment-operators": ["@babel/plugin-syntax-logical-assignment-operators@7.10.4", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.10.4" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig=="], @@ -358,7 +385,7 @@ "@babel/plugin-syntax-unicode-sets-regex": ["@babel/plugin-syntax-unicode-sets-regex@7.18.6", "", { "dependencies": { "@babel/helper-create-regexp-features-plugin": "^7.18.6", "@babel/helper-plugin-utils": "^7.18.6" }, "peerDependencies": { "@babel/core": "^7.0.0" } }, "sha512-727YkEAPwSIQTv5im8QHz3upqp92JTWhidIC81Tdx4VJYIte/VndKf1qKrfnnhPLiPghStWfvC/iFaMCQu7Nqg=="], - "@babel/plugin-transform-arrow-functions": ["@babel/plugin-transform-arrow-functions@7.27.1", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.27.1" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-8Z4TGic6xW70FKThA5HYEKKyBpOOsucTOD1DjU3fZxDg+K3zBJcXMFnt/4yQiZnf5+MiOMSXQ9PaEK/Ilh1DeA=="], + "@babel/plugin-transform-arrow-functions": ["@babel/plugin-transform-arrow-functions@7.29.7", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.29.7" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-N7zArUXWzAMzm+/N0uPBeVB3Fam5lMxtUwMmDK5f/IBBS7a7p1qeUoxd/6CckXoxUdgsntq1Dh8xNW06maZbDQ=="], "@babel/plugin-transform-async-generator-functions": ["@babel/plugin-transform-async-generator-functions@7.29.7", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.29.7", "@babel/helper-remap-async-to-generator": "^7.29.7", "@babel/traverse": "^7.29.7" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-d98gXZkgswvkyohMBABkhm3GeXhYj8psWfwQ2C7gtfrKGTykQa/iOIi+JJhwMjPlZ6Vm2XN+DCf3Es1EoG4ZLA=="], @@ -368,11 +395,11 @@ "@babel/plugin-transform-block-scoping": ["@babel/plugin-transform-block-scoping@7.29.7", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.29.7" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-ONyr4+AZhKh8yKWInVxU9AXA9EbsyeLcL6V0dJy6M2/62vuvpGm29zzuymbTpdc451GEpDIdAyPLP3r+P61yKQ=="], - "@babel/plugin-transform-class-properties": ["@babel/plugin-transform-class-properties@7.28.6", "", { "dependencies": { "@babel/helper-create-class-features-plugin": "^7.28.6", "@babel/helper-plugin-utils": "^7.28.6" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-dY2wS3I2G7D697VHndN91TJr8/AAfXQNt5ynCTI/MpxMsSzHp+52uNivYT5wCPax3whc47DR8Ba7cmlQMg24bw=="], + "@babel/plugin-transform-class-properties": ["@babel/plugin-transform-class-properties@7.29.7", "", { "dependencies": { "@babel/helper-create-class-features-plugin": "^7.29.7", "@babel/helper-plugin-utils": "^7.29.7" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-GtcpjFvanPfzNQi3eTitsCqtRRmmqzpy/A+yhTR1HaZo1Ly3EA8ZXxlPyHdR8/IuRMYc3E4wdGBewB2QKQjAaA=="], "@babel/plugin-transform-class-static-block": ["@babel/plugin-transform-class-static-block@7.29.7", "", { "dependencies": { "@babel/helper-create-class-features-plugin": "^7.29.7", "@babel/helper-plugin-utils": "^7.29.7" }, "peerDependencies": { "@babel/core": "^7.12.0" } }, "sha512-kibJgmEdX2iMwsHY2tSZNDgj8PwIlCQz7FK9KuGKO8zsuoUwSEhoNnNVp/emKWrbY4HeO6kkXfdMqRKKKXBm2A=="], - "@babel/plugin-transform-classes": ["@babel/plugin-transform-classes@7.28.6", "", { "dependencies": { "@babel/helper-annotate-as-pure": "^7.27.3", "@babel/helper-compilation-targets": "^7.28.6", "@babel/helper-globals": "^7.28.0", "@babel/helper-plugin-utils": "^7.28.6", "@babel/helper-replace-supers": "^7.28.6", "@babel/traverse": "^7.28.6" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-EF5KONAqC5zAqT783iMGuM2ZtmEBy+mJMOKl2BCvPZ2lVrwvXnB6o+OBWCS+CoeCCpVRF2sA2RBKUxvT8tQT5Q=="], + "@babel/plugin-transform-classes": ["@babel/plugin-transform-classes@7.29.7", "", { "dependencies": { "@babel/helper-annotate-as-pure": "^7.29.7", "@babel/helper-compilation-targets": "^7.29.7", "@babel/helper-globals": "^7.29.7", "@babel/helper-plugin-utils": "^7.29.7", "@babel/helper-replace-supers": "^7.29.7", "@babel/traverse": "^7.29.7" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-qV0OGGBVacduzQHE649JyCneOFI/maT+YKsO+K4Yi3xv2wTPNjM/W2o2gdzMwEAZz7fXNTHAe0NcSg30bIN69g=="], "@babel/plugin-transform-computed-properties": ["@babel/plugin-transform-computed-properties@7.29.7", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.29.7", "@babel/template": "^7.29.7" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-RK7/IyU5phpuCdBAuig5VkzG/EnbDaui5SQGdU9BFrHdV+mV4cUjLMQ9lJDjLNtWHsqtiefpGZUXQP2BiTYMsA=="], @@ -418,7 +445,7 @@ "@babel/plugin-transform-new-target": ["@babel/plugin-transform-new-target@7.29.7", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.29.7" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-fEo41GmsOUhOBlw8ioo6zvjX5Xc2Lqkzlyfqbpsk3eB6TReV18uhxZ0esfEokVbY2+PVJAQHNKxER6lGrzNd3A=="], - "@babel/plugin-transform-nullish-coalescing-operator": ["@babel/plugin-transform-nullish-coalescing-operator@7.28.6", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.28.6" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-3wKbRgmzYbw24mDJXT7N+ADXw8BC/imU9yo9c9X9NKaLF1fW+e5H1U5QjMUBe4Qo4Ox/o++IyUkl1sVCLgevKg=="], + "@babel/plugin-transform-nullish-coalescing-operator": ["@babel/plugin-transform-nullish-coalescing-operator@7.29.7", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.29.7" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-idmp1dFaekP9GbcMvG24Kvw2BfhFZjHnNJCkV4WuIY4PskJzwI3f1N5OdgYke38T7rftO6ERulFRn2cFeZwRkg=="], "@babel/plugin-transform-numeric-separator": ["@babel/plugin-transform-numeric-separator@7.29.7", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.29.7" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-zR7fv/z14OjgHl4AgRtkDBvBMhIzCxqV/qN/2BCRC7LjFwvuzjYe7gDWxC4Wl/SNsLM6SE1IWvRPYMgSJaUvNw=="], @@ -428,7 +455,7 @@ "@babel/plugin-transform-optional-catch-binding": ["@babel/plugin-transform-optional-catch-binding@7.29.7", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.29.7" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-sLsyndxK2VwX6yNUOakMb7Sh553ZTe/vVM1XJ+9Z5aW1ytsc8xOIwmyk05NNjN60vkc5/KqoTH6hB4V41LJhng=="], - "@babel/plugin-transform-optional-chaining": ["@babel/plugin-transform-optional-chaining@7.28.6", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.28.6", "@babel/helper-skip-transparent-expression-wrappers": "^7.27.1" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-A4zobikRGJTsX9uqVFdafzGkqD30t26ck2LmOzAuLL8b2x6k3TIqRiT2xVvA9fNmFeTX484VpsdgmKNA0bS23w=="], + "@babel/plugin-transform-optional-chaining": ["@babel/plugin-transform-optional-chaining@7.29.7", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.29.7", "@babel/helper-skip-transparent-expression-wrappers": "^7.29.7" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-6GM1dhvK3gNODkXcEcMCOLEDCLSoZ/sBbro2Ax8HURyasQ4NshagQixkRFdh5niI6E4gmA/jYI/4aT7rRos3ZQ=="], "@babel/plugin-transform-parameters": ["@babel/plugin-transform-parameters@7.29.7", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.29.7" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-ZDOBqV/qLYJI0YElr8DcENEyARsFQeESqWXH6gZlghYXuPPjvweuDhP4VyEi4BlUBlLRFZVjxoZDMjxhLW766g=="], @@ -454,13 +481,13 @@ "@babel/plugin-transform-runtime": ["@babel/plugin-transform-runtime@7.29.0", "", { "dependencies": { "@babel/helper-module-imports": "^7.28.6", "@babel/helper-plugin-utils": "^7.28.6", "babel-plugin-polyfill-corejs2": "^0.4.14", "babel-plugin-polyfill-corejs3": "^0.13.0", "babel-plugin-polyfill-regenerator": "^0.6.5", "semver": "^6.3.1" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-jlaRT5dJtMaMCV6fAuLbsQMSwz/QkvaHOHOSXRitGGwSpR1blCY4KUKoyP2tYO8vJcqYe8cEj96cqSztv3uF9w=="], - "@babel/plugin-transform-shorthand-properties": ["@babel/plugin-transform-shorthand-properties@7.27.1", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.27.1" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-N/wH1vcn4oYawbJ13Y/FxcQrWk63jhfNa7jef0ih7PHSIHX2LB7GWE1rkPrOnka9kwMxb6hMl19p7lidA+EHmQ=="], + "@babel/plugin-transform-shorthand-properties": ["@babel/plugin-transform-shorthand-properties@7.29.7", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.29.7" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-I+WYbGBAiCn7nA6xBrlgPH+MB7HWb4u8pv5S0Pv7OtwNvIFvCCb24YlttKEeUFVurfBCEaOTnuhlqsb7f0Z5Dg=="], "@babel/plugin-transform-spread": ["@babel/plugin-transform-spread@7.29.7", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.29.7", "@babel/helper-skip-transparent-expression-wrappers": "^7.29.7" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-/u5K1QWada7tbYNqTjMh96718g9NTwh9tfPJMsSmVsQwGT447FskV+KcfeXkXq2GWki4EM/MuTdmBec+hOuVTQ=="], "@babel/plugin-transform-sticky-regex": ["@babel/plugin-transform-sticky-regex@7.29.7", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.29.7" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-BCHzNYJGe9l7EpwwDBN/ztlL2NYFFq8hp9ddjtUEM9f2O7S7kKV/lL6Fwo7IF7NSkYhPK2vO+86nIGltA90MsA=="], - "@babel/plugin-transform-template-literals": ["@babel/plugin-transform-template-literals@7.27.1", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.27.1" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-fBJKiV7F2DxZUkg5EtHKXQdbsbURW3DZKQUWphDum0uRP6eHGGa/He9mc0mypL680pb+e/lDIthRohlv8NCHkg=="], + "@babel/plugin-transform-template-literals": ["@babel/plugin-transform-template-literals@7.29.7", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.29.7" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-NCSEJ4sLFU2gqAub45HYh4fus2yQ36rr6ei6vpU7NdoJqCpxvEG8E6eJpscGyXP3VHD2Ny+fSXr04k1hoUrFqA=="], "@babel/plugin-transform-typeof-symbol": ["@babel/plugin-transform-typeof-symbol@7.29.7", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.29.7" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-223mNGoTkBiTEWFoK+Q6Go3tueMRclO8vxxxxquNCYuNI4jWOofFKJRRDu6SDrB8Sgo1UEGW9T4GAQ8ZyRso1A=="], @@ -470,7 +497,7 @@ "@babel/plugin-transform-unicode-property-regex": ["@babel/plugin-transform-unicode-property-regex@7.29.7", "", { "dependencies": { "@babel/helper-create-regexp-features-plugin": "^7.29.7", "@babel/helper-plugin-utils": "^7.29.7" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-OgZ+zoAJgZLUCunsTRQ5LAjOywDv5zzZ2/hQ5aMw1pGXyY2rtE8/chXYUmu3AlVHKpm10KEdG9aMwbI/K76ZGw=="], - "@babel/plugin-transform-unicode-regex": ["@babel/plugin-transform-unicode-regex@7.27.1", "", { "dependencies": { "@babel/helper-create-regexp-features-plugin": "^7.27.1", "@babel/helper-plugin-utils": "^7.27.1" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-xvINq24TRojDuyt6JGtHmkVkrfVV3FPT16uytxImLeBZqW3/H52yN+kM1MGuyPkIQxrzKwPHs5U/MP3qKyzkGw=="], + "@babel/plugin-transform-unicode-regex": ["@babel/plugin-transform-unicode-regex@7.29.7", "", { "dependencies": { "@babel/helper-create-regexp-features-plugin": "^7.29.7", "@babel/helper-plugin-utils": "^7.29.7" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-7D/x/23/d/3VqZ0QA+LGbZMlGwZjztBygSWWWsfTPoQ1oQ6Q1P6Mr3d0kk42XabyUVw+fha3LqdRsFqeKqvCyA=="], "@babel/plugin-transform-unicode-sets-regex": ["@babel/plugin-transform-unicode-sets-regex@7.29.7", "", { "dependencies": { "@babel/helper-create-regexp-features-plugin": "^7.29.7", "@babel/helper-plugin-utils": "^7.29.7" }, "peerDependencies": { "@babel/core": "^7.0.0" } }, "sha512-BLOhLht9DOJwIxlmp91wHvkXv1lguuHS3/FwUO8HL1H0u8s4hR1gASVFyilu9iGtcTRYqjTZmlsFFeQletntEg=="], @@ -1250,7 +1277,7 @@ "abort-controller": ["abort-controller@3.0.0", "", { "dependencies": { "event-target-shim": "^5.0.0" } }, "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg=="], - "accepts": ["accepts@2.0.0", "", { "dependencies": { "mime-types": "^3.0.0", "negotiator": "^1.0.0" } }, "sha512-5cvg6CtKwfgdmVqY1WIiXKc3Q1bkRqGLi+2W/6ao+6Y7gu/RCwRuAhGEzh5B4KlszSuTLgZYuqFqo5bImjNKng=="], + "accepts": ["accepts@1.3.8", "", { "dependencies": { "mime-types": "~2.1.34", "negotiator": "0.6.3" } }, "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw=="], "acorn": ["acorn@8.16.0", "", { "bin": { "acorn": "bin/acorn" } }, "sha512-UVJyE9MttOsBQIDKw1skb9nAwQuR5wuGD3+82K6JgJlm/Y+KI92oNsMNGZCYdDsVtRHSak0pcV5Dno5+4jh9sw=="], @@ -1434,7 +1461,7 @@ "command-exists": ["command-exists@1.2.9", "", {}, "sha512-LTQ/SGc+s0Xc0Fu5WaKnR0YiygZkm9eKFvyS+fRsU7/ZWFF8ykFM6Pc9aCVf1+xasOOZpO3BAVgVrKvsqKHV7w=="], - "commander": ["commander@12.1.0", "", {}, "sha512-Vw8qHK3bZM9y/P10u3Vib8o/DdkvA2OtPtZvD871QKjy74Wj1WSKFILMPRPSdUSx5RFK1arlJzEtA4PkFgnbuA=="], + "commander": ["commander@9.5.0", "", {}, "sha512-KRs7WVDKg86PWiuAqhDrAQnTXZKraVcCc6vFdL14qrZ/DcWwuRo7VoiYXalXO7S5GKpqYiVEwCbgFDfxNHKJBQ=="], "compare-func": ["compare-func@2.0.0", "", { "dependencies": { "array-ify": "^1.0.0", "dot-prop": "^5.1.0" } }, "sha512-zHig5N+tPWARooBnb0Zx1MFcdfpyJrfTJ3Y5L+IFvUm8rM74hHz66z0gw0x4tijh5CorKkKUCnW82R2vmpeCRA=="], @@ -1624,7 +1651,7 @@ "etag": ["etag@1.8.1", "", {}, "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg=="], - "event-target-shim": ["event-target-shim@5.0.1", "", {}, "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ=="], + "event-target-shim": ["event-target-shim@6.0.2", "", {}, "sha512-8q3LsZjRezbFZ2PN+uP+Q7pnHUMmAOziU2vA2OwoFaKIXxlxl38IylhSSgUorWu/rf4er67w0ikBqjBFk/pomA=="], "execa": ["execa@8.0.1", "", { "dependencies": { "cross-spawn": "^7.0.3", "get-stream": "^8.0.1", "human-signals": "^5.0.0", "is-stream": "^3.0.0", "merge-stream": "^2.0.0", "npm-run-path": "^5.1.0", "onetime": "^6.0.0", "signal-exit": "^4.1.0", "strip-final-newline": "^3.0.0" } }, "sha512-VyhnebXciFV2DESc+p6B+y0LjSm0krU4OgJN44qFAhBY0TJ+1V61tYD2+wHusZ6F9n5K+vl8k0sTy7PEfV4qpg=="], @@ -1638,6 +1665,8 @@ "extend": ["extend@3.0.2", "", {}, "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g=="], + "fake-simulated-camera": ["fake-simulated-camera@workspace:apps/fake-simulated-camera"], + "fast-content-type-parse": ["fast-content-type-parse@3.0.0", "", {}, "sha512-ZvLdcY8P+N8mGQJahJV5G4U88CSvT1rP8ApL6uETe88MBXrBHAkZlSEySdUlyztF7ccb+Znos3TFqaepHxdhBg=="], "fast-deep-equal": ["fast-deep-equal@3.1.3", "", {}, "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q=="], @@ -2848,42 +2877,20 @@ "@babel/core/semver": ["semver@6.3.1", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA=="], - "@babel/helper-annotate-as-pure/@babel/types": ["@babel/types@7.29.0", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.28.5" } }, "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A=="], - "@babel/helper-compilation-targets/lru-cache": ["lru-cache@5.1.1", "", { "dependencies": { "yallist": "^3.0.2" } }, "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w=="], "@babel/helper-compilation-targets/semver": ["semver@6.3.1", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA=="], - "@babel/helper-create-class-features-plugin/@babel/traverse": ["@babel/traverse@7.29.0", "", { "dependencies": { "@babel/code-frame": "^7.29.0", "@babel/generator": "^7.29.0", "@babel/helper-globals": "^7.28.0", "@babel/parser": "^7.29.0", "@babel/template": "^7.28.6", "@babel/types": "^7.29.0", "debug": "^4.3.1" } }, "sha512-4HPiQr0X7+waHfyXPZpWPfWL/J7dcN1mx9gL6WdQVMbPnF3+ZhSMs8tCxN7oHddJE9fhNE7+lxdnlyemKfJRuA=="], - "@babel/helper-create-class-features-plugin/semver": ["semver@6.3.1", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA=="], + "@babel/helper-create-regexp-features-plugin/@babel/helper-annotate-as-pure": ["@babel/helper-annotate-as-pure@7.27.3", "", { "dependencies": { "@babel/types": "^7.27.3" } }, "sha512-fXSwMQqitTGeHLBC08Eq5yXz2m37E4pJX1qAU1+2cNedz/ifv/bVXft90VeSav5nFO61EcNgwr0aJxbyPaWBPg=="], + "@babel/helper-create-regexp-features-plugin/semver": ["semver@6.3.1", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA=="], "@babel/helper-define-polyfill-provider/@babel/helper-compilation-targets": ["@babel/helper-compilation-targets@7.28.6", "", { "dependencies": { "@babel/compat-data": "^7.28.6", "@babel/helper-validator-option": "^7.27.1", "browserslist": "^4.24.0", "lru-cache": "^5.1.1", "semver": "^6.3.1" } }, "sha512-JYtls3hqi15fcx5GaSNL7SCTJ2MNmjrkHXg4FSpOA/grxK8KwyZ5bubHsCq8FXCkua6xhuaaBit+3b7+VZRfcA=="], "@babel/helper-define-polyfill-provider/@babel/helper-plugin-utils": ["@babel/helper-plugin-utils@7.28.6", "", {}, "sha512-S9gzZ/bz83GRysI7gAD4wPT/AI3uCnY+9xn+Mx/KPs2JwHJIz1W8PZkg2cqyt3RNOBM8ejcXhV6y8Og7ly/Dug=="], - "@babel/helper-member-expression-to-functions/@babel/traverse": ["@babel/traverse@7.29.0", "", { "dependencies": { "@babel/code-frame": "^7.29.0", "@babel/generator": "^7.29.0", "@babel/helper-globals": "^7.28.0", "@babel/parser": "^7.29.0", "@babel/template": "^7.28.6", "@babel/types": "^7.29.0", "debug": "^4.3.1" } }, "sha512-4HPiQr0X7+waHfyXPZpWPfWL/J7dcN1mx9gL6WdQVMbPnF3+ZhSMs8tCxN7oHddJE9fhNE7+lxdnlyemKfJRuA=="], - - "@babel/helper-member-expression-to-functions/@babel/types": ["@babel/types@7.29.0", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.28.5" } }, "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A=="], - - "@babel/helper-optimise-call-expression/@babel/types": ["@babel/types@7.29.0", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.28.5" } }, "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A=="], - - "@babel/helper-remap-async-to-generator/@babel/helper-annotate-as-pure": ["@babel/helper-annotate-as-pure@7.29.7", "", { "dependencies": { "@babel/types": "^7.29.7" } }, "sha512-OoK6239jHPuSQOoS0kfTVKn0b/rVTk0seKq4Gd2UMLtmOVLjDC0ki3e+c90Trqv2gMfvJFqkiljrr568+qddiw=="], - - "@babel/helper-replace-supers/@babel/traverse": ["@babel/traverse@7.29.0", "", { "dependencies": { "@babel/code-frame": "^7.29.0", "@babel/generator": "^7.29.0", "@babel/helper-globals": "^7.28.0", "@babel/parser": "^7.29.0", "@babel/template": "^7.28.6", "@babel/types": "^7.29.0", "debug": "^4.3.1" } }, "sha512-4HPiQr0X7+waHfyXPZpWPfWL/J7dcN1mx9gL6WdQVMbPnF3+ZhSMs8tCxN7oHddJE9fhNE7+lxdnlyemKfJRuA=="], - - "@babel/helper-skip-transparent-expression-wrappers/@babel/traverse": ["@babel/traverse@7.29.0", "", { "dependencies": { "@babel/code-frame": "^7.29.0", "@babel/generator": "^7.29.0", "@babel/helper-globals": "^7.28.0", "@babel/parser": "^7.29.0", "@babel/template": "^7.28.6", "@babel/types": "^7.29.0", "debug": "^4.3.1" } }, "sha512-4HPiQr0X7+waHfyXPZpWPfWL/J7dcN1mx9gL6WdQVMbPnF3+ZhSMs8tCxN7oHddJE9fhNE7+lxdnlyemKfJRuA=="], - - "@babel/helper-skip-transparent-expression-wrappers/@babel/types": ["@babel/types@7.29.0", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.28.5" } }, "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A=="], - - "@babel/plugin-bugfix-safari-rest-destructuring-rhs-array/@babel/helper-skip-transparent-expression-wrappers": ["@babel/helper-skip-transparent-expression-wrappers@7.29.7", "", { "dependencies": { "@babel/traverse": "^7.29.7", "@babel/types": "^7.29.7" } }, "sha512-brcMGQaVzIeUb+6/bs1Av0f8YuNNjKY2JyvfRCsFuFsdKccEQ5Ges2y74D74NZ1Rz8lKJ9ksJkfqwQFJ/iNEyQ=="], - - "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/@babel/helper-skip-transparent-expression-wrappers": ["@babel/helper-skip-transparent-expression-wrappers@7.29.7", "", { "dependencies": { "@babel/traverse": "^7.29.7", "@babel/types": "^7.29.7" } }, "sha512-brcMGQaVzIeUb+6/bs1Av0f8YuNNjKY2JyvfRCsFuFsdKccEQ5Ges2y74D74NZ1Rz8lKJ9ksJkfqwQFJ/iNEyQ=="], - - "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/@babel/plugin-transform-optional-chaining": ["@babel/plugin-transform-optional-chaining@7.29.7", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.29.7", "@babel/helper-skip-transparent-expression-wrappers": "^7.29.7" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-6GM1dhvK3gNODkXcEcMCOLEDCLSoZ/sBbro2Ax8HURyasQ4NshagQixkRFdh5niI6E4gmA/jYI/4aT7rRos3ZQ=="], - "@babel/plugin-proposal-export-default-from/@babel/helper-plugin-utils": ["@babel/helper-plugin-utils@7.28.6", "", {}, "sha512-S9gzZ/bz83GRysI7gAD4wPT/AI3uCnY+9xn+Mx/KPs2JwHJIz1W8PZkg2cqyt3RNOBM8ejcXhV6y8Og7ly/Dug=="], "@babel/plugin-syntax-async-generators/@babel/helper-plugin-utils": ["@babel/helper-plugin-utils@7.28.6", "", {}, "sha512-S9gzZ/bz83GRysI7gAD4wPT/AI3uCnY+9xn+Mx/KPs2JwHJIz1W8PZkg2cqyt3RNOBM8ejcXhV6y8Og7ly/Dug=="], @@ -2904,6 +2911,8 @@ "@babel/plugin-syntax-json-strings/@babel/helper-plugin-utils": ["@babel/helper-plugin-utils@7.28.6", "", {}, "sha512-S9gzZ/bz83GRysI7gAD4wPT/AI3uCnY+9xn+Mx/KPs2JwHJIz1W8PZkg2cqyt3RNOBM8ejcXhV6y8Og7ly/Dug=="], + "@babel/plugin-syntax-jsx/@babel/helper-plugin-utils": ["@babel/helper-plugin-utils@7.28.6", "", {}, "sha512-S9gzZ/bz83GRysI7gAD4wPT/AI3uCnY+9xn+Mx/KPs2JwHJIz1W8PZkg2cqyt3RNOBM8ejcXhV6y8Og7ly/Dug=="], + "@babel/plugin-syntax-logical-assignment-operators/@babel/helper-plugin-utils": ["@babel/helper-plugin-utils@7.28.6", "", {}, "sha512-S9gzZ/bz83GRysI7gAD4wPT/AI3uCnY+9xn+Mx/KPs2JwHJIz1W8PZkg2cqyt3RNOBM8ejcXhV6y8Og7ly/Dug=="], "@babel/plugin-syntax-nullish-coalescing-operator/@babel/helper-plugin-utils": ["@babel/helper-plugin-utils@7.28.6", "", {}, "sha512-S9gzZ/bz83GRysI7gAD4wPT/AI3uCnY+9xn+Mx/KPs2JwHJIz1W8PZkg2cqyt3RNOBM8ejcXhV6y8Og7ly/Dug=="], @@ -2924,48 +2933,22 @@ "@babel/plugin-syntax-unicode-sets-regex/@babel/helper-plugin-utils": ["@babel/helper-plugin-utils@7.28.6", "", {}, "sha512-S9gzZ/bz83GRysI7gAD4wPT/AI3uCnY+9xn+Mx/KPs2JwHJIz1W8PZkg2cqyt3RNOBM8ejcXhV6y8Og7ly/Dug=="], - "@babel/plugin-transform-arrow-functions/@babel/helper-plugin-utils": ["@babel/helper-plugin-utils@7.28.6", "", {}, "sha512-S9gzZ/bz83GRysI7gAD4wPT/AI3uCnY+9xn+Mx/KPs2JwHJIz1W8PZkg2cqyt3RNOBM8ejcXhV6y8Og7ly/Dug=="], - - "@babel/plugin-transform-class-properties/@babel/helper-plugin-utils": ["@babel/helper-plugin-utils@7.28.6", "", {}, "sha512-S9gzZ/bz83GRysI7gAD4wPT/AI3uCnY+9xn+Mx/KPs2JwHJIz1W8PZkg2cqyt3RNOBM8ejcXhV6y8Og7ly/Dug=="], - - "@babel/plugin-transform-class-static-block/@babel/helper-create-class-features-plugin": ["@babel/helper-create-class-features-plugin@7.29.7", "", { "dependencies": { "@babel/helper-annotate-as-pure": "^7.29.7", "@babel/helper-member-expression-to-functions": "^7.29.7", "@babel/helper-optimise-call-expression": "^7.29.7", "@babel/helper-replace-supers": "^7.29.7", "@babel/helper-skip-transparent-expression-wrappers": "^7.29.7", "@babel/traverse": "^7.29.7", "semver": "^6.3.1" }, "peerDependencies": { "@babel/core": "^7.0.0" } }, "sha512-IY3ZD9Tmooqr3TUhc3DUWxiuo8xx1DWLhd5M7hQ+ZWJamqM2BbalrBJb2MisSLoYorOj75U03qULCxQTY9r3hg=="], - - "@babel/plugin-transform-classes/@babel/helper-compilation-targets": ["@babel/helper-compilation-targets@7.28.6", "", { "dependencies": { "@babel/compat-data": "^7.28.6", "@babel/helper-validator-option": "^7.27.1", "browserslist": "^4.24.0", "lru-cache": "^5.1.1", "semver": "^6.3.1" } }, "sha512-JYtls3hqi15fcx5GaSNL7SCTJ2MNmjrkHXg4FSpOA/grxK8KwyZ5bubHsCq8FXCkua6xhuaaBit+3b7+VZRfcA=="], - - "@babel/plugin-transform-classes/@babel/helper-plugin-utils": ["@babel/helper-plugin-utils@7.28.6", "", {}, "sha512-S9gzZ/bz83GRysI7gAD4wPT/AI3uCnY+9xn+Mx/KPs2JwHJIz1W8PZkg2cqyt3RNOBM8ejcXhV6y8Og7ly/Dug=="], - - "@babel/plugin-transform-classes/@babel/traverse": ["@babel/traverse@7.29.0", "", { "dependencies": { "@babel/code-frame": "^7.29.0", "@babel/generator": "^7.29.0", "@babel/helper-globals": "^7.28.0", "@babel/parser": "^7.29.0", "@babel/template": "^7.28.6", "@babel/types": "^7.29.0", "debug": "^4.3.1" } }, "sha512-4HPiQr0X7+waHfyXPZpWPfWL/J7dcN1mx9gL6WdQVMbPnF3+ZhSMs8tCxN7oHddJE9fhNE7+lxdnlyemKfJRuA=="], - "@babel/plugin-transform-dotall-regex/@babel/helper-create-regexp-features-plugin": ["@babel/helper-create-regexp-features-plugin@7.29.7", "", { "dependencies": { "@babel/helper-annotate-as-pure": "^7.29.7", "regexpu-core": "^6.3.1", "semver": "^6.3.1" }, "peerDependencies": { "@babel/core": "^7.0.0" } }, "sha512-907Uymvqgg1dwUA+7IGwFAOSYzQOuzPXKNJ1yxzwPffzkYFg2q2eHi1fIOs6sXkG9NbIUMunnUlkYsfRFNvomg=="], "@babel/plugin-transform-duplicate-named-capturing-groups-regex/@babel/helper-create-regexp-features-plugin": ["@babel/helper-create-regexp-features-plugin@7.29.7", "", { "dependencies": { "@babel/helper-annotate-as-pure": "^7.29.7", "regexpu-core": "^6.3.1", "semver": "^6.3.1" }, "peerDependencies": { "@babel/core": "^7.0.0" } }, "sha512-907Uymvqgg1dwUA+7IGwFAOSYzQOuzPXKNJ1yxzwPffzkYFg2q2eHi1fIOs6sXkG9NbIUMunnUlkYsfRFNvomg=="], "@babel/plugin-transform-flow-strip-types/@babel/helper-plugin-utils": ["@babel/helper-plugin-utils@7.28.6", "", {}, "sha512-S9gzZ/bz83GRysI7gAD4wPT/AI3uCnY+9xn+Mx/KPs2JwHJIz1W8PZkg2cqyt3RNOBM8ejcXhV6y8Og7ly/Dug=="], - "@babel/plugin-transform-for-of/@babel/helper-skip-transparent-expression-wrappers": ["@babel/helper-skip-transparent-expression-wrappers@7.29.7", "", { "dependencies": { "@babel/traverse": "^7.29.7", "@babel/types": "^7.29.7" } }, "sha512-brcMGQaVzIeUb+6/bs1Av0f8YuNNjKY2JyvfRCsFuFsdKccEQ5Ges2y74D74NZ1Rz8lKJ9ksJkfqwQFJ/iNEyQ=="], - "@babel/plugin-transform-named-capturing-groups-regex/@babel/helper-create-regexp-features-plugin": ["@babel/helper-create-regexp-features-plugin@7.29.7", "", { "dependencies": { "@babel/helper-annotate-as-pure": "^7.29.7", "regexpu-core": "^6.3.1", "semver": "^6.3.1" }, "peerDependencies": { "@babel/core": "^7.0.0" } }, "sha512-907Uymvqgg1dwUA+7IGwFAOSYzQOuzPXKNJ1yxzwPffzkYFg2q2eHi1fIOs6sXkG9NbIUMunnUlkYsfRFNvomg=="], - "@babel/plugin-transform-nullish-coalescing-operator/@babel/helper-plugin-utils": ["@babel/helper-plugin-utils@7.28.6", "", {}, "sha512-S9gzZ/bz83GRysI7gAD4wPT/AI3uCnY+9xn+Mx/KPs2JwHJIz1W8PZkg2cqyt3RNOBM8ejcXhV6y8Og7ly/Dug=="], - - "@babel/plugin-transform-object-super/@babel/helper-replace-supers": ["@babel/helper-replace-supers@7.29.7", "", { "dependencies": { "@babel/helper-member-expression-to-functions": "^7.29.7", "@babel/helper-optimise-call-expression": "^7.29.7", "@babel/traverse": "^7.29.7" }, "peerDependencies": { "@babel/core": "^7.0.0" } }, "sha512-atfGXWSeCiF4DnKZIfmJfQRkSw9b9gNNXR1kqKjbhG4pGYCOnkp8OcTB8E3NXjBu8NpheSnOeNKz8KT7UNFTmQ=="], - - "@babel/plugin-transform-optional-chaining/@babel/helper-plugin-utils": ["@babel/helper-plugin-utils@7.28.6", "", {}, "sha512-S9gzZ/bz83GRysI7gAD4wPT/AI3uCnY+9xn+Mx/KPs2JwHJIz1W8PZkg2cqyt3RNOBM8ejcXhV6y8Og7ly/Dug=="], - - "@babel/plugin-transform-private-methods/@babel/helper-create-class-features-plugin": ["@babel/helper-create-class-features-plugin@7.29.7", "", { "dependencies": { "@babel/helper-annotate-as-pure": "^7.29.7", "@babel/helper-member-expression-to-functions": "^7.29.7", "@babel/helper-optimise-call-expression": "^7.29.7", "@babel/helper-replace-supers": "^7.29.7", "@babel/helper-skip-transparent-expression-wrappers": "^7.29.7", "@babel/traverse": "^7.29.7", "semver": "^6.3.1" }, "peerDependencies": { "@babel/core": "^7.0.0" } }, "sha512-IY3ZD9Tmooqr3TUhc3DUWxiuo8xx1DWLhd5M7hQ+ZWJamqM2BbalrBJb2MisSLoYorOj75U03qULCxQTY9r3hg=="], - - "@babel/plugin-transform-private-property-in-object/@babel/helper-annotate-as-pure": ["@babel/helper-annotate-as-pure@7.29.7", "", { "dependencies": { "@babel/types": "^7.29.7" } }, "sha512-OoK6239jHPuSQOoS0kfTVKn0b/rVTk0seKq4Gd2UMLtmOVLjDC0ki3e+c90Trqv2gMfvJFqkiljrr568+qddiw=="], - - "@babel/plugin-transform-private-property-in-object/@babel/helper-create-class-features-plugin": ["@babel/helper-create-class-features-plugin@7.29.7", "", { "dependencies": { "@babel/helper-annotate-as-pure": "^7.29.7", "@babel/helper-member-expression-to-functions": "^7.29.7", "@babel/helper-optimise-call-expression": "^7.29.7", "@babel/helper-replace-supers": "^7.29.7", "@babel/helper-skip-transparent-expression-wrappers": "^7.29.7", "@babel/traverse": "^7.29.7", "semver": "^6.3.1" }, "peerDependencies": { "@babel/core": "^7.0.0" } }, "sha512-IY3ZD9Tmooqr3TUhc3DUWxiuo8xx1DWLhd5M7hQ+ZWJamqM2BbalrBJb2MisSLoYorOj75U03qULCxQTY9r3hg=="], - "@babel/plugin-transform-react-display-name/@babel/helper-plugin-utils": ["@babel/helper-plugin-utils@7.28.6", "", {}, "sha512-S9gzZ/bz83GRysI7gAD4wPT/AI3uCnY+9xn+Mx/KPs2JwHJIz1W8PZkg2cqyt3RNOBM8ejcXhV6y8Og7ly/Dug=="], + "@babel/plugin-transform-react-jsx/@babel/helper-annotate-as-pure": ["@babel/helper-annotate-as-pure@7.27.3", "", { "dependencies": { "@babel/types": "^7.27.3" } }, "sha512-fXSwMQqitTGeHLBC08Eq5yXz2m37E4pJX1qAU1+2cNedz/ifv/bVXft90VeSav5nFO61EcNgwr0aJxbyPaWBPg=="], + "@babel/plugin-transform-react-jsx/@babel/helper-module-imports": ["@babel/helper-module-imports@7.28.6", "", { "dependencies": { "@babel/traverse": "^7.28.6", "@babel/types": "^7.28.6" } }, "sha512-l5XkZK7r7wa9LucGw9LwZyyCUscb4x37JWTPz7swwFE/0FMQAGpiWUZn8u9DzkSBWEcK25jmvubfpw2dnAMdbw=="], "@babel/plugin-transform-react-jsx/@babel/helper-plugin-utils": ["@babel/helper-plugin-utils@7.28.6", "", {}, "sha512-S9gzZ/bz83GRysI7gAD4wPT/AI3uCnY+9xn+Mx/KPs2JwHJIz1W8PZkg2cqyt3RNOBM8ejcXhV6y8Og7ly/Dug=="], - "@babel/plugin-transform-react-jsx/@babel/plugin-syntax-jsx": ["@babel/plugin-syntax-jsx@7.28.6", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.28.6" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-wgEmr06G6sIpqr8YDwA2dSRTE3bJ+V0IfpzfSY3Lfgd7YWOaAdlykvJi13ZKBt8cZHfgH1IXN+CL656W3uUa4w=="], - "@babel/plugin-transform-react-jsx/@babel/types": ["@babel/types@7.29.0", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.28.5" } }, "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A=="], "@babel/plugin-transform-react-jsx-self/@babel/helper-plugin-utils": ["@babel/helper-plugin-utils@7.28.6", "", {}, "sha512-S9gzZ/bz83GRysI7gAD4wPT/AI3uCnY+9xn+Mx/KPs2JwHJIz1W8PZkg2cqyt3RNOBM8ejcXhV6y8Og7ly/Dug=="], @@ -2982,45 +2965,29 @@ "@babel/plugin-transform-runtime/semver": ["semver@6.3.1", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA=="], - "@babel/plugin-transform-shorthand-properties/@babel/helper-plugin-utils": ["@babel/helper-plugin-utils@7.28.6", "", {}, "sha512-S9gzZ/bz83GRysI7gAD4wPT/AI3uCnY+9xn+Mx/KPs2JwHJIz1W8PZkg2cqyt3RNOBM8ejcXhV6y8Og7ly/Dug=="], - - "@babel/plugin-transform-spread/@babel/helper-skip-transparent-expression-wrappers": ["@babel/helper-skip-transparent-expression-wrappers@7.29.7", "", { "dependencies": { "@babel/traverse": "^7.29.7", "@babel/types": "^7.29.7" } }, "sha512-brcMGQaVzIeUb+6/bs1Av0f8YuNNjKY2JyvfRCsFuFsdKccEQ5Ges2y74D74NZ1Rz8lKJ9ksJkfqwQFJ/iNEyQ=="], + "@babel/plugin-transform-typescript/@babel/helper-annotate-as-pure": ["@babel/helper-annotate-as-pure@7.27.3", "", { "dependencies": { "@babel/types": "^7.27.3" } }, "sha512-fXSwMQqitTGeHLBC08Eq5yXz2m37E4pJX1qAU1+2cNedz/ifv/bVXft90VeSav5nFO61EcNgwr0aJxbyPaWBPg=="], - "@babel/plugin-transform-template-literals/@babel/helper-plugin-utils": ["@babel/helper-plugin-utils@7.28.6", "", {}, "sha512-S9gzZ/bz83GRysI7gAD4wPT/AI3uCnY+9xn+Mx/KPs2JwHJIz1W8PZkg2cqyt3RNOBM8ejcXhV6y8Og7ly/Dug=="], + "@babel/plugin-transform-typescript/@babel/helper-create-class-features-plugin": ["@babel/helper-create-class-features-plugin@7.28.6", "", { "dependencies": { "@babel/helper-annotate-as-pure": "^7.27.3", "@babel/helper-member-expression-to-functions": "^7.28.5", "@babel/helper-optimise-call-expression": "^7.27.1", "@babel/helper-replace-supers": "^7.28.6", "@babel/helper-skip-transparent-expression-wrappers": "^7.27.1", "@babel/traverse": "^7.28.6", "semver": "^6.3.1" }, "peerDependencies": { "@babel/core": "^7.0.0" } }, "sha512-dTOdvsjnG3xNT9Y0AUg1wAl38y+4Rl4sf9caSQZOXdNqVn+H+HbbJ4IyyHaIqNR6SW9oJpA/RuRjsjCw2IdIow=="], "@babel/plugin-transform-typescript/@babel/helper-plugin-utils": ["@babel/helper-plugin-utils@7.28.6", "", {}, "sha512-S9gzZ/bz83GRysI7gAD4wPT/AI3uCnY+9xn+Mx/KPs2JwHJIz1W8PZkg2cqyt3RNOBM8ejcXhV6y8Og7ly/Dug=="], + "@babel/plugin-transform-typescript/@babel/helper-skip-transparent-expression-wrappers": ["@babel/helper-skip-transparent-expression-wrappers@7.27.1", "", { "dependencies": { "@babel/traverse": "^7.27.1", "@babel/types": "^7.27.1" } }, "sha512-Tub4ZKEXqbPjXgWLl2+3JpQAYBJ8+ikpQ2Ocj/q/r0LwE3UhENh7EUabyHjz2kCEsrRY83ew2DQdHluuiDQFzg=="], + "@babel/plugin-transform-unicode-property-regex/@babel/helper-create-regexp-features-plugin": ["@babel/helper-create-regexp-features-plugin@7.29.7", "", { "dependencies": { "@babel/helper-annotate-as-pure": "^7.29.7", "regexpu-core": "^6.3.1", "semver": "^6.3.1" }, "peerDependencies": { "@babel/core": "^7.0.0" } }, "sha512-907Uymvqgg1dwUA+7IGwFAOSYzQOuzPXKNJ1yxzwPffzkYFg2q2eHi1fIOs6sXkG9NbIUMunnUlkYsfRFNvomg=="], - "@babel/plugin-transform-unicode-regex/@babel/helper-plugin-utils": ["@babel/helper-plugin-utils@7.28.6", "", {}, "sha512-S9gzZ/bz83GRysI7gAD4wPT/AI3uCnY+9xn+Mx/KPs2JwHJIz1W8PZkg2cqyt3RNOBM8ejcXhV6y8Og7ly/Dug=="], + "@babel/plugin-transform-unicode-regex/@babel/helper-create-regexp-features-plugin": ["@babel/helper-create-regexp-features-plugin@7.29.7", "", { "dependencies": { "@babel/helper-annotate-as-pure": "^7.29.7", "regexpu-core": "^6.3.1", "semver": "^6.3.1" }, "peerDependencies": { "@babel/core": "^7.0.0" } }, "sha512-907Uymvqgg1dwUA+7IGwFAOSYzQOuzPXKNJ1yxzwPffzkYFg2q2eHi1fIOs6sXkG9NbIUMunnUlkYsfRFNvomg=="], "@babel/plugin-transform-unicode-sets-regex/@babel/helper-create-regexp-features-plugin": ["@babel/helper-create-regexp-features-plugin@7.29.7", "", { "dependencies": { "@babel/helper-annotate-as-pure": "^7.29.7", "regexpu-core": "^6.3.1", "semver": "^6.3.1" }, "peerDependencies": { "@babel/core": "^7.0.0" } }, "sha512-907Uymvqgg1dwUA+7IGwFAOSYzQOuzPXKNJ1yxzwPffzkYFg2q2eHi1fIOs6sXkG9NbIUMunnUlkYsfRFNvomg=="], - "@babel/preset-env/@babel/plugin-transform-arrow-functions": ["@babel/plugin-transform-arrow-functions@7.29.7", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.29.7" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-N7zArUXWzAMzm+/N0uPBeVB3Fam5lMxtUwMmDK5f/IBBS7a7p1qeUoxd/6CckXoxUdgsntq1Dh8xNW06maZbDQ=="], - - "@babel/preset-env/@babel/plugin-transform-class-properties": ["@babel/plugin-transform-class-properties@7.29.7", "", { "dependencies": { "@babel/helper-create-class-features-plugin": "^7.29.7", "@babel/helper-plugin-utils": "^7.29.7" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-GtcpjFvanPfzNQi3eTitsCqtRRmmqzpy/A+yhTR1HaZo1Ly3EA8ZXxlPyHdR8/IuRMYc3E4wdGBewB2QKQjAaA=="], - - "@babel/preset-env/@babel/plugin-transform-classes": ["@babel/plugin-transform-classes@7.29.7", "", { "dependencies": { "@babel/helper-annotate-as-pure": "^7.29.7", "@babel/helper-compilation-targets": "^7.29.7", "@babel/helper-globals": "^7.29.7", "@babel/helper-plugin-utils": "^7.29.7", "@babel/helper-replace-supers": "^7.29.7", "@babel/traverse": "^7.29.7" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-qV0OGGBVacduzQHE649JyCneOFI/maT+YKsO+K4Yi3xv2wTPNjM/W2o2gdzMwEAZz7fXNTHAe0NcSg30bIN69g=="], - - "@babel/preset-env/@babel/plugin-transform-nullish-coalescing-operator": ["@babel/plugin-transform-nullish-coalescing-operator@7.29.7", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.29.7" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-idmp1dFaekP9GbcMvG24Kvw2BfhFZjHnNJCkV4WuIY4PskJzwI3f1N5OdgYke38T7rftO6ERulFRn2cFeZwRkg=="], - - "@babel/preset-env/@babel/plugin-transform-optional-chaining": ["@babel/plugin-transform-optional-chaining@7.29.7", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.29.7", "@babel/helper-skip-transparent-expression-wrappers": "^7.29.7" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-6GM1dhvK3gNODkXcEcMCOLEDCLSoZ/sBbro2Ax8HURyasQ4NshagQixkRFdh5niI6E4gmA/jYI/4aT7rRos3ZQ=="], - - "@babel/preset-env/@babel/plugin-transform-shorthand-properties": ["@babel/plugin-transform-shorthand-properties@7.29.7", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.29.7" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-I+WYbGBAiCn7nA6xBrlgPH+MB7HWb4u8pv5S0Pv7OtwNvIFvCCb24YlttKEeUFVurfBCEaOTnuhlqsb7f0Z5Dg=="], - - "@babel/preset-env/@babel/plugin-transform-template-literals": ["@babel/plugin-transform-template-literals@7.29.7", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.29.7" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-NCSEJ4sLFU2gqAub45HYh4fus2yQ36rr6ei6vpU7NdoJqCpxvEG8E6eJpscGyXP3VHD2Ny+fSXr04k1hoUrFqA=="], - - "@babel/preset-env/@babel/plugin-transform-unicode-regex": ["@babel/plugin-transform-unicode-regex@7.29.7", "", { "dependencies": { "@babel/helper-create-regexp-features-plugin": "^7.29.7", "@babel/helper-plugin-utils": "^7.29.7" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-7D/x/23/d/3VqZ0QA+LGbZMlGwZjztBygSWWWsfTPoQ1oQ6Q1P6Mr3d0kk42XabyUVw+fha3LqdRsFqeKqvCyA=="], - "@babel/preset-env/semver": ["semver@6.3.1", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA=="], "@babel/preset-modules/@babel/helper-plugin-utils": ["@babel/helper-plugin-utils@7.28.6", "", {}, "sha512-S9gzZ/bz83GRysI7gAD4wPT/AI3uCnY+9xn+Mx/KPs2JwHJIz1W8PZkg2cqyt3RNOBM8ejcXhV6y8Og7ly/Dug=="], "@babel/preset-modules/@babel/types": ["@babel/types@7.29.0", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.28.5" } }, "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A=="], - "@babel/preset-typescript/@babel/plugin-transform-typescript": ["@babel/plugin-transform-typescript@7.29.7", "", { "dependencies": { "@babel/helper-annotate-as-pure": "^7.29.7", "@babel/helper-create-class-features-plugin": "^7.29.7", "@babel/helper-plugin-utils": "^7.29.7", "@babel/helper-skip-transparent-expression-wrappers": "^7.29.7", "@babel/plugin-syntax-typescript": "^7.29.7" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-jK52h8LaLc7JarhQV2ofeFMts4H7vnOXnqZNA6fYglBTZewRBE51KWt3BUltW1P+KoPsYkHoJeXePuz4zo2LMw=="], + "@babel/preset-typescript/@babel/plugin-syntax-jsx": ["@babel/plugin-syntax-jsx@7.29.7", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.29.7" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-TSu8+mHCoEaaCDEZ0I3+6mvTBYR4PCxQwf2z9/r5Tbztv6NaLR3B9thGTTxX2WGuGHJqRiAbKPeGTJ5XWXVg6A=="], - "@babel/traverse/@babel/helper-globals": ["@babel/helper-globals@7.29.7", "", {}, "sha512-3nQVUAtvkKH9zahfWgw96Jc/uFOmjACE1kQz82E2lqWmHBgjzbNlsC22nuQTfahmWeQtTq5nQ/4Nnd2A1wj4zA=="], + "@babel/preset-typescript/@babel/plugin-transform-typescript": ["@babel/plugin-transform-typescript@7.29.7", "", { "dependencies": { "@babel/helper-annotate-as-pure": "^7.29.7", "@babel/helper-create-class-features-plugin": "^7.29.7", "@babel/helper-plugin-utils": "^7.29.7", "@babel/helper-skip-transparent-expression-wrappers": "^7.29.7", "@babel/plugin-syntax-typescript": "^7.29.7" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-jK52h8LaLc7JarhQV2ofeFMts4H7vnOXnqZNA6fYglBTZewRBE51KWt3BUltW1P+KoPsYkHoJeXePuz4zo2LMw=="], "@inquirer/external-editor/iconv-lite": ["iconv-lite@0.7.2", "", { "dependencies": { "safer-buffer": ">= 2.1.2 < 3.0.0" } }, "sha512-im9DjEDQ55s9fL4EYzOAv0yMqmMBSZp6G0VvFyTMPKWxiSBHUj9NW/qqLmXUwXrrM7AvqSlTCfvqRb0cM8yYqw=="], @@ -3102,8 +3069,6 @@ "@radix-ui/react-primitive/@radix-ui/react-slot": ["@radix-ui/react-slot@1.2.3", "", { "dependencies": { "@radix-ui/react-compose-refs": "1.1.2" }, "peerDependencies": { "@types/react": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react"] }, "sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A=="], - "@react-native-community/cli/commander": ["commander@9.5.0", "", {}, "sha512-KRs7WVDKg86PWiuAqhDrAQnTXZKraVcCc6vFdL14qrZ/DcWwuRo7VoiYXalXO7S5GKpqYiVEwCbgFDfxNHKJBQ=="], - "@react-native-community/cli/execa": ["execa@5.1.1", "", { "dependencies": { "cross-spawn": "^7.0.3", "get-stream": "^6.0.0", "human-signals": "^2.1.0", "is-stream": "^2.0.0", "merge-stream": "^2.0.0", "npm-run-path": "^4.0.1", "onetime": "^5.1.2", "signal-exit": "^3.0.3", "strip-final-newline": "^2.0.0" } }, "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg=="], "@react-native-community/cli-clean/execa": ["execa@5.1.1", "", { "dependencies": { "cross-spawn": "^7.0.3", "get-stream": "^6.0.0", "human-signals": "^2.1.0", "is-stream": "^2.0.0", "merge-stream": "^2.0.0", "npm-run-path": "^4.0.1", "onetime": "^5.1.2", "signal-exit": "^3.0.3", "strip-final-newline": "^2.0.0" } }, "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg=="], @@ -3142,8 +3107,6 @@ "@react-native-harness/platform-apple/zod": ["zod@3.25.76", "", {}, "sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ=="], - "@react-native-harness/runtime/event-target-shim": ["event-target-shim@6.0.2", "", {}, "sha512-8q3LsZjRezbFZ2PN+uP+Q7pnHUMmAOziU2vA2OwoFaKIXxlxl38IylhSSgUorWu/rf4er67w0ikBqjBFk/pomA=="], - "@react-native-vector-icons/common/find-up": ["find-up@8.0.0", "", { "dependencies": { "locate-path": "^8.0.0", "unicorn-magic": "^0.3.0" } }, "sha512-JGG8pvDi2C+JxidYdIwQDyS/CgcrIdh18cvgxcBge3wSHRQOrooMD3GlFBcmMJAN9M42SAZjDp5zv1dglJjwww=="], "@react-native/babel-plugin-codegen/@babel/traverse": ["@babel/traverse@7.29.0", "", { "dependencies": { "@babel/code-frame": "^7.29.0", "@babel/generator": "^7.29.0", "@babel/helper-globals": "^7.28.0", "@babel/parser": "^7.29.0", "@babel/template": "^7.28.6", "@babel/types": "^7.29.0", "debug": "^4.3.1" } }, "sha512-4HPiQr0X7+waHfyXPZpWPfWL/J7dcN1mx9gL6WdQVMbPnF3+ZhSMs8tCxN7oHddJE9fhNE7+lxdnlyemKfJRuA=="], @@ -3156,6 +3119,10 @@ "@react-native/babel-preset/@babel/plugin-transform-block-scoping": ["@babel/plugin-transform-block-scoping@7.28.6", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.28.6" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-tt/7wOtBmwHPNMPu7ax4pdPz6shjFrmHDghvNC+FG9Qvj7D6mJcoRQIF5dy4njmxR941l6rgtvfSB2zX3VlUIw=="], + "@react-native/babel-preset/@babel/plugin-transform-class-properties": ["@babel/plugin-transform-class-properties@7.28.6", "", { "dependencies": { "@babel/helper-create-class-features-plugin": "^7.28.6", "@babel/helper-plugin-utils": "^7.28.6" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-dY2wS3I2G7D697VHndN91TJr8/AAfXQNt5ynCTI/MpxMsSzHp+52uNivYT5wCPax3whc47DR8Ba7cmlQMg24bw=="], + + "@react-native/babel-preset/@babel/plugin-transform-classes": ["@babel/plugin-transform-classes@7.28.6", "", { "dependencies": { "@babel/helper-annotate-as-pure": "^7.27.3", "@babel/helper-compilation-targets": "^7.28.6", "@babel/helper-globals": "^7.28.0", "@babel/helper-plugin-utils": "^7.28.6", "@babel/helper-replace-supers": "^7.28.6", "@babel/traverse": "^7.28.6" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-EF5KONAqC5zAqT783iMGuM2ZtmEBy+mJMOKl2BCvPZ2lVrwvXnB6o+OBWCS+CoeCCpVRF2sA2RBKUxvT8tQT5Q=="], + "@react-native/babel-preset/@babel/plugin-transform-destructuring": ["@babel/plugin-transform-destructuring@7.28.5", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.27.1", "@babel/traverse": "^7.28.5" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-Kl9Bc6D0zTUcFUvkNuQh4eGXPKKNDOJQXVyyM4ZAQPMveniJdxi8XMJwLo+xSoW3MIq81bD33lcUe9kZpl0MCw=="], "@react-native/babel-preset/@babel/plugin-transform-for-of": ["@babel/plugin-transform-for-of@7.27.1", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.27.1", "@babel/helper-skip-transparent-expression-wrappers": "^7.27.1" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-BfbWFFEJFQzLCQ5N8VocnCtA8J1CLkNTe2Ms2wocj75dd6VpiqS5Z5quTYcUoo4Yq+DN0rtikODccuv7RU81sw=="], @@ -3164,14 +3131,20 @@ "@react-native/babel-preset/@babel/plugin-transform-named-capturing-groups-regex": ["@babel/plugin-transform-named-capturing-groups-regex@7.29.0", "", { "dependencies": { "@babel/helper-create-regexp-features-plugin": "^7.28.5", "@babel/helper-plugin-utils": "^7.28.6" }, "peerDependencies": { "@babel/core": "^7.0.0" } }, "sha512-1CZQA5KNAD6ZYQLPw7oi5ewtDNxH/2vuCh+6SmvgDfhumForvs8a1o9n0UrEoBD8HU4djO2yWngTQlXl1NDVEQ=="], + "@react-native/babel-preset/@babel/plugin-transform-nullish-coalescing-operator": ["@babel/plugin-transform-nullish-coalescing-operator@7.28.6", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.28.6" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-3wKbRgmzYbw24mDJXT7N+ADXw8BC/imU9yo9c9X9NKaLF1fW+e5H1U5QjMUBe4Qo4Ox/o++IyUkl1sVCLgevKg=="], + "@react-native/babel-preset/@babel/plugin-transform-optional-catch-binding": ["@babel/plugin-transform-optional-catch-binding@7.28.6", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.28.6" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-R8ja/Pyrv0OGAvAXQhSTmWyPJPml+0TMqXlO5w+AsMEiwb2fg3WkOvob7UxFSL3OIttFSGSRFKQsOhJ/X6HQdQ=="], + "@react-native/babel-preset/@babel/plugin-transform-optional-chaining": ["@babel/plugin-transform-optional-chaining@7.28.6", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.28.6", "@babel/helper-skip-transparent-expression-wrappers": "^7.27.1" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-A4zobikRGJTsX9uqVFdafzGkqD30t26ck2LmOzAuLL8b2x6k3TIqRiT2xVvA9fNmFeTX484VpsdgmKNA0bS23w=="], + "@react-native/babel-preset/@babel/plugin-transform-private-methods": ["@babel/plugin-transform-private-methods@7.28.6", "", { "dependencies": { "@babel/helper-create-class-features-plugin": "^7.28.6", "@babel/helper-plugin-utils": "^7.28.6" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-piiuapX9CRv7+0st8lmuUlRSmX6mBcVeNQ1b4AYzJxfCMuBfB0vBXDiGSmm03pKJw1v6cZ8KSeM+oUnM6yAExg=="], "@react-native/babel-preset/@babel/plugin-transform-private-property-in-object": ["@babel/plugin-transform-private-property-in-object@7.28.6", "", { "dependencies": { "@babel/helper-annotate-as-pure": "^7.27.3", "@babel/helper-create-class-features-plugin": "^7.28.6", "@babel/helper-plugin-utils": "^7.28.6" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-b97jvNSOb5+ehyQmBpmhOCiUC5oVK4PMnpRvO7+ymFBoqYjeDHIU9jnrNUuwHOiL9RpGDoKBpSViarV+BU+eVA=="], "@react-native/babel-preset/@babel/plugin-transform-regenerator": ["@babel/plugin-transform-regenerator@7.29.0", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.28.6" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-FijqlqMA7DmRdg/aINBSs04y8XNTYw/lr1gJ2WsmBnnaNw1iS43EPkJW+zK7z65auG3AWRFXWj+NcTQwYptUog=="], + "@react-native/babel-preset/@babel/plugin-transform-unicode-regex": ["@babel/plugin-transform-unicode-regex@7.27.1", "", { "dependencies": { "@babel/helper-create-regexp-features-plugin": "^7.27.1", "@babel/helper-plugin-utils": "^7.27.1" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-xvINq24TRojDuyt6JGtHmkVkrfVV3FPT16uytxImLeBZqW3/H52yN+kM1MGuyPkIQxrzKwPHs5U/MP3qKyzkGw=="], + "@react-native/codegen/@babel/core": ["@babel/core@7.29.0", "", { "dependencies": { "@babel/code-frame": "^7.29.0", "@babel/generator": "^7.29.0", "@babel/helper-compilation-targets": "^7.28.6", "@babel/helper-module-transforms": "^7.28.6", "@babel/helpers": "^7.28.6", "@babel/parser": "^7.29.0", "@babel/template": "^7.28.6", "@babel/traverse": "^7.29.0", "@babel/types": "^7.29.0", "@jridgewell/remapping": "^2.3.5", "convert-source-map": "^2.0.0", "debug": "^4.1.0", "gensync": "^1.0.0-beta.2", "json5": "^2.2.3", "semver": "^6.3.1" } }, "sha512-CGOfOJqWjg2qW/Mb6zNsDm+u5vFQ8DxXfbM09z69p5Z6+mE1ikP2jUXw+j42Pf1XTYED2Rni5f95npYeuwMDQA=="], "@react-native/codegen/@babel/parser": ["@babel/parser@7.29.0", "", { "dependencies": { "@babel/types": "^7.29.0" }, "bin": "./bin/babel-parser.js" }, "sha512-IyDgFV5GeDUVX4YdF/3CPULtVGSXXMLh1xVIgdCgxApktqnQV0r7/8Nqthg+8YLGaAtdyIlo2qIdZrbCv4+7ww=="], @@ -3228,7 +3201,11 @@ "@unrs/resolver-binding-wasm32-wasi/@napi-rs/wasm-runtime": ["@napi-rs/wasm-runtime@0.2.12", "", { "dependencies": { "@emnapi/core": "^1.4.3", "@emnapi/runtime": "^1.4.3", "@tybys/wasm-util": "^0.10.0" } }, "sha512-ZVWUcfwY4E/yPitQJl481FjFo3K22D6qF0DuFH6Y/nbnE11GY5uguDxZMGXPQ8WQ0128MXQD7TnfHyK4oWoIJQ=="], - "accepts/negotiator": ["negotiator@1.0.0", "", {}, "sha512-8Ofs/AUQh8MaEcrlq5xOX0CQ9ypTF5dl78mjlMNfOK08fzpgTHQRQPBxcPlEtIw0yRpws+Zo/3r+5WRby7u3Gg=="], + "abort-controller/event-target-shim": ["event-target-shim@5.0.1", "", {}, "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ=="], + + "accepts/mime-types": ["mime-types@2.1.35", "", { "dependencies": { "mime-db": "1.52.0" } }, "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw=="], + + "accepts/negotiator": ["negotiator@0.6.3", "", {}, "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg=="], "ansi-escapes/type-fest": ["type-fest@0.21.3", "", {}, "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w=="], @@ -3270,8 +3247,6 @@ "error-ex/is-arrayish": ["is-arrayish@0.2.1", "", {}, "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg=="], - "errorhandler/accepts": ["accepts@1.3.8", "", { "dependencies": { "mime-types": "~2.1.34", "negotiator": "0.6.3" } }, "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw=="], - "escodegen/source-map": ["source-map@0.6.1", "", {}, "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g=="], "finalhandler/debug": ["debug@2.6.9", "", { "dependencies": { "ms": "2.0.0" } }, "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA=="], @@ -3402,8 +3377,6 @@ "jest-snapshot/@babel/generator": ["@babel/generator@7.29.1", "", { "dependencies": { "@babel/parser": "^7.29.0", "@babel/types": "^7.29.0", "@jridgewell/gen-mapping": "^0.3.12", "@jridgewell/trace-mapping": "^0.3.28", "jsesc": "^3.0.2" } }, "sha512-qsaF+9Qcm2Qv8SRIMMscAvG4O3lJ0F1GuMo5HR/Bp02LopNgnZBC/EkbevHFeGs4ls/oPz9v+Bsmzbkbe+0dUw=="], - "jest-snapshot/@babel/plugin-syntax-jsx": ["@babel/plugin-syntax-jsx@7.28.6", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.28.6" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-wgEmr06G6sIpqr8YDwA2dSRTE3bJ+V0IfpzfSY3Lfgd7YWOaAdlykvJi13ZKBt8cZHfgH1IXN+CL656W3uUa4w=="], - "jest-snapshot/@babel/types": ["@babel/types@7.29.0", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.28.5" } }, "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A=="], "jest-snapshot/@jest/types": ["@jest/types@30.2.0", "", { "dependencies": { "@jest/pattern": "30.0.1", "@jest/schemas": "30.0.5", "@types/istanbul-lib-coverage": "^2.0.6", "@types/istanbul-reports": "^3.0.4", "@types/node": "*", "@types/yargs": "^17.0.33", "chalk": "^4.1.2" } }, "sha512-H9xg1/sfVvyfU7o3zMfBEjQ1gcsdeTMgqHoYdN79tuLqfTtuu7WckRA1R5whDwOzxaZAeMKTYWqP+WCAi0CHsg=="], @@ -3456,6 +3429,8 @@ "metro/@babel/types": ["@babel/types@7.29.0", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.28.5" } }, "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A=="], + "metro/accepts": ["accepts@2.0.0", "", { "dependencies": { "mime-types": "^3.0.0", "negotiator": "^1.0.0" } }, "sha512-5cvg6CtKwfgdmVqY1WIiXKc3Q1bkRqGLi+2W/6ao+6Y7gu/RCwRuAhGEzh5B4KlszSuTLgZYuqFqo5bImjNKng=="], + "metro/ci-info": ["ci-info@2.0.0", "", {}, "sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ=="], "metro/hermes-parser": ["hermes-parser@0.35.0", "", { "dependencies": { "hermes-estree": "0.35.0" } }, "sha512-9JLjeHxBx8T4CAsydZR49PNZUaix+WpQJwu9p2010lu+7Kwl6D/7wYFFJxoz+aXkaaClp9Zfg6W6/zVlSJORaA=="], @@ -3526,12 +3501,30 @@ "rc9/defu": ["defu@6.1.4", "", {}, "sha512-mEQCMmwJu317oSz8CwdIOdwf3xMif1ttiM8LTufzc3g6kR+9Pe236twL8j3IYT1F7GfRgGcW6MWxzZjLIkuHIg=="], + "react-native/commander": ["commander@12.1.0", "", {}, "sha512-Vw8qHK3bZM9y/P10u3Vib8o/DdkvA2OtPtZvD871QKjy74Wj1WSKFILMPRPSdUSx5RFK1arlJzEtA4PkFgnbuA=="], + "react-native/tinyglobby": ["tinyglobby@0.2.16", "", { "dependencies": { "fdir": "^6.5.0", "picomatch": "^4.0.4" } }, "sha512-pn99VhoACYR8nFHhxqix+uvsbXineAasWm5ojXoN8xEwK5Kd3/TrhNn1wByuD52UxWRLy8pu+kRMniEi6Eq9Zg=="], "react-native/yargs": ["yargs@17.7.2", "", { "dependencies": { "cliui": "^8.0.1", "escalade": "^3.1.1", "get-caller-file": "^2.0.5", "require-directory": "^2.1.1", "string-width": "^4.2.3", "y18n": "^5.0.5", "yargs-parser": "^21.1.1" } }, "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w=="], "react-native-vector-icons/yargs": ["yargs@16.2.0", "", { "dependencies": { "cliui": "^7.0.2", "escalade": "^3.1.1", "get-caller-file": "^2.0.5", "require-directory": "^2.1.1", "string-width": "^4.2.0", "y18n": "^5.0.5", "yargs-parser": "^20.2.2" } }, "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw=="], + "react-native-worklets/@babel/plugin-transform-arrow-functions": ["@babel/plugin-transform-arrow-functions@7.27.1", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.27.1" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-8Z4TGic6xW70FKThA5HYEKKyBpOOsucTOD1DjU3fZxDg+K3zBJcXMFnt/4yQiZnf5+MiOMSXQ9PaEK/Ilh1DeA=="], + + "react-native-worklets/@babel/plugin-transform-class-properties": ["@babel/plugin-transform-class-properties@7.28.6", "", { "dependencies": { "@babel/helper-create-class-features-plugin": "^7.28.6", "@babel/helper-plugin-utils": "^7.28.6" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-dY2wS3I2G7D697VHndN91TJr8/AAfXQNt5ynCTI/MpxMsSzHp+52uNivYT5wCPax3whc47DR8Ba7cmlQMg24bw=="], + + "react-native-worklets/@babel/plugin-transform-classes": ["@babel/plugin-transform-classes@7.28.6", "", { "dependencies": { "@babel/helper-annotate-as-pure": "^7.27.3", "@babel/helper-compilation-targets": "^7.28.6", "@babel/helper-globals": "^7.28.0", "@babel/helper-plugin-utils": "^7.28.6", "@babel/helper-replace-supers": "^7.28.6", "@babel/traverse": "^7.28.6" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-EF5KONAqC5zAqT783iMGuM2ZtmEBy+mJMOKl2BCvPZ2lVrwvXnB6o+OBWCS+CoeCCpVRF2sA2RBKUxvT8tQT5Q=="], + + "react-native-worklets/@babel/plugin-transform-nullish-coalescing-operator": ["@babel/plugin-transform-nullish-coalescing-operator@7.28.6", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.28.6" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-3wKbRgmzYbw24mDJXT7N+ADXw8BC/imU9yo9c9X9NKaLF1fW+e5H1U5QjMUBe4Qo4Ox/o++IyUkl1sVCLgevKg=="], + + "react-native-worklets/@babel/plugin-transform-optional-chaining": ["@babel/plugin-transform-optional-chaining@7.28.6", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.28.6", "@babel/helper-skip-transparent-expression-wrappers": "^7.27.1" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-A4zobikRGJTsX9uqVFdafzGkqD30t26ck2LmOzAuLL8b2x6k3TIqRiT2xVvA9fNmFeTX484VpsdgmKNA0bS23w=="], + + "react-native-worklets/@babel/plugin-transform-shorthand-properties": ["@babel/plugin-transform-shorthand-properties@7.27.1", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.27.1" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-N/wH1vcn4oYawbJ13Y/FxcQrWk63jhfNa7jef0ih7PHSIHX2LB7GWE1rkPrOnka9kwMxb6hMl19p7lidA+EHmQ=="], + + "react-native-worklets/@babel/plugin-transform-template-literals": ["@babel/plugin-transform-template-literals@7.27.1", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.27.1" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-fBJKiV7F2DxZUkg5EtHKXQdbsbURW3DZKQUWphDum0uRP6eHGGa/He9mc0mypL680pb+e/lDIthRohlv8NCHkg=="], + + "react-native-worklets/@babel/plugin-transform-unicode-regex": ["@babel/plugin-transform-unicode-regex@7.27.1", "", { "dependencies": { "@babel/helper-create-regexp-features-plugin": "^7.27.1", "@babel/helper-plugin-utils": "^7.27.1" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-xvINq24TRojDuyt6JGtHmkVkrfVV3FPT16uytxImLeBZqW3/H52yN+kM1MGuyPkIQxrzKwPHs5U/MP3qKyzkGw=="], + "react-reconciler/scheduler": ["scheduler@0.25.0", "", {}, "sha512-xFVuu11jh+xcO7JOAGJNOXld8/TcEHK/4CituBUeUb5hqxJLj9YuemAEuvm9gQ/+pgXYfbQuqAkiYu+u7YEsNA=="], "release-it/url-join": ["url-join@5.0.0", "", {}, "sha512-n2huDr9h9yzd6exQVnH/jU5mr+Pfx08LRXXZhkLLetAMESRj+anQsTAh940iMrIetKAmry9coFuZQ2jY8/p3WA=="], @@ -3596,19 +3589,7 @@ "wrap-ansi-cjs/string-width": ["string-width@4.2.3", "", { "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", "strip-ansi": "^6.0.1" } }, "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g=="], - "@babel/helper-annotate-as-pure/@babel/types/@babel/helper-string-parser": ["@babel/helper-string-parser@7.27.1", "", {}, "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA=="], - - "@babel/helper-annotate-as-pure/@babel/types/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], - - "@babel/helper-create-class-features-plugin/@babel/traverse/@babel/code-frame": ["@babel/code-frame@7.29.0", "", { "dependencies": { "@babel/helper-validator-identifier": "^7.28.5", "js-tokens": "^4.0.0", "picocolors": "^1.1.1" } }, "sha512-9NhCeYjq9+3uxgdtp20LSiJXJvN0FeCtNGpJxuMFZ1Kv3cWUNb6DOhJwUvcVCzKGR66cw4njwM6hrJLqgOwbcw=="], - - "@babel/helper-create-class-features-plugin/@babel/traverse/@babel/generator": ["@babel/generator@7.29.1", "", { "dependencies": { "@babel/parser": "^7.29.0", "@babel/types": "^7.29.0", "@jridgewell/gen-mapping": "^0.3.12", "@jridgewell/trace-mapping": "^0.3.28", "jsesc": "^3.0.2" } }, "sha512-qsaF+9Qcm2Qv8SRIMMscAvG4O3lJ0F1GuMo5HR/Bp02LopNgnZBC/EkbevHFeGs4ls/oPz9v+Bsmzbkbe+0dUw=="], - - "@babel/helper-create-class-features-plugin/@babel/traverse/@babel/parser": ["@babel/parser@7.29.0", "", { "dependencies": { "@babel/types": "^7.29.0" }, "bin": "./bin/babel-parser.js" }, "sha512-IyDgFV5GeDUVX4YdF/3CPULtVGSXXMLh1xVIgdCgxApktqnQV0r7/8Nqthg+8YLGaAtdyIlo2qIdZrbCv4+7ww=="], - - "@babel/helper-create-class-features-plugin/@babel/traverse/@babel/template": ["@babel/template@7.28.6", "", { "dependencies": { "@babel/code-frame": "^7.28.6", "@babel/parser": "^7.28.6", "@babel/types": "^7.28.6" } }, "sha512-YA6Ma2KsCdGb+WC6UpBVFJGXL58MDA6oyONbjyF/+5sBgxY/dwkhLogbMT2GXXyU84/IhRw/2D1Os1B/giz+BQ=="], - - "@babel/helper-create-class-features-plugin/@babel/traverse/@babel/types": ["@babel/types@7.29.0", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.28.5" } }, "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A=="], + "@babel/helper-create-regexp-features-plugin/@babel/helper-annotate-as-pure/@babel/types": ["@babel/types@7.29.0", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.28.5" } }, "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A=="], "@babel/helper-define-polyfill-provider/@babel/helper-compilation-targets/@babel/compat-data": ["@babel/compat-data@7.29.0", "", {}, "sha512-T1NCJqT/j9+cn8fvkt7jtwbLBfLC/1y1c7NtCeXFRgzGTsafi68MRv8yzkYSapBnFA6L3U2VSc02ciDzoAJhJg=="], @@ -3618,156 +3599,50 @@ "@babel/helper-define-polyfill-provider/@babel/helper-compilation-targets/semver": ["semver@6.3.1", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA=="], - "@babel/helper-member-expression-to-functions/@babel/traverse/@babel/code-frame": ["@babel/code-frame@7.29.0", "", { "dependencies": { "@babel/helper-validator-identifier": "^7.28.5", "js-tokens": "^4.0.0", "picocolors": "^1.1.1" } }, "sha512-9NhCeYjq9+3uxgdtp20LSiJXJvN0FeCtNGpJxuMFZ1Kv3cWUNb6DOhJwUvcVCzKGR66cw4njwM6hrJLqgOwbcw=="], - - "@babel/helper-member-expression-to-functions/@babel/traverse/@babel/generator": ["@babel/generator@7.29.1", "", { "dependencies": { "@babel/parser": "^7.29.0", "@babel/types": "^7.29.0", "@jridgewell/gen-mapping": "^0.3.12", "@jridgewell/trace-mapping": "^0.3.28", "jsesc": "^3.0.2" } }, "sha512-qsaF+9Qcm2Qv8SRIMMscAvG4O3lJ0F1GuMo5HR/Bp02LopNgnZBC/EkbevHFeGs4ls/oPz9v+Bsmzbkbe+0dUw=="], - - "@babel/helper-member-expression-to-functions/@babel/traverse/@babel/parser": ["@babel/parser@7.29.0", "", { "dependencies": { "@babel/types": "^7.29.0" }, "bin": "./bin/babel-parser.js" }, "sha512-IyDgFV5GeDUVX4YdF/3CPULtVGSXXMLh1xVIgdCgxApktqnQV0r7/8Nqthg+8YLGaAtdyIlo2qIdZrbCv4+7ww=="], - - "@babel/helper-member-expression-to-functions/@babel/traverse/@babel/template": ["@babel/template@7.28.6", "", { "dependencies": { "@babel/code-frame": "^7.28.6", "@babel/parser": "^7.28.6", "@babel/types": "^7.28.6" } }, "sha512-YA6Ma2KsCdGb+WC6UpBVFJGXL58MDA6oyONbjyF/+5sBgxY/dwkhLogbMT2GXXyU84/IhRw/2D1Os1B/giz+BQ=="], - - "@babel/helper-member-expression-to-functions/@babel/types/@babel/helper-string-parser": ["@babel/helper-string-parser@7.27.1", "", {}, "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA=="], - - "@babel/helper-member-expression-to-functions/@babel/types/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], - - "@babel/helper-optimise-call-expression/@babel/types/@babel/helper-string-parser": ["@babel/helper-string-parser@7.27.1", "", {}, "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA=="], - - "@babel/helper-optimise-call-expression/@babel/types/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], - - "@babel/helper-replace-supers/@babel/traverse/@babel/code-frame": ["@babel/code-frame@7.29.0", "", { "dependencies": { "@babel/helper-validator-identifier": "^7.28.5", "js-tokens": "^4.0.0", "picocolors": "^1.1.1" } }, "sha512-9NhCeYjq9+3uxgdtp20LSiJXJvN0FeCtNGpJxuMFZ1Kv3cWUNb6DOhJwUvcVCzKGR66cw4njwM6hrJLqgOwbcw=="], - - "@babel/helper-replace-supers/@babel/traverse/@babel/generator": ["@babel/generator@7.29.1", "", { "dependencies": { "@babel/parser": "^7.29.0", "@babel/types": "^7.29.0", "@jridgewell/gen-mapping": "^0.3.12", "@jridgewell/trace-mapping": "^0.3.28", "jsesc": "^3.0.2" } }, "sha512-qsaF+9Qcm2Qv8SRIMMscAvG4O3lJ0F1GuMo5HR/Bp02LopNgnZBC/EkbevHFeGs4ls/oPz9v+Bsmzbkbe+0dUw=="], - - "@babel/helper-replace-supers/@babel/traverse/@babel/parser": ["@babel/parser@7.29.0", "", { "dependencies": { "@babel/types": "^7.29.0" }, "bin": "./bin/babel-parser.js" }, "sha512-IyDgFV5GeDUVX4YdF/3CPULtVGSXXMLh1xVIgdCgxApktqnQV0r7/8Nqthg+8YLGaAtdyIlo2qIdZrbCv4+7ww=="], - - "@babel/helper-replace-supers/@babel/traverse/@babel/template": ["@babel/template@7.28.6", "", { "dependencies": { "@babel/code-frame": "^7.28.6", "@babel/parser": "^7.28.6", "@babel/types": "^7.28.6" } }, "sha512-YA6Ma2KsCdGb+WC6UpBVFJGXL58MDA6oyONbjyF/+5sBgxY/dwkhLogbMT2GXXyU84/IhRw/2D1Os1B/giz+BQ=="], - - "@babel/helper-replace-supers/@babel/traverse/@babel/types": ["@babel/types@7.29.0", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.28.5" } }, "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A=="], - - "@babel/helper-skip-transparent-expression-wrappers/@babel/traverse/@babel/code-frame": ["@babel/code-frame@7.29.0", "", { "dependencies": { "@babel/helper-validator-identifier": "^7.28.5", "js-tokens": "^4.0.0", "picocolors": "^1.1.1" } }, "sha512-9NhCeYjq9+3uxgdtp20LSiJXJvN0FeCtNGpJxuMFZ1Kv3cWUNb6DOhJwUvcVCzKGR66cw4njwM6hrJLqgOwbcw=="], - - "@babel/helper-skip-transparent-expression-wrappers/@babel/traverse/@babel/generator": ["@babel/generator@7.29.1", "", { "dependencies": { "@babel/parser": "^7.29.0", "@babel/types": "^7.29.0", "@jridgewell/gen-mapping": "^0.3.12", "@jridgewell/trace-mapping": "^0.3.28", "jsesc": "^3.0.2" } }, "sha512-qsaF+9Qcm2Qv8SRIMMscAvG4O3lJ0F1GuMo5HR/Bp02LopNgnZBC/EkbevHFeGs4ls/oPz9v+Bsmzbkbe+0dUw=="], - - "@babel/helper-skip-transparent-expression-wrappers/@babel/traverse/@babel/parser": ["@babel/parser@7.29.0", "", { "dependencies": { "@babel/types": "^7.29.0" }, "bin": "./bin/babel-parser.js" }, "sha512-IyDgFV5GeDUVX4YdF/3CPULtVGSXXMLh1xVIgdCgxApktqnQV0r7/8Nqthg+8YLGaAtdyIlo2qIdZrbCv4+7ww=="], - - "@babel/helper-skip-transparent-expression-wrappers/@babel/traverse/@babel/template": ["@babel/template@7.28.6", "", { "dependencies": { "@babel/code-frame": "^7.28.6", "@babel/parser": "^7.28.6", "@babel/types": "^7.28.6" } }, "sha512-YA6Ma2KsCdGb+WC6UpBVFJGXL58MDA6oyONbjyF/+5sBgxY/dwkhLogbMT2GXXyU84/IhRw/2D1Os1B/giz+BQ=="], - - "@babel/helper-skip-transparent-expression-wrappers/@babel/types/@babel/helper-string-parser": ["@babel/helper-string-parser@7.27.1", "", {}, "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA=="], - - "@babel/helper-skip-transparent-expression-wrappers/@babel/types/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], - - "@babel/plugin-transform-class-static-block/@babel/helper-create-class-features-plugin/@babel/helper-annotate-as-pure": ["@babel/helper-annotate-as-pure@7.29.7", "", { "dependencies": { "@babel/types": "^7.29.7" } }, "sha512-OoK6239jHPuSQOoS0kfTVKn0b/rVTk0seKq4Gd2UMLtmOVLjDC0ki3e+c90Trqv2gMfvJFqkiljrr568+qddiw=="], - - "@babel/plugin-transform-class-static-block/@babel/helper-create-class-features-plugin/@babel/helper-member-expression-to-functions": ["@babel/helper-member-expression-to-functions@7.29.7", "", { "dependencies": { "@babel/traverse": "^7.29.7", "@babel/types": "^7.29.7" } }, "sha512-j+7JYmk1JYDtACIGj0QJqqWZjoUpMoEikQGADMaHgCMCSDqd2+P32rfcibUNrGOMWrlzK1WJBdxrB3JJQZwWtg=="], - - "@babel/plugin-transform-class-static-block/@babel/helper-create-class-features-plugin/@babel/helper-optimise-call-expression": ["@babel/helper-optimise-call-expression@7.29.7", "", { "dependencies": { "@babel/types": "^7.29.7" } }, "sha512-+kmGVjcT9RGYzoDwdwEqEvGgKe3BYq+O1iGzjFubaNgZHwYHP6lsF2Yghf4kEuv9BV7tYDZ913aBW9am6YKong=="], - - "@babel/plugin-transform-class-static-block/@babel/helper-create-class-features-plugin/@babel/helper-replace-supers": ["@babel/helper-replace-supers@7.29.7", "", { "dependencies": { "@babel/helper-member-expression-to-functions": "^7.29.7", "@babel/helper-optimise-call-expression": "^7.29.7", "@babel/traverse": "^7.29.7" }, "peerDependencies": { "@babel/core": "^7.0.0" } }, "sha512-atfGXWSeCiF4DnKZIfmJfQRkSw9b9gNNXR1kqKjbhG4pGYCOnkp8OcTB8E3NXjBu8NpheSnOeNKz8KT7UNFTmQ=="], - - "@babel/plugin-transform-class-static-block/@babel/helper-create-class-features-plugin/@babel/helper-skip-transparent-expression-wrappers": ["@babel/helper-skip-transparent-expression-wrappers@7.29.7", "", { "dependencies": { "@babel/traverse": "^7.29.7", "@babel/types": "^7.29.7" } }, "sha512-brcMGQaVzIeUb+6/bs1Av0f8YuNNjKY2JyvfRCsFuFsdKccEQ5Ges2y74D74NZ1Rz8lKJ9ksJkfqwQFJ/iNEyQ=="], - - "@babel/plugin-transform-class-static-block/@babel/helper-create-class-features-plugin/semver": ["semver@6.3.1", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA=="], - - "@babel/plugin-transform-classes/@babel/helper-compilation-targets/@babel/compat-data": ["@babel/compat-data@7.29.0", "", {}, "sha512-T1NCJqT/j9+cn8fvkt7jtwbLBfLC/1y1c7NtCeXFRgzGTsafi68MRv8yzkYSapBnFA6L3U2VSc02ciDzoAJhJg=="], - - "@babel/plugin-transform-classes/@babel/helper-compilation-targets/@babel/helper-validator-option": ["@babel/helper-validator-option@7.27.1", "", {}, "sha512-YvjJow9FxbhFFKDSuFnVCe2WxXk1zWc22fFePVNEaWJEu8IrZVlda6N0uHwzZrUM1il7NC9Mlp4MaJYbYd9JSg=="], - - "@babel/plugin-transform-classes/@babel/helper-compilation-targets/lru-cache": ["lru-cache@5.1.1", "", { "dependencies": { "yallist": "^3.0.2" } }, "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w=="], - - "@babel/plugin-transform-classes/@babel/helper-compilation-targets/semver": ["semver@6.3.1", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA=="], - - "@babel/plugin-transform-classes/@babel/traverse/@babel/code-frame": ["@babel/code-frame@7.29.0", "", { "dependencies": { "@babel/helper-validator-identifier": "^7.28.5", "js-tokens": "^4.0.0", "picocolors": "^1.1.1" } }, "sha512-9NhCeYjq9+3uxgdtp20LSiJXJvN0FeCtNGpJxuMFZ1Kv3cWUNb6DOhJwUvcVCzKGR66cw4njwM6hrJLqgOwbcw=="], - - "@babel/plugin-transform-classes/@babel/traverse/@babel/generator": ["@babel/generator@7.29.1", "", { "dependencies": { "@babel/parser": "^7.29.0", "@babel/types": "^7.29.0", "@jridgewell/gen-mapping": "^0.3.12", "@jridgewell/trace-mapping": "^0.3.28", "jsesc": "^3.0.2" } }, "sha512-qsaF+9Qcm2Qv8SRIMMscAvG4O3lJ0F1GuMo5HR/Bp02LopNgnZBC/EkbevHFeGs4ls/oPz9v+Bsmzbkbe+0dUw=="], - - "@babel/plugin-transform-classes/@babel/traverse/@babel/parser": ["@babel/parser@7.29.0", "", { "dependencies": { "@babel/types": "^7.29.0" }, "bin": "./bin/babel-parser.js" }, "sha512-IyDgFV5GeDUVX4YdF/3CPULtVGSXXMLh1xVIgdCgxApktqnQV0r7/8Nqthg+8YLGaAtdyIlo2qIdZrbCv4+7ww=="], - - "@babel/plugin-transform-classes/@babel/traverse/@babel/template": ["@babel/template@7.28.6", "", { "dependencies": { "@babel/code-frame": "^7.28.6", "@babel/parser": "^7.28.6", "@babel/types": "^7.28.6" } }, "sha512-YA6Ma2KsCdGb+WC6UpBVFJGXL58MDA6oyONbjyF/+5sBgxY/dwkhLogbMT2GXXyU84/IhRw/2D1Os1B/giz+BQ=="], - - "@babel/plugin-transform-classes/@babel/traverse/@babel/types": ["@babel/types@7.29.0", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.28.5" } }, "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A=="], - - "@babel/plugin-transform-dotall-regex/@babel/helper-create-regexp-features-plugin/@babel/helper-annotate-as-pure": ["@babel/helper-annotate-as-pure@7.29.7", "", { "dependencies": { "@babel/types": "^7.29.7" } }, "sha512-OoK6239jHPuSQOoS0kfTVKn0b/rVTk0seKq4Gd2UMLtmOVLjDC0ki3e+c90Trqv2gMfvJFqkiljrr568+qddiw=="], - "@babel/plugin-transform-dotall-regex/@babel/helper-create-regexp-features-plugin/semver": ["semver@6.3.1", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA=="], - "@babel/plugin-transform-duplicate-named-capturing-groups-regex/@babel/helper-create-regexp-features-plugin/@babel/helper-annotate-as-pure": ["@babel/helper-annotate-as-pure@7.29.7", "", { "dependencies": { "@babel/types": "^7.29.7" } }, "sha512-OoK6239jHPuSQOoS0kfTVKn0b/rVTk0seKq4Gd2UMLtmOVLjDC0ki3e+c90Trqv2gMfvJFqkiljrr568+qddiw=="], - "@babel/plugin-transform-duplicate-named-capturing-groups-regex/@babel/helper-create-regexp-features-plugin/semver": ["semver@6.3.1", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA=="], - "@babel/plugin-transform-named-capturing-groups-regex/@babel/helper-create-regexp-features-plugin/@babel/helper-annotate-as-pure": ["@babel/helper-annotate-as-pure@7.29.7", "", { "dependencies": { "@babel/types": "^7.29.7" } }, "sha512-OoK6239jHPuSQOoS0kfTVKn0b/rVTk0seKq4Gd2UMLtmOVLjDC0ki3e+c90Trqv2gMfvJFqkiljrr568+qddiw=="], - "@babel/plugin-transform-named-capturing-groups-regex/@babel/helper-create-regexp-features-plugin/semver": ["semver@6.3.1", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA=="], - "@babel/plugin-transform-object-super/@babel/helper-replace-supers/@babel/helper-member-expression-to-functions": ["@babel/helper-member-expression-to-functions@7.29.7", "", { "dependencies": { "@babel/traverse": "^7.29.7", "@babel/types": "^7.29.7" } }, "sha512-j+7JYmk1JYDtACIGj0QJqqWZjoUpMoEikQGADMaHgCMCSDqd2+P32rfcibUNrGOMWrlzK1WJBdxrB3JJQZwWtg=="], - - "@babel/plugin-transform-object-super/@babel/helper-replace-supers/@babel/helper-optimise-call-expression": ["@babel/helper-optimise-call-expression@7.29.7", "", { "dependencies": { "@babel/types": "^7.29.7" } }, "sha512-+kmGVjcT9RGYzoDwdwEqEvGgKe3BYq+O1iGzjFubaNgZHwYHP6lsF2Yghf4kEuv9BV7tYDZ913aBW9am6YKong=="], - - "@babel/plugin-transform-private-methods/@babel/helper-create-class-features-plugin/@babel/helper-annotate-as-pure": ["@babel/helper-annotate-as-pure@7.29.7", "", { "dependencies": { "@babel/types": "^7.29.7" } }, "sha512-OoK6239jHPuSQOoS0kfTVKn0b/rVTk0seKq4Gd2UMLtmOVLjDC0ki3e+c90Trqv2gMfvJFqkiljrr568+qddiw=="], - - "@babel/plugin-transform-private-methods/@babel/helper-create-class-features-plugin/@babel/helper-member-expression-to-functions": ["@babel/helper-member-expression-to-functions@7.29.7", "", { "dependencies": { "@babel/traverse": "^7.29.7", "@babel/types": "^7.29.7" } }, "sha512-j+7JYmk1JYDtACIGj0QJqqWZjoUpMoEikQGADMaHgCMCSDqd2+P32rfcibUNrGOMWrlzK1WJBdxrB3JJQZwWtg=="], - - "@babel/plugin-transform-private-methods/@babel/helper-create-class-features-plugin/@babel/helper-optimise-call-expression": ["@babel/helper-optimise-call-expression@7.29.7", "", { "dependencies": { "@babel/types": "^7.29.7" } }, "sha512-+kmGVjcT9RGYzoDwdwEqEvGgKe3BYq+O1iGzjFubaNgZHwYHP6lsF2Yghf4kEuv9BV7tYDZ913aBW9am6YKong=="], - - "@babel/plugin-transform-private-methods/@babel/helper-create-class-features-plugin/@babel/helper-replace-supers": ["@babel/helper-replace-supers@7.29.7", "", { "dependencies": { "@babel/helper-member-expression-to-functions": "^7.29.7", "@babel/helper-optimise-call-expression": "^7.29.7", "@babel/traverse": "^7.29.7" }, "peerDependencies": { "@babel/core": "^7.0.0" } }, "sha512-atfGXWSeCiF4DnKZIfmJfQRkSw9b9gNNXR1kqKjbhG4pGYCOnkp8OcTB8E3NXjBu8NpheSnOeNKz8KT7UNFTmQ=="], - - "@babel/plugin-transform-private-methods/@babel/helper-create-class-features-plugin/@babel/helper-skip-transparent-expression-wrappers": ["@babel/helper-skip-transparent-expression-wrappers@7.29.7", "", { "dependencies": { "@babel/traverse": "^7.29.7", "@babel/types": "^7.29.7" } }, "sha512-brcMGQaVzIeUb+6/bs1Av0f8YuNNjKY2JyvfRCsFuFsdKccEQ5Ges2y74D74NZ1Rz8lKJ9ksJkfqwQFJ/iNEyQ=="], - - "@babel/plugin-transform-private-methods/@babel/helper-create-class-features-plugin/semver": ["semver@6.3.1", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA=="], - - "@babel/plugin-transform-private-property-in-object/@babel/helper-create-class-features-plugin/@babel/helper-member-expression-to-functions": ["@babel/helper-member-expression-to-functions@7.29.7", "", { "dependencies": { "@babel/traverse": "^7.29.7", "@babel/types": "^7.29.7" } }, "sha512-j+7JYmk1JYDtACIGj0QJqqWZjoUpMoEikQGADMaHgCMCSDqd2+P32rfcibUNrGOMWrlzK1WJBdxrB3JJQZwWtg=="], - - "@babel/plugin-transform-private-property-in-object/@babel/helper-create-class-features-plugin/@babel/helper-optimise-call-expression": ["@babel/helper-optimise-call-expression@7.29.7", "", { "dependencies": { "@babel/types": "^7.29.7" } }, "sha512-+kmGVjcT9RGYzoDwdwEqEvGgKe3BYq+O1iGzjFubaNgZHwYHP6lsF2Yghf4kEuv9BV7tYDZ913aBW9am6YKong=="], - - "@babel/plugin-transform-private-property-in-object/@babel/helper-create-class-features-plugin/@babel/helper-replace-supers": ["@babel/helper-replace-supers@7.29.7", "", { "dependencies": { "@babel/helper-member-expression-to-functions": "^7.29.7", "@babel/helper-optimise-call-expression": "^7.29.7", "@babel/traverse": "^7.29.7" }, "peerDependencies": { "@babel/core": "^7.0.0" } }, "sha512-atfGXWSeCiF4DnKZIfmJfQRkSw9b9gNNXR1kqKjbhG4pGYCOnkp8OcTB8E3NXjBu8NpheSnOeNKz8KT7UNFTmQ=="], - - "@babel/plugin-transform-private-property-in-object/@babel/helper-create-class-features-plugin/@babel/helper-skip-transparent-expression-wrappers": ["@babel/helper-skip-transparent-expression-wrappers@7.29.7", "", { "dependencies": { "@babel/traverse": "^7.29.7", "@babel/types": "^7.29.7" } }, "sha512-brcMGQaVzIeUb+6/bs1Av0f8YuNNjKY2JyvfRCsFuFsdKccEQ5Ges2y74D74NZ1Rz8lKJ9ksJkfqwQFJ/iNEyQ=="], - - "@babel/plugin-transform-private-property-in-object/@babel/helper-create-class-features-plugin/semver": ["semver@6.3.1", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA=="], - "@babel/plugin-transform-react-jsx/@babel/helper-module-imports/@babel/traverse": ["@babel/traverse@7.29.0", "", { "dependencies": { "@babel/code-frame": "^7.29.0", "@babel/generator": "^7.29.0", "@babel/helper-globals": "^7.28.0", "@babel/parser": "^7.29.0", "@babel/template": "^7.28.6", "@babel/types": "^7.29.0", "debug": "^4.3.1" } }, "sha512-4HPiQr0X7+waHfyXPZpWPfWL/J7dcN1mx9gL6WdQVMbPnF3+ZhSMs8tCxN7oHddJE9fhNE7+lxdnlyemKfJRuA=="], "@babel/plugin-transform-react-jsx/@babel/types/@babel/helper-string-parser": ["@babel/helper-string-parser@7.27.1", "", {}, "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA=="], "@babel/plugin-transform-react-jsx/@babel/types/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], - "@babel/plugin-transform-regexp-modifiers/@babel/helper-create-regexp-features-plugin/@babel/helper-annotate-as-pure": ["@babel/helper-annotate-as-pure@7.29.7", "", { "dependencies": { "@babel/types": "^7.29.7" } }, "sha512-OoK6239jHPuSQOoS0kfTVKn0b/rVTk0seKq4Gd2UMLtmOVLjDC0ki3e+c90Trqv2gMfvJFqkiljrr568+qddiw=="], - "@babel/plugin-transform-regexp-modifiers/@babel/helper-create-regexp-features-plugin/semver": ["semver@6.3.1", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA=="], "@babel/plugin-transform-runtime/@babel/helper-module-imports/@babel/traverse": ["@babel/traverse@7.29.0", "", { "dependencies": { "@babel/code-frame": "^7.29.0", "@babel/generator": "^7.29.0", "@babel/helper-globals": "^7.28.0", "@babel/parser": "^7.29.0", "@babel/template": "^7.28.6", "@babel/types": "^7.29.0", "debug": "^4.3.1" } }, "sha512-4HPiQr0X7+waHfyXPZpWPfWL/J7dcN1mx9gL6WdQVMbPnF3+ZhSMs8tCxN7oHddJE9fhNE7+lxdnlyemKfJRuA=="], "@babel/plugin-transform-runtime/@babel/helper-module-imports/@babel/types": ["@babel/types@7.29.0", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.28.5" } }, "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A=="], - "@babel/plugin-transform-unicode-property-regex/@babel/helper-create-regexp-features-plugin/@babel/helper-annotate-as-pure": ["@babel/helper-annotate-as-pure@7.29.7", "", { "dependencies": { "@babel/types": "^7.29.7" } }, "sha512-OoK6239jHPuSQOoS0kfTVKn0b/rVTk0seKq4Gd2UMLtmOVLjDC0ki3e+c90Trqv2gMfvJFqkiljrr568+qddiw=="], + "@babel/plugin-transform-typescript/@babel/helper-annotate-as-pure/@babel/types": ["@babel/types@7.29.0", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.28.5" } }, "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A=="], - "@babel/plugin-transform-unicode-property-regex/@babel/helper-create-regexp-features-plugin/semver": ["semver@6.3.1", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA=="], + "@babel/plugin-transform-typescript/@babel/helper-create-class-features-plugin/@babel/helper-member-expression-to-functions": ["@babel/helper-member-expression-to-functions@7.28.5", "", { "dependencies": { "@babel/traverse": "^7.28.5", "@babel/types": "^7.28.5" } }, "sha512-cwM7SBRZcPCLgl8a7cY0soT1SptSzAlMH39vwiRpOQkJlh53r5hdHwLSCZpQdVLT39sZt+CRpNwYG4Y2v77atg=="], - "@babel/plugin-transform-unicode-sets-regex/@babel/helper-create-regexp-features-plugin/@babel/helper-annotate-as-pure": ["@babel/helper-annotate-as-pure@7.29.7", "", { "dependencies": { "@babel/types": "^7.29.7" } }, "sha512-OoK6239jHPuSQOoS0kfTVKn0b/rVTk0seKq4Gd2UMLtmOVLjDC0ki3e+c90Trqv2gMfvJFqkiljrr568+qddiw=="], + "@babel/plugin-transform-typescript/@babel/helper-create-class-features-plugin/@babel/helper-optimise-call-expression": ["@babel/helper-optimise-call-expression@7.27.1", "", { "dependencies": { "@babel/types": "^7.27.1" } }, "sha512-URMGH08NzYFhubNSGJrpUEphGKQwMQYBySzat5cAByY1/YgIRkULnIy3tAMeszlL/so2HbeilYloUmSpd7GdVw=="], - "@babel/plugin-transform-unicode-sets-regex/@babel/helper-create-regexp-features-plugin/semver": ["semver@6.3.1", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA=="], + "@babel/plugin-transform-typescript/@babel/helper-create-class-features-plugin/@babel/helper-replace-supers": ["@babel/helper-replace-supers@7.28.6", "", { "dependencies": { "@babel/helper-member-expression-to-functions": "^7.28.5", "@babel/helper-optimise-call-expression": "^7.27.1", "@babel/traverse": "^7.28.6" }, "peerDependencies": { "@babel/core": "^7.0.0" } }, "sha512-mq8e+laIk94/yFec3DxSjCRD2Z0TAjhVbEJY3UQrlwVo15Lmt7C2wAUbK4bjnTs4APkwsYLTahXRraQXhb1WCg=="], - "@babel/preset-env/@babel/plugin-transform-class-properties/@babel/helper-create-class-features-plugin": ["@babel/helper-create-class-features-plugin@7.29.7", "", { "dependencies": { "@babel/helper-annotate-as-pure": "^7.29.7", "@babel/helper-member-expression-to-functions": "^7.29.7", "@babel/helper-optimise-call-expression": "^7.29.7", "@babel/helper-replace-supers": "^7.29.7", "@babel/helper-skip-transparent-expression-wrappers": "^7.29.7", "@babel/traverse": "^7.29.7", "semver": "^6.3.1" }, "peerDependencies": { "@babel/core": "^7.0.0" } }, "sha512-IY3ZD9Tmooqr3TUhc3DUWxiuo8xx1DWLhd5M7hQ+ZWJamqM2BbalrBJb2MisSLoYorOj75U03qULCxQTY9r3hg=="], + "@babel/plugin-transform-typescript/@babel/helper-create-class-features-plugin/@babel/traverse": ["@babel/traverse@7.29.0", "", { "dependencies": { "@babel/code-frame": "^7.29.0", "@babel/generator": "^7.29.0", "@babel/helper-globals": "^7.28.0", "@babel/parser": "^7.29.0", "@babel/template": "^7.28.6", "@babel/types": "^7.29.0", "debug": "^4.3.1" } }, "sha512-4HPiQr0X7+waHfyXPZpWPfWL/J7dcN1mx9gL6WdQVMbPnF3+ZhSMs8tCxN7oHddJE9fhNE7+lxdnlyemKfJRuA=="], - "@babel/preset-env/@babel/plugin-transform-classes/@babel/helper-annotate-as-pure": ["@babel/helper-annotate-as-pure@7.29.7", "", { "dependencies": { "@babel/types": "^7.29.7" } }, "sha512-OoK6239jHPuSQOoS0kfTVKn0b/rVTk0seKq4Gd2UMLtmOVLjDC0ki3e+c90Trqv2gMfvJFqkiljrr568+qddiw=="], + "@babel/plugin-transform-typescript/@babel/helper-create-class-features-plugin/semver": ["semver@6.3.1", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA=="], - "@babel/preset-env/@babel/plugin-transform-classes/@babel/helper-globals": ["@babel/helper-globals@7.29.7", "", {}, "sha512-3nQVUAtvkKH9zahfWgw96Jc/uFOmjACE1kQz82E2lqWmHBgjzbNlsC22nuQTfahmWeQtTq5nQ/4Nnd2A1wj4zA=="], + "@babel/plugin-transform-typescript/@babel/helper-skip-transparent-expression-wrappers/@babel/traverse": ["@babel/traverse@7.29.0", "", { "dependencies": { "@babel/code-frame": "^7.29.0", "@babel/generator": "^7.29.0", "@babel/helper-globals": "^7.28.0", "@babel/parser": "^7.29.0", "@babel/template": "^7.28.6", "@babel/types": "^7.29.0", "debug": "^4.3.1" } }, "sha512-4HPiQr0X7+waHfyXPZpWPfWL/J7dcN1mx9gL6WdQVMbPnF3+ZhSMs8tCxN7oHddJE9fhNE7+lxdnlyemKfJRuA=="], - "@babel/preset-env/@babel/plugin-transform-classes/@babel/helper-replace-supers": ["@babel/helper-replace-supers@7.29.7", "", { "dependencies": { "@babel/helper-member-expression-to-functions": "^7.29.7", "@babel/helper-optimise-call-expression": "^7.29.7", "@babel/traverse": "^7.29.7" }, "peerDependencies": { "@babel/core": "^7.0.0" } }, "sha512-atfGXWSeCiF4DnKZIfmJfQRkSw9b9gNNXR1kqKjbhG4pGYCOnkp8OcTB8E3NXjBu8NpheSnOeNKz8KT7UNFTmQ=="], + "@babel/plugin-transform-typescript/@babel/helper-skip-transparent-expression-wrappers/@babel/types": ["@babel/types@7.29.0", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.28.5" } }, "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A=="], - "@babel/preset-env/@babel/plugin-transform-optional-chaining/@babel/helper-skip-transparent-expression-wrappers": ["@babel/helper-skip-transparent-expression-wrappers@7.29.7", "", { "dependencies": { "@babel/traverse": "^7.29.7", "@babel/types": "^7.29.7" } }, "sha512-brcMGQaVzIeUb+6/bs1Av0f8YuNNjKY2JyvfRCsFuFsdKccEQ5Ges2y74D74NZ1Rz8lKJ9ksJkfqwQFJ/iNEyQ=="], + "@babel/plugin-transform-unicode-property-regex/@babel/helper-create-regexp-features-plugin/semver": ["semver@6.3.1", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA=="], - "@babel/preset-env/@babel/plugin-transform-unicode-regex/@babel/helper-create-regexp-features-plugin": ["@babel/helper-create-regexp-features-plugin@7.29.7", "", { "dependencies": { "@babel/helper-annotate-as-pure": "^7.29.7", "regexpu-core": "^6.3.1", "semver": "^6.3.1" }, "peerDependencies": { "@babel/core": "^7.0.0" } }, "sha512-907Uymvqgg1dwUA+7IGwFAOSYzQOuzPXKNJ1yxzwPffzkYFg2q2eHi1fIOs6sXkG9NbIUMunnUlkYsfRFNvomg=="], + "@babel/plugin-transform-unicode-regex/@babel/helper-create-regexp-features-plugin/semver": ["semver@6.3.1", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA=="], + + "@babel/plugin-transform-unicode-sets-regex/@babel/helper-create-regexp-features-plugin/semver": ["semver@6.3.1", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA=="], "@babel/preset-modules/@babel/types/@babel/helper-string-parser": ["@babel/helper-string-parser@7.27.1", "", {}, "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA=="], "@babel/preset-modules/@babel/types/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], - "@babel/preset-typescript/@babel/plugin-transform-typescript/@babel/helper-annotate-as-pure": ["@babel/helper-annotate-as-pure@7.29.7", "", { "dependencies": { "@babel/types": "^7.29.7" } }, "sha512-OoK6239jHPuSQOoS0kfTVKn0b/rVTk0seKq4Gd2UMLtmOVLjDC0ki3e+c90Trqv2gMfvJFqkiljrr568+qddiw=="], - - "@babel/preset-typescript/@babel/plugin-transform-typescript/@babel/helper-create-class-features-plugin": ["@babel/helper-create-class-features-plugin@7.29.7", "", { "dependencies": { "@babel/helper-annotate-as-pure": "^7.29.7", "@babel/helper-member-expression-to-functions": "^7.29.7", "@babel/helper-optimise-call-expression": "^7.29.7", "@babel/helper-replace-supers": "^7.29.7", "@babel/helper-skip-transparent-expression-wrappers": "^7.29.7", "@babel/traverse": "^7.29.7", "semver": "^6.3.1" }, "peerDependencies": { "@babel/core": "^7.0.0" } }, "sha512-IY3ZD9Tmooqr3TUhc3DUWxiuo8xx1DWLhd5M7hQ+ZWJamqM2BbalrBJb2MisSLoYorOj75U03qULCxQTY9r3hg=="], - - "@babel/preset-typescript/@babel/plugin-transform-typescript/@babel/helper-skip-transparent-expression-wrappers": ["@babel/helper-skip-transparent-expression-wrappers@7.29.7", "", { "dependencies": { "@babel/traverse": "^7.29.7", "@babel/types": "^7.29.7" } }, "sha512-brcMGQaVzIeUb+6/bs1Av0f8YuNNjKY2JyvfRCsFuFsdKccEQ5Ges2y74D74NZ1Rz8lKJ9ksJkfqwQFJ/iNEyQ=="], - "@babel/preset-typescript/@babel/plugin-transform-typescript/@babel/plugin-syntax-typescript": ["@babel/plugin-syntax-typescript@7.29.7", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.29.7" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-ngr+82Sh0xMz25TPCZi+nC2iTzjfCdWS2ONXTp/PtSCHCgaCNBpdMqgvJ2ccdLlClVZ7sisIgB914j/JFe+RZA=="], "@isaacs/cliui/string-width/emoji-regex": ["emoji-regex@9.2.2", "", {}, "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg=="], @@ -4010,6 +3885,8 @@ "@react-native/babel-plugin-codegen/@babel/traverse/@babel/generator": ["@babel/generator@7.29.1", "", { "dependencies": { "@babel/parser": "^7.29.0", "@babel/types": "^7.29.0", "@jridgewell/gen-mapping": "^0.3.12", "@jridgewell/trace-mapping": "^0.3.28", "jsesc": "^3.0.2" } }, "sha512-qsaF+9Qcm2Qv8SRIMMscAvG4O3lJ0F1GuMo5HR/Bp02LopNgnZBC/EkbevHFeGs4ls/oPz9v+Bsmzbkbe+0dUw=="], + "@react-native/babel-plugin-codegen/@babel/traverse/@babel/helper-globals": ["@babel/helper-globals@7.28.0", "", {}, "sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw=="], + "@react-native/babel-plugin-codegen/@babel/traverse/@babel/parser": ["@babel/parser@7.29.0", "", { "dependencies": { "@babel/types": "^7.29.0" }, "bin": "./bin/babel-parser.js" }, "sha512-IyDgFV5GeDUVX4YdF/3CPULtVGSXXMLh1xVIgdCgxApktqnQV0r7/8Nqthg+8YLGaAtdyIlo2qIdZrbCv4+7ww=="], "@react-native/babel-plugin-codegen/@babel/traverse/@babel/template": ["@babel/template@7.28.6", "", { "dependencies": { "@babel/code-frame": "^7.28.6", "@babel/parser": "^7.28.6", "@babel/types": "^7.28.6" } }, "sha512-YA6Ma2KsCdGb+WC6UpBVFJGXL58MDA6oyONbjyF/+5sBgxY/dwkhLogbMT2GXXyU84/IhRw/2D1Os1B/giz+BQ=="], @@ -4050,26 +3927,58 @@ "@react-native/babel-preset/@babel/plugin-transform-block-scoping/@babel/helper-plugin-utils": ["@babel/helper-plugin-utils@7.28.6", "", {}, "sha512-S9gzZ/bz83GRysI7gAD4wPT/AI3uCnY+9xn+Mx/KPs2JwHJIz1W8PZkg2cqyt3RNOBM8ejcXhV6y8Og7ly/Dug=="], + "@react-native/babel-preset/@babel/plugin-transform-class-properties/@babel/helper-create-class-features-plugin": ["@babel/helper-create-class-features-plugin@7.28.6", "", { "dependencies": { "@babel/helper-annotate-as-pure": "^7.27.3", "@babel/helper-member-expression-to-functions": "^7.28.5", "@babel/helper-optimise-call-expression": "^7.27.1", "@babel/helper-replace-supers": "^7.28.6", "@babel/helper-skip-transparent-expression-wrappers": "^7.27.1", "@babel/traverse": "^7.28.6", "semver": "^6.3.1" }, "peerDependencies": { "@babel/core": "^7.0.0" } }, "sha512-dTOdvsjnG3xNT9Y0AUg1wAl38y+4Rl4sf9caSQZOXdNqVn+H+HbbJ4IyyHaIqNR6SW9oJpA/RuRjsjCw2IdIow=="], + + "@react-native/babel-preset/@babel/plugin-transform-class-properties/@babel/helper-plugin-utils": ["@babel/helper-plugin-utils@7.28.6", "", {}, "sha512-S9gzZ/bz83GRysI7gAD4wPT/AI3uCnY+9xn+Mx/KPs2JwHJIz1W8PZkg2cqyt3RNOBM8ejcXhV6y8Og7ly/Dug=="], + + "@react-native/babel-preset/@babel/plugin-transform-classes/@babel/helper-annotate-as-pure": ["@babel/helper-annotate-as-pure@7.27.3", "", { "dependencies": { "@babel/types": "^7.27.3" } }, "sha512-fXSwMQqitTGeHLBC08Eq5yXz2m37E4pJX1qAU1+2cNedz/ifv/bVXft90VeSav5nFO61EcNgwr0aJxbyPaWBPg=="], + + "@react-native/babel-preset/@babel/plugin-transform-classes/@babel/helper-compilation-targets": ["@babel/helper-compilation-targets@7.28.6", "", { "dependencies": { "@babel/compat-data": "^7.28.6", "@babel/helper-validator-option": "^7.27.1", "browserslist": "^4.24.0", "lru-cache": "^5.1.1", "semver": "^6.3.1" } }, "sha512-JYtls3hqi15fcx5GaSNL7SCTJ2MNmjrkHXg4FSpOA/grxK8KwyZ5bubHsCq8FXCkua6xhuaaBit+3b7+VZRfcA=="], + + "@react-native/babel-preset/@babel/plugin-transform-classes/@babel/helper-globals": ["@babel/helper-globals@7.28.0", "", {}, "sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw=="], + + "@react-native/babel-preset/@babel/plugin-transform-classes/@babel/helper-plugin-utils": ["@babel/helper-plugin-utils@7.28.6", "", {}, "sha512-S9gzZ/bz83GRysI7gAD4wPT/AI3uCnY+9xn+Mx/KPs2JwHJIz1W8PZkg2cqyt3RNOBM8ejcXhV6y8Og7ly/Dug=="], + + "@react-native/babel-preset/@babel/plugin-transform-classes/@babel/helper-replace-supers": ["@babel/helper-replace-supers@7.28.6", "", { "dependencies": { "@babel/helper-member-expression-to-functions": "^7.28.5", "@babel/helper-optimise-call-expression": "^7.27.1", "@babel/traverse": "^7.28.6" }, "peerDependencies": { "@babel/core": "^7.0.0" } }, "sha512-mq8e+laIk94/yFec3DxSjCRD2Z0TAjhVbEJY3UQrlwVo15Lmt7C2wAUbK4bjnTs4APkwsYLTahXRraQXhb1WCg=="], + + "@react-native/babel-preset/@babel/plugin-transform-classes/@babel/traverse": ["@babel/traverse@7.29.0", "", { "dependencies": { "@babel/code-frame": "^7.29.0", "@babel/generator": "^7.29.0", "@babel/helper-globals": "^7.28.0", "@babel/parser": "^7.29.0", "@babel/template": "^7.28.6", "@babel/types": "^7.29.0", "debug": "^4.3.1" } }, "sha512-4HPiQr0X7+waHfyXPZpWPfWL/J7dcN1mx9gL6WdQVMbPnF3+ZhSMs8tCxN7oHddJE9fhNE7+lxdnlyemKfJRuA=="], + "@react-native/babel-preset/@babel/plugin-transform-destructuring/@babel/helper-plugin-utils": ["@babel/helper-plugin-utils@7.28.6", "", {}, "sha512-S9gzZ/bz83GRysI7gAD4wPT/AI3uCnY+9xn+Mx/KPs2JwHJIz1W8PZkg2cqyt3RNOBM8ejcXhV6y8Og7ly/Dug=="], "@react-native/babel-preset/@babel/plugin-transform-destructuring/@babel/traverse": ["@babel/traverse@7.29.0", "", { "dependencies": { "@babel/code-frame": "^7.29.0", "@babel/generator": "^7.29.0", "@babel/helper-globals": "^7.28.0", "@babel/parser": "^7.29.0", "@babel/template": "^7.28.6", "@babel/types": "^7.29.0", "debug": "^4.3.1" } }, "sha512-4HPiQr0X7+waHfyXPZpWPfWL/J7dcN1mx9gL6WdQVMbPnF3+ZhSMs8tCxN7oHddJE9fhNE7+lxdnlyemKfJRuA=="], "@react-native/babel-preset/@babel/plugin-transform-for-of/@babel/helper-plugin-utils": ["@babel/helper-plugin-utils@7.28.6", "", {}, "sha512-S9gzZ/bz83GRysI7gAD4wPT/AI3uCnY+9xn+Mx/KPs2JwHJIz1W8PZkg2cqyt3RNOBM8ejcXhV6y8Og7ly/Dug=="], + "@react-native/babel-preset/@babel/plugin-transform-for-of/@babel/helper-skip-transparent-expression-wrappers": ["@babel/helper-skip-transparent-expression-wrappers@7.27.1", "", { "dependencies": { "@babel/traverse": "^7.27.1", "@babel/types": "^7.27.1" } }, "sha512-Tub4ZKEXqbPjXgWLl2+3JpQAYBJ8+ikpQ2Ocj/q/r0LwE3UhENh7EUabyHjz2kCEsrRY83ew2DQdHluuiDQFzg=="], + "@react-native/babel-preset/@babel/plugin-transform-modules-commonjs/@babel/helper-module-transforms": ["@babel/helper-module-transforms@7.28.6", "", { "dependencies": { "@babel/helper-module-imports": "^7.28.6", "@babel/helper-validator-identifier": "^7.28.5", "@babel/traverse": "^7.28.6" }, "peerDependencies": { "@babel/core": "^7.0.0" } }, "sha512-67oXFAYr2cDLDVGLXTEABjdBJZ6drElUSI7WKp70NrpyISso3plG9SAGEF6y7zbha/wOzUByWWTJvEDVNIUGcA=="], "@react-native/babel-preset/@babel/plugin-transform-modules-commonjs/@babel/helper-plugin-utils": ["@babel/helper-plugin-utils@7.28.6", "", {}, "sha512-S9gzZ/bz83GRysI7gAD4wPT/AI3uCnY+9xn+Mx/KPs2JwHJIz1W8PZkg2cqyt3RNOBM8ejcXhV6y8Og7ly/Dug=="], "@react-native/babel-preset/@babel/plugin-transform-named-capturing-groups-regex/@babel/helper-plugin-utils": ["@babel/helper-plugin-utils@7.28.6", "", {}, "sha512-S9gzZ/bz83GRysI7gAD4wPT/AI3uCnY+9xn+Mx/KPs2JwHJIz1W8PZkg2cqyt3RNOBM8ejcXhV6y8Og7ly/Dug=="], + "@react-native/babel-preset/@babel/plugin-transform-nullish-coalescing-operator/@babel/helper-plugin-utils": ["@babel/helper-plugin-utils@7.28.6", "", {}, "sha512-S9gzZ/bz83GRysI7gAD4wPT/AI3uCnY+9xn+Mx/KPs2JwHJIz1W8PZkg2cqyt3RNOBM8ejcXhV6y8Og7ly/Dug=="], + "@react-native/babel-preset/@babel/plugin-transform-optional-catch-binding/@babel/helper-plugin-utils": ["@babel/helper-plugin-utils@7.28.6", "", {}, "sha512-S9gzZ/bz83GRysI7gAD4wPT/AI3uCnY+9xn+Mx/KPs2JwHJIz1W8PZkg2cqyt3RNOBM8ejcXhV6y8Og7ly/Dug=="], + "@react-native/babel-preset/@babel/plugin-transform-optional-chaining/@babel/helper-plugin-utils": ["@babel/helper-plugin-utils@7.28.6", "", {}, "sha512-S9gzZ/bz83GRysI7gAD4wPT/AI3uCnY+9xn+Mx/KPs2JwHJIz1W8PZkg2cqyt3RNOBM8ejcXhV6y8Og7ly/Dug=="], + + "@react-native/babel-preset/@babel/plugin-transform-optional-chaining/@babel/helper-skip-transparent-expression-wrappers": ["@babel/helper-skip-transparent-expression-wrappers@7.27.1", "", { "dependencies": { "@babel/traverse": "^7.27.1", "@babel/types": "^7.27.1" } }, "sha512-Tub4ZKEXqbPjXgWLl2+3JpQAYBJ8+ikpQ2Ocj/q/r0LwE3UhENh7EUabyHjz2kCEsrRY83ew2DQdHluuiDQFzg=="], + + "@react-native/babel-preset/@babel/plugin-transform-private-methods/@babel/helper-create-class-features-plugin": ["@babel/helper-create-class-features-plugin@7.28.6", "", { "dependencies": { "@babel/helper-annotate-as-pure": "^7.27.3", "@babel/helper-member-expression-to-functions": "^7.28.5", "@babel/helper-optimise-call-expression": "^7.27.1", "@babel/helper-replace-supers": "^7.28.6", "@babel/helper-skip-transparent-expression-wrappers": "^7.27.1", "@babel/traverse": "^7.28.6", "semver": "^6.3.1" }, "peerDependencies": { "@babel/core": "^7.0.0" } }, "sha512-dTOdvsjnG3xNT9Y0AUg1wAl38y+4Rl4sf9caSQZOXdNqVn+H+HbbJ4IyyHaIqNR6SW9oJpA/RuRjsjCw2IdIow=="], + "@react-native/babel-preset/@babel/plugin-transform-private-methods/@babel/helper-plugin-utils": ["@babel/helper-plugin-utils@7.28.6", "", {}, "sha512-S9gzZ/bz83GRysI7gAD4wPT/AI3uCnY+9xn+Mx/KPs2JwHJIz1W8PZkg2cqyt3RNOBM8ejcXhV6y8Og7ly/Dug=="], + "@react-native/babel-preset/@babel/plugin-transform-private-property-in-object/@babel/helper-annotate-as-pure": ["@babel/helper-annotate-as-pure@7.27.3", "", { "dependencies": { "@babel/types": "^7.27.3" } }, "sha512-fXSwMQqitTGeHLBC08Eq5yXz2m37E4pJX1qAU1+2cNedz/ifv/bVXft90VeSav5nFO61EcNgwr0aJxbyPaWBPg=="], + + "@react-native/babel-preset/@babel/plugin-transform-private-property-in-object/@babel/helper-create-class-features-plugin": ["@babel/helper-create-class-features-plugin@7.28.6", "", { "dependencies": { "@babel/helper-annotate-as-pure": "^7.27.3", "@babel/helper-member-expression-to-functions": "^7.28.5", "@babel/helper-optimise-call-expression": "^7.27.1", "@babel/helper-replace-supers": "^7.28.6", "@babel/helper-skip-transparent-expression-wrappers": "^7.27.1", "@babel/traverse": "^7.28.6", "semver": "^6.3.1" }, "peerDependencies": { "@babel/core": "^7.0.0" } }, "sha512-dTOdvsjnG3xNT9Y0AUg1wAl38y+4Rl4sf9caSQZOXdNqVn+H+HbbJ4IyyHaIqNR6SW9oJpA/RuRjsjCw2IdIow=="], + "@react-native/babel-preset/@babel/plugin-transform-private-property-in-object/@babel/helper-plugin-utils": ["@babel/helper-plugin-utils@7.28.6", "", {}, "sha512-S9gzZ/bz83GRysI7gAD4wPT/AI3uCnY+9xn+Mx/KPs2JwHJIz1W8PZkg2cqyt3RNOBM8ejcXhV6y8Og7ly/Dug=="], "@react-native/babel-preset/@babel/plugin-transform-regenerator/@babel/helper-plugin-utils": ["@babel/helper-plugin-utils@7.28.6", "", {}, "sha512-S9gzZ/bz83GRysI7gAD4wPT/AI3uCnY+9xn+Mx/KPs2JwHJIz1W8PZkg2cqyt3RNOBM8ejcXhV6y8Og7ly/Dug=="], + "@react-native/babel-preset/@babel/plugin-transform-unicode-regex/@babel/helper-plugin-utils": ["@babel/helper-plugin-utils@7.28.6", "", {}, "sha512-S9gzZ/bz83GRysI7gAD4wPT/AI3uCnY+9xn+Mx/KPs2JwHJIz1W8PZkg2cqyt3RNOBM8ejcXhV6y8Og7ly/Dug=="], + "@react-native/codegen/@babel/core/@babel/code-frame": ["@babel/code-frame@7.29.0", "", { "dependencies": { "@babel/helper-validator-identifier": "^7.28.5", "js-tokens": "^4.0.0", "picocolors": "^1.1.1" } }, "sha512-9NhCeYjq9+3uxgdtp20LSiJXJvN0FeCtNGpJxuMFZ1Kv3cWUNb6DOhJwUvcVCzKGR66cw4njwM6hrJLqgOwbcw=="], "@react-native/codegen/@babel/core/@babel/generator": ["@babel/generator@7.29.1", "", { "dependencies": { "@babel/parser": "^7.29.0", "@babel/types": "^7.29.0", "@jridgewell/gen-mapping": "^0.3.12", "@jridgewell/trace-mapping": "^0.3.28", "jsesc": "^3.0.2" } }, "sha512-qsaF+9Qcm2Qv8SRIMMscAvG4O3lJ0F1GuMo5HR/Bp02LopNgnZBC/EkbevHFeGs4ls/oPz9v+Bsmzbkbe+0dUw=="], @@ -4144,6 +4053,8 @@ "@unrs/resolver-binding-wasm32-wasi/@napi-rs/wasm-runtime/@emnapi/core": ["@emnapi/core@1.8.1", "", { "dependencies": { "@emnapi/wasi-threads": "1.1.0", "tslib": "^2.4.0" } }, "sha512-AvT9QFpxK0Zd8J0jopedNm+w/2fIzvtPKPjqyw9jwvBaReTTqPBk9Hixaz7KbjimP+QNz605/XnjFcDAL2pqBg=="], + "accepts/mime-types/mime-db": ["mime-db@1.52.0", "", {}, "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg=="], + "ansi-fragments/strip-ansi/ansi-regex": ["ansi-regex@4.1.1", "", {}, "sha512-ILlv4k/3f6vfQ4OoP2AGvirOktlQ98ZEL1k9FaQjxa3L1abBgbuTDAdPOpvbGncC0BTVQrl+OM8xZGK6tWXt7g=="], "babel-jest/chalk/ansi-styles": ["ansi-styles@4.3.0", "", { "dependencies": { "color-convert": "^2.0.1" } }, "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg=="], @@ -4164,10 +4075,6 @@ "conventional-recommended-bump/@conventional-changelog/git-client/@simple-libs/stream-utils": ["@simple-libs/stream-utils@1.1.0", "", { "dependencies": { "@types/node": "^22.0.0" } }, "sha512-6rsHTjodIn/t90lv5snQjRPVtOosM7Vp0AKdrObymq45ojlgVwnpAqdc+0OBBrpEiy31zZ6/TKeIVqV1HwvnuQ=="], - "errorhandler/accepts/mime-types": ["mime-types@2.1.35", "", { "dependencies": { "mime-db": "1.52.0" } }, "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw=="], - - "errorhandler/accepts/negotiator": ["negotiator@0.6.3", "", {}, "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg=="], - "finalhandler/debug/ms": ["ms@2.0.0", "", {}, "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A=="], "fumadocs-typescript/shiki/@shikijs/core": ["@shikijs/core@4.0.2", "", { "dependencies": { "@shikijs/primitive": "4.0.2", "@shikijs/types": "4.0.2", "@shikijs/vscode-textmate": "^10.0.2", "@types/hast": "^3.0.4", "hast-util-to-html": "^9.0.5" } }, "sha512-hxT0YF4ExEqB8G/qFdtJvpmHXBYJ2lWW7qTHDarVkIudPFE6iCIrqdgWxGn5s+ppkGXI0aEGlibI0PAyzP3zlw=="], @@ -4364,8 +4271,6 @@ "jest-snapshot/@babel/generator/@babel/parser": ["@babel/parser@7.29.0", "", { "dependencies": { "@babel/types": "^7.29.0" }, "bin": "./bin/babel-parser.js" }, "sha512-IyDgFV5GeDUVX4YdF/3CPULtVGSXXMLh1xVIgdCgxApktqnQV0r7/8Nqthg+8YLGaAtdyIlo2qIdZrbCv4+7ww=="], - "jest-snapshot/@babel/plugin-syntax-jsx/@babel/helper-plugin-utils": ["@babel/helper-plugin-utils@7.28.6", "", {}, "sha512-S9gzZ/bz83GRysI7gAD4wPT/AI3uCnY+9xn+Mx/KPs2JwHJIz1W8PZkg2cqyt3RNOBM8ejcXhV6y8Og7ly/Dug=="], - "jest-snapshot/@babel/types/@babel/helper-string-parser": ["@babel/helper-string-parser@7.27.1", "", {}, "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA=="], "jest-snapshot/@babel/types/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], @@ -4442,6 +4347,8 @@ "metro-source-map/@babel/traverse/@babel/generator": ["@babel/generator@7.29.1", "", { "dependencies": { "@babel/parser": "^7.29.0", "@babel/types": "^7.29.0", "@jridgewell/gen-mapping": "^0.3.12", "@jridgewell/trace-mapping": "^0.3.28", "jsesc": "^3.0.2" } }, "sha512-qsaF+9Qcm2Qv8SRIMMscAvG4O3lJ0F1GuMo5HR/Bp02LopNgnZBC/EkbevHFeGs4ls/oPz9v+Bsmzbkbe+0dUw=="], + "metro-source-map/@babel/traverse/@babel/helper-globals": ["@babel/helper-globals@7.28.0", "", {}, "sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw=="], + "metro-source-map/@babel/traverse/@babel/parser": ["@babel/parser@7.29.0", "", { "dependencies": { "@babel/types": "^7.29.0" }, "bin": "./bin/babel-parser.js" }, "sha512-IyDgFV5GeDUVX4YdF/3CPULtVGSXXMLh1xVIgdCgxApktqnQV0r7/8Nqthg+8YLGaAtdyIlo2qIdZrbCv4+7ww=="], "metro-source-map/@babel/traverse/@babel/template": ["@babel/template@7.28.6", "", { "dependencies": { "@babel/code-frame": "^7.28.6", "@babel/parser": "^7.28.6", "@babel/types": "^7.28.6" } }, "sha512-YA6Ma2KsCdGb+WC6UpBVFJGXL58MDA6oyONbjyF/+5sBgxY/dwkhLogbMT2GXXyU84/IhRw/2D1Os1B/giz+BQ=="], @@ -4476,6 +4383,8 @@ "metro-transform-plugins/@babel/traverse/@babel/code-frame": ["@babel/code-frame@7.29.0", "", { "dependencies": { "@babel/helper-validator-identifier": "^7.28.5", "js-tokens": "^4.0.0", "picocolors": "^1.1.1" } }, "sha512-9NhCeYjq9+3uxgdtp20LSiJXJvN0FeCtNGpJxuMFZ1Kv3cWUNb6DOhJwUvcVCzKGR66cw4njwM6hrJLqgOwbcw=="], + "metro-transform-plugins/@babel/traverse/@babel/helper-globals": ["@babel/helper-globals@7.28.0", "", {}, "sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw=="], + "metro-transform-plugins/@babel/traverse/@babel/parser": ["@babel/parser@7.29.0", "", { "dependencies": { "@babel/types": "^7.29.0" }, "bin": "./bin/babel-parser.js" }, "sha512-IyDgFV5GeDUVX4YdF/3CPULtVGSXXMLh1xVIgdCgxApktqnQV0r7/8Nqthg+8YLGaAtdyIlo2qIdZrbCv4+7ww=="], "metro-transform-plugins/@babel/traverse/@babel/types": ["@babel/types@7.29.0", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.28.5" } }, "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A=="], @@ -4508,10 +4417,14 @@ "metro/@babel/core/semver": ["semver@6.3.1", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA=="], + "metro/@babel/traverse/@babel/helper-globals": ["@babel/helper-globals@7.28.0", "", {}, "sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw=="], + "metro/@babel/types/@babel/helper-string-parser": ["@babel/helper-string-parser@7.27.1", "", {}, "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA=="], "metro/@babel/types/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], + "metro/accepts/negotiator": ["negotiator@1.0.0", "", {}, "sha512-8Ofs/AUQh8MaEcrlq5xOX0CQ9ypTF5dl78mjlMNfOK08fzpgTHQRQPBxcPlEtIw0yRpws+Zo/3r+5WRby7u3Gg=="], + "metro/hermes-parser/hermes-estree": ["hermes-estree@0.35.0", "", {}, "sha512-xVx5Opwy8Oo1I5yGpVRhCvWL/iV3M+ylksSKVNlxxD90cpDpR/AR1jLYqK8HWihm065a6UI3HeyAmYzwS8NOOg=="], "metro/yargs/cliui": ["cliui@8.0.1", "", { "dependencies": { "string-width": "^4.2.0", "strip-ansi": "^6.0.1", "wrap-ansi": "^7.0.0" } }, "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ=="], @@ -4534,6 +4447,36 @@ "react-native-vector-icons/yargs/yargs-parser": ["yargs-parser@20.2.9", "", {}, "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w=="], + "react-native-worklets/@babel/plugin-transform-arrow-functions/@babel/helper-plugin-utils": ["@babel/helper-plugin-utils@7.28.6", "", {}, "sha512-S9gzZ/bz83GRysI7gAD4wPT/AI3uCnY+9xn+Mx/KPs2JwHJIz1W8PZkg2cqyt3RNOBM8ejcXhV6y8Og7ly/Dug=="], + + "react-native-worklets/@babel/plugin-transform-class-properties/@babel/helper-create-class-features-plugin": ["@babel/helper-create-class-features-plugin@7.28.6", "", { "dependencies": { "@babel/helper-annotate-as-pure": "^7.27.3", "@babel/helper-member-expression-to-functions": "^7.28.5", "@babel/helper-optimise-call-expression": "^7.27.1", "@babel/helper-replace-supers": "^7.28.6", "@babel/helper-skip-transparent-expression-wrappers": "^7.27.1", "@babel/traverse": "^7.28.6", "semver": "^6.3.1" }, "peerDependencies": { "@babel/core": "^7.0.0" } }, "sha512-dTOdvsjnG3xNT9Y0AUg1wAl38y+4Rl4sf9caSQZOXdNqVn+H+HbbJ4IyyHaIqNR6SW9oJpA/RuRjsjCw2IdIow=="], + + "react-native-worklets/@babel/plugin-transform-class-properties/@babel/helper-plugin-utils": ["@babel/helper-plugin-utils@7.28.6", "", {}, "sha512-S9gzZ/bz83GRysI7gAD4wPT/AI3uCnY+9xn+Mx/KPs2JwHJIz1W8PZkg2cqyt3RNOBM8ejcXhV6y8Og7ly/Dug=="], + + "react-native-worklets/@babel/plugin-transform-classes/@babel/helper-annotate-as-pure": ["@babel/helper-annotate-as-pure@7.27.3", "", { "dependencies": { "@babel/types": "^7.27.3" } }, "sha512-fXSwMQqitTGeHLBC08Eq5yXz2m37E4pJX1qAU1+2cNedz/ifv/bVXft90VeSav5nFO61EcNgwr0aJxbyPaWBPg=="], + + "react-native-worklets/@babel/plugin-transform-classes/@babel/helper-compilation-targets": ["@babel/helper-compilation-targets@7.28.6", "", { "dependencies": { "@babel/compat-data": "^7.28.6", "@babel/helper-validator-option": "^7.27.1", "browserslist": "^4.24.0", "lru-cache": "^5.1.1", "semver": "^6.3.1" } }, "sha512-JYtls3hqi15fcx5GaSNL7SCTJ2MNmjrkHXg4FSpOA/grxK8KwyZ5bubHsCq8FXCkua6xhuaaBit+3b7+VZRfcA=="], + + "react-native-worklets/@babel/plugin-transform-classes/@babel/helper-globals": ["@babel/helper-globals@7.28.0", "", {}, "sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw=="], + + "react-native-worklets/@babel/plugin-transform-classes/@babel/helper-plugin-utils": ["@babel/helper-plugin-utils@7.28.6", "", {}, "sha512-S9gzZ/bz83GRysI7gAD4wPT/AI3uCnY+9xn+Mx/KPs2JwHJIz1W8PZkg2cqyt3RNOBM8ejcXhV6y8Og7ly/Dug=="], + + "react-native-worklets/@babel/plugin-transform-classes/@babel/helper-replace-supers": ["@babel/helper-replace-supers@7.28.6", "", { "dependencies": { "@babel/helper-member-expression-to-functions": "^7.28.5", "@babel/helper-optimise-call-expression": "^7.27.1", "@babel/traverse": "^7.28.6" }, "peerDependencies": { "@babel/core": "^7.0.0" } }, "sha512-mq8e+laIk94/yFec3DxSjCRD2Z0TAjhVbEJY3UQrlwVo15Lmt7C2wAUbK4bjnTs4APkwsYLTahXRraQXhb1WCg=="], + + "react-native-worklets/@babel/plugin-transform-classes/@babel/traverse": ["@babel/traverse@7.29.0", "", { "dependencies": { "@babel/code-frame": "^7.29.0", "@babel/generator": "^7.29.0", "@babel/helper-globals": "^7.28.0", "@babel/parser": "^7.29.0", "@babel/template": "^7.28.6", "@babel/types": "^7.29.0", "debug": "^4.3.1" } }, "sha512-4HPiQr0X7+waHfyXPZpWPfWL/J7dcN1mx9gL6WdQVMbPnF3+ZhSMs8tCxN7oHddJE9fhNE7+lxdnlyemKfJRuA=="], + + "react-native-worklets/@babel/plugin-transform-nullish-coalescing-operator/@babel/helper-plugin-utils": ["@babel/helper-plugin-utils@7.28.6", "", {}, "sha512-S9gzZ/bz83GRysI7gAD4wPT/AI3uCnY+9xn+Mx/KPs2JwHJIz1W8PZkg2cqyt3RNOBM8ejcXhV6y8Og7ly/Dug=="], + + "react-native-worklets/@babel/plugin-transform-optional-chaining/@babel/helper-plugin-utils": ["@babel/helper-plugin-utils@7.28.6", "", {}, "sha512-S9gzZ/bz83GRysI7gAD4wPT/AI3uCnY+9xn+Mx/KPs2JwHJIz1W8PZkg2cqyt3RNOBM8ejcXhV6y8Og7ly/Dug=="], + + "react-native-worklets/@babel/plugin-transform-optional-chaining/@babel/helper-skip-transparent-expression-wrappers": ["@babel/helper-skip-transparent-expression-wrappers@7.27.1", "", { "dependencies": { "@babel/traverse": "^7.27.1", "@babel/types": "^7.27.1" } }, "sha512-Tub4ZKEXqbPjXgWLl2+3JpQAYBJ8+ikpQ2Ocj/q/r0LwE3UhENh7EUabyHjz2kCEsrRY83ew2DQdHluuiDQFzg=="], + + "react-native-worklets/@babel/plugin-transform-shorthand-properties/@babel/helper-plugin-utils": ["@babel/helper-plugin-utils@7.28.6", "", {}, "sha512-S9gzZ/bz83GRysI7gAD4wPT/AI3uCnY+9xn+Mx/KPs2JwHJIz1W8PZkg2cqyt3RNOBM8ejcXhV6y8Og7ly/Dug=="], + + "react-native-worklets/@babel/plugin-transform-template-literals/@babel/helper-plugin-utils": ["@babel/helper-plugin-utils@7.28.6", "", {}, "sha512-S9gzZ/bz83GRysI7gAD4wPT/AI3uCnY+9xn+Mx/KPs2JwHJIz1W8PZkg2cqyt3RNOBM8ejcXhV6y8Og7ly/Dug=="], + + "react-native-worklets/@babel/plugin-transform-unicode-regex/@babel/helper-plugin-utils": ["@babel/helper-plugin-utils@7.28.6", "", {}, "sha512-S9gzZ/bz83GRysI7gAD4wPT/AI3uCnY+9xn+Mx/KPs2JwHJIz1W8PZkg2cqyt3RNOBM8ejcXhV6y8Og7ly/Dug=="], + "react-native/yargs/cliui": ["cliui@8.0.1", "", { "dependencies": { "string-width": "^4.2.0", "strip-ansi": "^6.0.1", "wrap-ansi": "^7.0.0" } }, "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ=="], "react-native/yargs/string-width": ["string-width@4.2.3", "", { "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", "strip-ansi": "^6.0.1" } }, "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g=="], @@ -4608,32 +4551,16 @@ "wrap-ansi/strip-ansi/ansi-regex": ["ansi-regex@6.2.2", "", {}, "sha512-Bq3SmSpyFHaWjPk8If9yc6svM8c56dB5BAtW4Qbw5jHTwwXXcTLoRMkpDJp6VL0XzlWaCHTXrkFURMYmD0sLqg=="], - "@babel/helper-create-class-features-plugin/@babel/traverse/@babel/code-frame/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], - - "@babel/helper-create-class-features-plugin/@babel/traverse/@babel/types/@babel/helper-string-parser": ["@babel/helper-string-parser@7.27.1", "", {}, "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA=="], - - "@babel/helper-create-class-features-plugin/@babel/traverse/@babel/types/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], - - "@babel/helper-member-expression-to-functions/@babel/traverse/@babel/code-frame/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], - - "@babel/helper-replace-supers/@babel/traverse/@babel/code-frame/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], - - "@babel/helper-replace-supers/@babel/traverse/@babel/types/@babel/helper-string-parser": ["@babel/helper-string-parser@7.27.1", "", {}, "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA=="], - - "@babel/helper-replace-supers/@babel/traverse/@babel/types/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], - - "@babel/helper-skip-transparent-expression-wrappers/@babel/traverse/@babel/code-frame/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], - - "@babel/plugin-transform-classes/@babel/traverse/@babel/code-frame/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], + "@babel/helper-create-regexp-features-plugin/@babel/helper-annotate-as-pure/@babel/types/@babel/helper-string-parser": ["@babel/helper-string-parser@7.27.1", "", {}, "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA=="], - "@babel/plugin-transform-classes/@babel/traverse/@babel/types/@babel/helper-string-parser": ["@babel/helper-string-parser@7.27.1", "", {}, "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA=="], - - "@babel/plugin-transform-classes/@babel/traverse/@babel/types/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], + "@babel/helper-create-regexp-features-plugin/@babel/helper-annotate-as-pure/@babel/types/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], "@babel/plugin-transform-react-jsx/@babel/helper-module-imports/@babel/traverse/@babel/code-frame": ["@babel/code-frame@7.29.0", "", { "dependencies": { "@babel/helper-validator-identifier": "^7.28.5", "js-tokens": "^4.0.0", "picocolors": "^1.1.1" } }, "sha512-9NhCeYjq9+3uxgdtp20LSiJXJvN0FeCtNGpJxuMFZ1Kv3cWUNb6DOhJwUvcVCzKGR66cw4njwM6hrJLqgOwbcw=="], "@babel/plugin-transform-react-jsx/@babel/helper-module-imports/@babel/traverse/@babel/generator": ["@babel/generator@7.29.1", "", { "dependencies": { "@babel/parser": "^7.29.0", "@babel/types": "^7.29.0", "@jridgewell/gen-mapping": "^0.3.12", "@jridgewell/trace-mapping": "^0.3.28", "jsesc": "^3.0.2" } }, "sha512-qsaF+9Qcm2Qv8SRIMMscAvG4O3lJ0F1GuMo5HR/Bp02LopNgnZBC/EkbevHFeGs4ls/oPz9v+Bsmzbkbe+0dUw=="], + "@babel/plugin-transform-react-jsx/@babel/helper-module-imports/@babel/traverse/@babel/helper-globals": ["@babel/helper-globals@7.28.0", "", {}, "sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw=="], + "@babel/plugin-transform-react-jsx/@babel/helper-module-imports/@babel/traverse/@babel/parser": ["@babel/parser@7.29.0", "", { "dependencies": { "@babel/types": "^7.29.0" }, "bin": "./bin/babel-parser.js" }, "sha512-IyDgFV5GeDUVX4YdF/3CPULtVGSXXMLh1xVIgdCgxApktqnQV0r7/8Nqthg+8YLGaAtdyIlo2qIdZrbCv4+7ww=="], "@babel/plugin-transform-react-jsx/@babel/helper-module-imports/@babel/traverse/@babel/template": ["@babel/template@7.28.6", "", { "dependencies": { "@babel/code-frame": "^7.28.6", "@babel/parser": "^7.28.6", "@babel/types": "^7.28.6" } }, "sha512-YA6Ma2KsCdGb+WC6UpBVFJGXL58MDA6oyONbjyF/+5sBgxY/dwkhLogbMT2GXXyU84/IhRw/2D1Os1B/giz+BQ=="], @@ -4642,6 +4569,8 @@ "@babel/plugin-transform-runtime/@babel/helper-module-imports/@babel/traverse/@babel/generator": ["@babel/generator@7.29.1", "", { "dependencies": { "@babel/parser": "^7.29.0", "@babel/types": "^7.29.0", "@jridgewell/gen-mapping": "^0.3.12", "@jridgewell/trace-mapping": "^0.3.28", "jsesc": "^3.0.2" } }, "sha512-qsaF+9Qcm2Qv8SRIMMscAvG4O3lJ0F1GuMo5HR/Bp02LopNgnZBC/EkbevHFeGs4ls/oPz9v+Bsmzbkbe+0dUw=="], + "@babel/plugin-transform-runtime/@babel/helper-module-imports/@babel/traverse/@babel/helper-globals": ["@babel/helper-globals@7.28.0", "", {}, "sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw=="], + "@babel/plugin-transform-runtime/@babel/helper-module-imports/@babel/traverse/@babel/parser": ["@babel/parser@7.29.0", "", { "dependencies": { "@babel/types": "^7.29.0" }, "bin": "./bin/babel-parser.js" }, "sha512-IyDgFV5GeDUVX4YdF/3CPULtVGSXXMLh1xVIgdCgxApktqnQV0r7/8Nqthg+8YLGaAtdyIlo2qIdZrbCv4+7ww=="], "@babel/plugin-transform-runtime/@babel/helper-module-imports/@babel/traverse/@babel/template": ["@babel/template@7.28.6", "", { "dependencies": { "@babel/code-frame": "^7.28.6", "@babel/parser": "^7.28.6", "@babel/types": "^7.28.6" } }, "sha512-YA6Ma2KsCdGb+WC6UpBVFJGXL58MDA6oyONbjyF/+5sBgxY/dwkhLogbMT2GXXyU84/IhRw/2D1Os1B/giz+BQ=="], @@ -4650,29 +4579,39 @@ "@babel/plugin-transform-runtime/@babel/helper-module-imports/@babel/types/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], - "@babel/preset-env/@babel/plugin-transform-class-properties/@babel/helper-create-class-features-plugin/@babel/helper-annotate-as-pure": ["@babel/helper-annotate-as-pure@7.29.7", "", { "dependencies": { "@babel/types": "^7.29.7" } }, "sha512-OoK6239jHPuSQOoS0kfTVKn0b/rVTk0seKq4Gd2UMLtmOVLjDC0ki3e+c90Trqv2gMfvJFqkiljrr568+qddiw=="], + "@babel/plugin-transform-typescript/@babel/helper-annotate-as-pure/@babel/types/@babel/helper-string-parser": ["@babel/helper-string-parser@7.27.1", "", {}, "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA=="], + + "@babel/plugin-transform-typescript/@babel/helper-annotate-as-pure/@babel/types/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], + + "@babel/plugin-transform-typescript/@babel/helper-create-class-features-plugin/@babel/helper-member-expression-to-functions/@babel/types": ["@babel/types@7.29.0", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.28.5" } }, "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A=="], + + "@babel/plugin-transform-typescript/@babel/helper-create-class-features-plugin/@babel/helper-optimise-call-expression/@babel/types": ["@babel/types@7.29.0", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.28.5" } }, "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A=="], + + "@babel/plugin-transform-typescript/@babel/helper-create-class-features-plugin/@babel/traverse/@babel/code-frame": ["@babel/code-frame@7.29.0", "", { "dependencies": { "@babel/helper-validator-identifier": "^7.28.5", "js-tokens": "^4.0.0", "picocolors": "^1.1.1" } }, "sha512-9NhCeYjq9+3uxgdtp20LSiJXJvN0FeCtNGpJxuMFZ1Kv3cWUNb6DOhJwUvcVCzKGR66cw4njwM6hrJLqgOwbcw=="], - "@babel/preset-env/@babel/plugin-transform-class-properties/@babel/helper-create-class-features-plugin/@babel/helper-member-expression-to-functions": ["@babel/helper-member-expression-to-functions@7.29.7", "", { "dependencies": { "@babel/traverse": "^7.29.7", "@babel/types": "^7.29.7" } }, "sha512-j+7JYmk1JYDtACIGj0QJqqWZjoUpMoEikQGADMaHgCMCSDqd2+P32rfcibUNrGOMWrlzK1WJBdxrB3JJQZwWtg=="], + "@babel/plugin-transform-typescript/@babel/helper-create-class-features-plugin/@babel/traverse/@babel/generator": ["@babel/generator@7.29.1", "", { "dependencies": { "@babel/parser": "^7.29.0", "@babel/types": "^7.29.0", "@jridgewell/gen-mapping": "^0.3.12", "@jridgewell/trace-mapping": "^0.3.28", "jsesc": "^3.0.2" } }, "sha512-qsaF+9Qcm2Qv8SRIMMscAvG4O3lJ0F1GuMo5HR/Bp02LopNgnZBC/EkbevHFeGs4ls/oPz9v+Bsmzbkbe+0dUw=="], - "@babel/preset-env/@babel/plugin-transform-class-properties/@babel/helper-create-class-features-plugin/@babel/helper-optimise-call-expression": ["@babel/helper-optimise-call-expression@7.29.7", "", { "dependencies": { "@babel/types": "^7.29.7" } }, "sha512-+kmGVjcT9RGYzoDwdwEqEvGgKe3BYq+O1iGzjFubaNgZHwYHP6lsF2Yghf4kEuv9BV7tYDZ913aBW9am6YKong=="], + "@babel/plugin-transform-typescript/@babel/helper-create-class-features-plugin/@babel/traverse/@babel/helper-globals": ["@babel/helper-globals@7.28.0", "", {}, "sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw=="], - "@babel/preset-env/@babel/plugin-transform-class-properties/@babel/helper-create-class-features-plugin/@babel/helper-replace-supers": ["@babel/helper-replace-supers@7.29.7", "", { "dependencies": { "@babel/helper-member-expression-to-functions": "^7.29.7", "@babel/helper-optimise-call-expression": "^7.29.7", "@babel/traverse": "^7.29.7" }, "peerDependencies": { "@babel/core": "^7.0.0" } }, "sha512-atfGXWSeCiF4DnKZIfmJfQRkSw9b9gNNXR1kqKjbhG4pGYCOnkp8OcTB8E3NXjBu8NpheSnOeNKz8KT7UNFTmQ=="], + "@babel/plugin-transform-typescript/@babel/helper-create-class-features-plugin/@babel/traverse/@babel/parser": ["@babel/parser@7.29.0", "", { "dependencies": { "@babel/types": "^7.29.0" }, "bin": "./bin/babel-parser.js" }, "sha512-IyDgFV5GeDUVX4YdF/3CPULtVGSXXMLh1xVIgdCgxApktqnQV0r7/8Nqthg+8YLGaAtdyIlo2qIdZrbCv4+7ww=="], - "@babel/preset-env/@babel/plugin-transform-class-properties/@babel/helper-create-class-features-plugin/@babel/helper-skip-transparent-expression-wrappers": ["@babel/helper-skip-transparent-expression-wrappers@7.29.7", "", { "dependencies": { "@babel/traverse": "^7.29.7", "@babel/types": "^7.29.7" } }, "sha512-brcMGQaVzIeUb+6/bs1Av0f8YuNNjKY2JyvfRCsFuFsdKccEQ5Ges2y74D74NZ1Rz8lKJ9ksJkfqwQFJ/iNEyQ=="], + "@babel/plugin-transform-typescript/@babel/helper-create-class-features-plugin/@babel/traverse/@babel/template": ["@babel/template@7.28.6", "", { "dependencies": { "@babel/code-frame": "^7.28.6", "@babel/parser": "^7.28.6", "@babel/types": "^7.28.6" } }, "sha512-YA6Ma2KsCdGb+WC6UpBVFJGXL58MDA6oyONbjyF/+5sBgxY/dwkhLogbMT2GXXyU84/IhRw/2D1Os1B/giz+BQ=="], - "@babel/preset-env/@babel/plugin-transform-classes/@babel/helper-replace-supers/@babel/helper-member-expression-to-functions": ["@babel/helper-member-expression-to-functions@7.29.7", "", { "dependencies": { "@babel/traverse": "^7.29.7", "@babel/types": "^7.29.7" } }, "sha512-j+7JYmk1JYDtACIGj0QJqqWZjoUpMoEikQGADMaHgCMCSDqd2+P32rfcibUNrGOMWrlzK1WJBdxrB3JJQZwWtg=="], + "@babel/plugin-transform-typescript/@babel/helper-create-class-features-plugin/@babel/traverse/@babel/types": ["@babel/types@7.29.0", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.28.5" } }, "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A=="], - "@babel/preset-env/@babel/plugin-transform-classes/@babel/helper-replace-supers/@babel/helper-optimise-call-expression": ["@babel/helper-optimise-call-expression@7.29.7", "", { "dependencies": { "@babel/types": "^7.29.7" } }, "sha512-+kmGVjcT9RGYzoDwdwEqEvGgKe3BYq+O1iGzjFubaNgZHwYHP6lsF2Yghf4kEuv9BV7tYDZ913aBW9am6YKong=="], + "@babel/plugin-transform-typescript/@babel/helper-skip-transparent-expression-wrappers/@babel/traverse/@babel/code-frame": ["@babel/code-frame@7.29.0", "", { "dependencies": { "@babel/helper-validator-identifier": "^7.28.5", "js-tokens": "^4.0.0", "picocolors": "^1.1.1" } }, "sha512-9NhCeYjq9+3uxgdtp20LSiJXJvN0FeCtNGpJxuMFZ1Kv3cWUNb6DOhJwUvcVCzKGR66cw4njwM6hrJLqgOwbcw=="], - "@babel/preset-env/@babel/plugin-transform-unicode-regex/@babel/helper-create-regexp-features-plugin/@babel/helper-annotate-as-pure": ["@babel/helper-annotate-as-pure@7.29.7", "", { "dependencies": { "@babel/types": "^7.29.7" } }, "sha512-OoK6239jHPuSQOoS0kfTVKn0b/rVTk0seKq4Gd2UMLtmOVLjDC0ki3e+c90Trqv2gMfvJFqkiljrr568+qddiw=="], + "@babel/plugin-transform-typescript/@babel/helper-skip-transparent-expression-wrappers/@babel/traverse/@babel/generator": ["@babel/generator@7.29.1", "", { "dependencies": { "@babel/parser": "^7.29.0", "@babel/types": "^7.29.0", "@jridgewell/gen-mapping": "^0.3.12", "@jridgewell/trace-mapping": "^0.3.28", "jsesc": "^3.0.2" } }, "sha512-qsaF+9Qcm2Qv8SRIMMscAvG4O3lJ0F1GuMo5HR/Bp02LopNgnZBC/EkbevHFeGs4ls/oPz9v+Bsmzbkbe+0dUw=="], - "@babel/preset-typescript/@babel/plugin-transform-typescript/@babel/helper-create-class-features-plugin/@babel/helper-member-expression-to-functions": ["@babel/helper-member-expression-to-functions@7.29.7", "", { "dependencies": { "@babel/traverse": "^7.29.7", "@babel/types": "^7.29.7" } }, "sha512-j+7JYmk1JYDtACIGj0QJqqWZjoUpMoEikQGADMaHgCMCSDqd2+P32rfcibUNrGOMWrlzK1WJBdxrB3JJQZwWtg=="], + "@babel/plugin-transform-typescript/@babel/helper-skip-transparent-expression-wrappers/@babel/traverse/@babel/helper-globals": ["@babel/helper-globals@7.28.0", "", {}, "sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw=="], - "@babel/preset-typescript/@babel/plugin-transform-typescript/@babel/helper-create-class-features-plugin/@babel/helper-optimise-call-expression": ["@babel/helper-optimise-call-expression@7.29.7", "", { "dependencies": { "@babel/types": "^7.29.7" } }, "sha512-+kmGVjcT9RGYzoDwdwEqEvGgKe3BYq+O1iGzjFubaNgZHwYHP6lsF2Yghf4kEuv9BV7tYDZ913aBW9am6YKong=="], + "@babel/plugin-transform-typescript/@babel/helper-skip-transparent-expression-wrappers/@babel/traverse/@babel/parser": ["@babel/parser@7.29.0", "", { "dependencies": { "@babel/types": "^7.29.0" }, "bin": "./bin/babel-parser.js" }, "sha512-IyDgFV5GeDUVX4YdF/3CPULtVGSXXMLh1xVIgdCgxApktqnQV0r7/8Nqthg+8YLGaAtdyIlo2qIdZrbCv4+7ww=="], - "@babel/preset-typescript/@babel/plugin-transform-typescript/@babel/helper-create-class-features-plugin/@babel/helper-replace-supers": ["@babel/helper-replace-supers@7.29.7", "", { "dependencies": { "@babel/helper-member-expression-to-functions": "^7.29.7", "@babel/helper-optimise-call-expression": "^7.29.7", "@babel/traverse": "^7.29.7" }, "peerDependencies": { "@babel/core": "^7.0.0" } }, "sha512-atfGXWSeCiF4DnKZIfmJfQRkSw9b9gNNXR1kqKjbhG4pGYCOnkp8OcTB8E3NXjBu8NpheSnOeNKz8KT7UNFTmQ=="], + "@babel/plugin-transform-typescript/@babel/helper-skip-transparent-expression-wrappers/@babel/traverse/@babel/template": ["@babel/template@7.28.6", "", { "dependencies": { "@babel/code-frame": "^7.28.6", "@babel/parser": "^7.28.6", "@babel/types": "^7.28.6" } }, "sha512-YA6Ma2KsCdGb+WC6UpBVFJGXL58MDA6oyONbjyF/+5sBgxY/dwkhLogbMT2GXXyU84/IhRw/2D1Os1B/giz+BQ=="], - "@babel/preset-typescript/@babel/plugin-transform-typescript/@babel/helper-create-class-features-plugin/semver": ["semver@6.3.1", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA=="], + "@babel/plugin-transform-typescript/@babel/helper-skip-transparent-expression-wrappers/@babel/types/@babel/helper-string-parser": ["@babel/helper-string-parser@7.27.1", "", {}, "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA=="], + + "@babel/plugin-transform-typescript/@babel/helper-skip-transparent-expression-wrappers/@babel/types/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], "@istanbuljs/load-nyc-config/find-up/locate-path/p-locate": ["p-locate@4.1.0", "", { "dependencies": { "p-limit": "^2.2.0" } }, "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A=="], @@ -4722,6 +4661,8 @@ "@jest/transform/@babel/core/@babel/helper-module-transforms/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], + "@jest/transform/@babel/core/@babel/traverse/@babel/helper-globals": ["@babel/helper-globals@7.28.0", "", {}, "sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw=="], + "@jest/transform/@babel/core/@babel/types/@babel/helper-string-parser": ["@babel/helper-string-parser@7.27.1", "", {}, "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA=="], "@jest/transform/@babel/core/@babel/types/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], @@ -4780,16 +4721,22 @@ "@react-native/babel-preset/@babel/core/@babel/helper-module-transforms/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], + "@react-native/babel-preset/@babel/core/@babel/traverse/@babel/helper-globals": ["@babel/helper-globals@7.28.0", "", {}, "sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw=="], + "@react-native/babel-preset/@babel/core/@babel/types/@babel/helper-string-parser": ["@babel/helper-string-parser@7.27.1", "", {}, "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA=="], "@react-native/babel-preset/@babel/core/@babel/types/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], + "@react-native/babel-preset/@babel/plugin-transform-async-generator-functions/@babel/helper-remap-async-to-generator/@babel/helper-annotate-as-pure": ["@babel/helper-annotate-as-pure@7.27.3", "", { "dependencies": { "@babel/types": "^7.27.3" } }, "sha512-fXSwMQqitTGeHLBC08Eq5yXz2m37E4pJX1qAU1+2cNedz/ifv/bVXft90VeSav5nFO61EcNgwr0aJxbyPaWBPg=="], + "@react-native/babel-preset/@babel/plugin-transform-async-generator-functions/@babel/helper-remap-async-to-generator/@babel/helper-wrap-function": ["@babel/helper-wrap-function@7.28.6", "", { "dependencies": { "@babel/template": "^7.28.6", "@babel/traverse": "^7.28.6", "@babel/types": "^7.28.6" } }, "sha512-z+PwLziMNBeSQJonizz2AGnndLsP2DeGHIxDAn+wdHOGuo4Fo1x1HBPPXeE9TAOPHNNWQKCSlA2VZyYyyibDnQ=="], "@react-native/babel-preset/@babel/plugin-transform-async-generator-functions/@babel/traverse/@babel/code-frame": ["@babel/code-frame@7.29.0", "", { "dependencies": { "@babel/helper-validator-identifier": "^7.28.5", "js-tokens": "^4.0.0", "picocolors": "^1.1.1" } }, "sha512-9NhCeYjq9+3uxgdtp20LSiJXJvN0FeCtNGpJxuMFZ1Kv3cWUNb6DOhJwUvcVCzKGR66cw4njwM6hrJLqgOwbcw=="], "@react-native/babel-preset/@babel/plugin-transform-async-generator-functions/@babel/traverse/@babel/generator": ["@babel/generator@7.29.1", "", { "dependencies": { "@babel/parser": "^7.29.0", "@babel/types": "^7.29.0", "@jridgewell/gen-mapping": "^0.3.12", "@jridgewell/trace-mapping": "^0.3.28", "jsesc": "^3.0.2" } }, "sha512-qsaF+9Qcm2Qv8SRIMMscAvG4O3lJ0F1GuMo5HR/Bp02LopNgnZBC/EkbevHFeGs4ls/oPz9v+Bsmzbkbe+0dUw=="], + "@react-native/babel-preset/@babel/plugin-transform-async-generator-functions/@babel/traverse/@babel/helper-globals": ["@babel/helper-globals@7.28.0", "", {}, "sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw=="], + "@react-native/babel-preset/@babel/plugin-transform-async-generator-functions/@babel/traverse/@babel/parser": ["@babel/parser@7.29.0", "", { "dependencies": { "@babel/types": "^7.29.0" }, "bin": "./bin/babel-parser.js" }, "sha512-IyDgFV5GeDUVX4YdF/3CPULtVGSXXMLh1xVIgdCgxApktqnQV0r7/8Nqthg+8YLGaAtdyIlo2qIdZrbCv4+7ww=="], "@react-native/babel-preset/@babel/plugin-transform-async-generator-functions/@babel/traverse/@babel/template": ["@babel/template@7.28.6", "", { "dependencies": { "@babel/code-frame": "^7.28.6", "@babel/parser": "^7.28.6", "@babel/types": "^7.28.6" } }, "sha512-YA6Ma2KsCdGb+WC6UpBVFJGXL58MDA6oyONbjyF/+5sBgxY/dwkhLogbMT2GXXyU84/IhRw/2D1Os1B/giz+BQ=="], @@ -4800,26 +4747,104 @@ "@react-native/babel-preset/@babel/plugin-transform-async-to-generator/@babel/helper-module-imports/@babel/types": ["@babel/types@7.29.0", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.28.5" } }, "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A=="], + "@react-native/babel-preset/@babel/plugin-transform-async-to-generator/@babel/helper-remap-async-to-generator/@babel/helper-annotate-as-pure": ["@babel/helper-annotate-as-pure@7.27.3", "", { "dependencies": { "@babel/types": "^7.27.3" } }, "sha512-fXSwMQqitTGeHLBC08Eq5yXz2m37E4pJX1qAU1+2cNedz/ifv/bVXft90VeSav5nFO61EcNgwr0aJxbyPaWBPg=="], + "@react-native/babel-preset/@babel/plugin-transform-async-to-generator/@babel/helper-remap-async-to-generator/@babel/helper-wrap-function": ["@babel/helper-wrap-function@7.28.6", "", { "dependencies": { "@babel/template": "^7.28.6", "@babel/traverse": "^7.28.6", "@babel/types": "^7.28.6" } }, "sha512-z+PwLziMNBeSQJonizz2AGnndLsP2DeGHIxDAn+wdHOGuo4Fo1x1HBPPXeE9TAOPHNNWQKCSlA2VZyYyyibDnQ=="], "@react-native/babel-preset/@babel/plugin-transform-async-to-generator/@babel/helper-remap-async-to-generator/@babel/traverse": ["@babel/traverse@7.29.0", "", { "dependencies": { "@babel/code-frame": "^7.29.0", "@babel/generator": "^7.29.0", "@babel/helper-globals": "^7.28.0", "@babel/parser": "^7.29.0", "@babel/template": "^7.28.6", "@babel/types": "^7.29.0", "debug": "^4.3.1" } }, "sha512-4HPiQr0X7+waHfyXPZpWPfWL/J7dcN1mx9gL6WdQVMbPnF3+ZhSMs8tCxN7oHddJE9fhNE7+lxdnlyemKfJRuA=="], + "@react-native/babel-preset/@babel/plugin-transform-class-properties/@babel/helper-create-class-features-plugin/@babel/helper-annotate-as-pure": ["@babel/helper-annotate-as-pure@7.27.3", "", { "dependencies": { "@babel/types": "^7.27.3" } }, "sha512-fXSwMQqitTGeHLBC08Eq5yXz2m37E4pJX1qAU1+2cNedz/ifv/bVXft90VeSav5nFO61EcNgwr0aJxbyPaWBPg=="], + + "@react-native/babel-preset/@babel/plugin-transform-class-properties/@babel/helper-create-class-features-plugin/@babel/helper-member-expression-to-functions": ["@babel/helper-member-expression-to-functions@7.28.5", "", { "dependencies": { "@babel/traverse": "^7.28.5", "@babel/types": "^7.28.5" } }, "sha512-cwM7SBRZcPCLgl8a7cY0soT1SptSzAlMH39vwiRpOQkJlh53r5hdHwLSCZpQdVLT39sZt+CRpNwYG4Y2v77atg=="], + + "@react-native/babel-preset/@babel/plugin-transform-class-properties/@babel/helper-create-class-features-plugin/@babel/helper-optimise-call-expression": ["@babel/helper-optimise-call-expression@7.27.1", "", { "dependencies": { "@babel/types": "^7.27.1" } }, "sha512-URMGH08NzYFhubNSGJrpUEphGKQwMQYBySzat5cAByY1/YgIRkULnIy3tAMeszlL/so2HbeilYloUmSpd7GdVw=="], + + "@react-native/babel-preset/@babel/plugin-transform-class-properties/@babel/helper-create-class-features-plugin/@babel/helper-replace-supers": ["@babel/helper-replace-supers@7.28.6", "", { "dependencies": { "@babel/helper-member-expression-to-functions": "^7.28.5", "@babel/helper-optimise-call-expression": "^7.27.1", "@babel/traverse": "^7.28.6" }, "peerDependencies": { "@babel/core": "^7.0.0" } }, "sha512-mq8e+laIk94/yFec3DxSjCRD2Z0TAjhVbEJY3UQrlwVo15Lmt7C2wAUbK4bjnTs4APkwsYLTahXRraQXhb1WCg=="], + + "@react-native/babel-preset/@babel/plugin-transform-class-properties/@babel/helper-create-class-features-plugin/@babel/helper-skip-transparent-expression-wrappers": ["@babel/helper-skip-transparent-expression-wrappers@7.27.1", "", { "dependencies": { "@babel/traverse": "^7.27.1", "@babel/types": "^7.27.1" } }, "sha512-Tub4ZKEXqbPjXgWLl2+3JpQAYBJ8+ikpQ2Ocj/q/r0LwE3UhENh7EUabyHjz2kCEsrRY83ew2DQdHluuiDQFzg=="], + + "@react-native/babel-preset/@babel/plugin-transform-class-properties/@babel/helper-create-class-features-plugin/@babel/traverse": ["@babel/traverse@7.29.0", "", { "dependencies": { "@babel/code-frame": "^7.29.0", "@babel/generator": "^7.29.0", "@babel/helper-globals": "^7.28.0", "@babel/parser": "^7.29.0", "@babel/template": "^7.28.6", "@babel/types": "^7.29.0", "debug": "^4.3.1" } }, "sha512-4HPiQr0X7+waHfyXPZpWPfWL/J7dcN1mx9gL6WdQVMbPnF3+ZhSMs8tCxN7oHddJE9fhNE7+lxdnlyemKfJRuA=="], + + "@react-native/babel-preset/@babel/plugin-transform-class-properties/@babel/helper-create-class-features-plugin/semver": ["semver@6.3.1", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA=="], + + "@react-native/babel-preset/@babel/plugin-transform-classes/@babel/helper-annotate-as-pure/@babel/types": ["@babel/types@7.29.0", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.28.5" } }, "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A=="], + + "@react-native/babel-preset/@babel/plugin-transform-classes/@babel/helper-compilation-targets/@babel/compat-data": ["@babel/compat-data@7.29.0", "", {}, "sha512-T1NCJqT/j9+cn8fvkt7jtwbLBfLC/1y1c7NtCeXFRgzGTsafi68MRv8yzkYSapBnFA6L3U2VSc02ciDzoAJhJg=="], + + "@react-native/babel-preset/@babel/plugin-transform-classes/@babel/helper-compilation-targets/@babel/helper-validator-option": ["@babel/helper-validator-option@7.27.1", "", {}, "sha512-YvjJow9FxbhFFKDSuFnVCe2WxXk1zWc22fFePVNEaWJEu8IrZVlda6N0uHwzZrUM1il7NC9Mlp4MaJYbYd9JSg=="], + + "@react-native/babel-preset/@babel/plugin-transform-classes/@babel/helper-compilation-targets/lru-cache": ["lru-cache@5.1.1", "", { "dependencies": { "yallist": "^3.0.2" } }, "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w=="], + + "@react-native/babel-preset/@babel/plugin-transform-classes/@babel/helper-compilation-targets/semver": ["semver@6.3.1", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA=="], + + "@react-native/babel-preset/@babel/plugin-transform-classes/@babel/helper-replace-supers/@babel/helper-member-expression-to-functions": ["@babel/helper-member-expression-to-functions@7.28.5", "", { "dependencies": { "@babel/traverse": "^7.28.5", "@babel/types": "^7.28.5" } }, "sha512-cwM7SBRZcPCLgl8a7cY0soT1SptSzAlMH39vwiRpOQkJlh53r5hdHwLSCZpQdVLT39sZt+CRpNwYG4Y2v77atg=="], + + "@react-native/babel-preset/@babel/plugin-transform-classes/@babel/helper-replace-supers/@babel/helper-optimise-call-expression": ["@babel/helper-optimise-call-expression@7.27.1", "", { "dependencies": { "@babel/types": "^7.27.1" } }, "sha512-URMGH08NzYFhubNSGJrpUEphGKQwMQYBySzat5cAByY1/YgIRkULnIy3tAMeszlL/so2HbeilYloUmSpd7GdVw=="], + + "@react-native/babel-preset/@babel/plugin-transform-classes/@babel/traverse/@babel/code-frame": ["@babel/code-frame@7.29.0", "", { "dependencies": { "@babel/helper-validator-identifier": "^7.28.5", "js-tokens": "^4.0.0", "picocolors": "^1.1.1" } }, "sha512-9NhCeYjq9+3uxgdtp20LSiJXJvN0FeCtNGpJxuMFZ1Kv3cWUNb6DOhJwUvcVCzKGR66cw4njwM6hrJLqgOwbcw=="], + + "@react-native/babel-preset/@babel/plugin-transform-classes/@babel/traverse/@babel/generator": ["@babel/generator@7.29.1", "", { "dependencies": { "@babel/parser": "^7.29.0", "@babel/types": "^7.29.0", "@jridgewell/gen-mapping": "^0.3.12", "@jridgewell/trace-mapping": "^0.3.28", "jsesc": "^3.0.2" } }, "sha512-qsaF+9Qcm2Qv8SRIMMscAvG4O3lJ0F1GuMo5HR/Bp02LopNgnZBC/EkbevHFeGs4ls/oPz9v+Bsmzbkbe+0dUw=="], + + "@react-native/babel-preset/@babel/plugin-transform-classes/@babel/traverse/@babel/parser": ["@babel/parser@7.29.0", "", { "dependencies": { "@babel/types": "^7.29.0" }, "bin": "./bin/babel-parser.js" }, "sha512-IyDgFV5GeDUVX4YdF/3CPULtVGSXXMLh1xVIgdCgxApktqnQV0r7/8Nqthg+8YLGaAtdyIlo2qIdZrbCv4+7ww=="], + + "@react-native/babel-preset/@babel/plugin-transform-classes/@babel/traverse/@babel/template": ["@babel/template@7.28.6", "", { "dependencies": { "@babel/code-frame": "^7.28.6", "@babel/parser": "^7.28.6", "@babel/types": "^7.28.6" } }, "sha512-YA6Ma2KsCdGb+WC6UpBVFJGXL58MDA6oyONbjyF/+5sBgxY/dwkhLogbMT2GXXyU84/IhRw/2D1Os1B/giz+BQ=="], + + "@react-native/babel-preset/@babel/plugin-transform-classes/@babel/traverse/@babel/types": ["@babel/types@7.29.0", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.28.5" } }, "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A=="], + "@react-native/babel-preset/@babel/plugin-transform-destructuring/@babel/traverse/@babel/code-frame": ["@babel/code-frame@7.29.0", "", { "dependencies": { "@babel/helper-validator-identifier": "^7.28.5", "js-tokens": "^4.0.0", "picocolors": "^1.1.1" } }, "sha512-9NhCeYjq9+3uxgdtp20LSiJXJvN0FeCtNGpJxuMFZ1Kv3cWUNb6DOhJwUvcVCzKGR66cw4njwM6hrJLqgOwbcw=="], "@react-native/babel-preset/@babel/plugin-transform-destructuring/@babel/traverse/@babel/generator": ["@babel/generator@7.29.1", "", { "dependencies": { "@babel/parser": "^7.29.0", "@babel/types": "^7.29.0", "@jridgewell/gen-mapping": "^0.3.12", "@jridgewell/trace-mapping": "^0.3.28", "jsesc": "^3.0.2" } }, "sha512-qsaF+9Qcm2Qv8SRIMMscAvG4O3lJ0F1GuMo5HR/Bp02LopNgnZBC/EkbevHFeGs4ls/oPz9v+Bsmzbkbe+0dUw=="], + "@react-native/babel-preset/@babel/plugin-transform-destructuring/@babel/traverse/@babel/helper-globals": ["@babel/helper-globals@7.28.0", "", {}, "sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw=="], + "@react-native/babel-preset/@babel/plugin-transform-destructuring/@babel/traverse/@babel/parser": ["@babel/parser@7.29.0", "", { "dependencies": { "@babel/types": "^7.29.0" }, "bin": "./bin/babel-parser.js" }, "sha512-IyDgFV5GeDUVX4YdF/3CPULtVGSXXMLh1xVIgdCgxApktqnQV0r7/8Nqthg+8YLGaAtdyIlo2qIdZrbCv4+7ww=="], "@react-native/babel-preset/@babel/plugin-transform-destructuring/@babel/traverse/@babel/template": ["@babel/template@7.28.6", "", { "dependencies": { "@babel/code-frame": "^7.28.6", "@babel/parser": "^7.28.6", "@babel/types": "^7.28.6" } }, "sha512-YA6Ma2KsCdGb+WC6UpBVFJGXL58MDA6oyONbjyF/+5sBgxY/dwkhLogbMT2GXXyU84/IhRw/2D1Os1B/giz+BQ=="], "@react-native/babel-preset/@babel/plugin-transform-destructuring/@babel/traverse/@babel/types": ["@babel/types@7.29.0", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.28.5" } }, "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A=="], + "@react-native/babel-preset/@babel/plugin-transform-for-of/@babel/helper-skip-transparent-expression-wrappers/@babel/traverse": ["@babel/traverse@7.29.0", "", { "dependencies": { "@babel/code-frame": "^7.29.0", "@babel/generator": "^7.29.0", "@babel/helper-globals": "^7.28.0", "@babel/parser": "^7.29.0", "@babel/template": "^7.28.6", "@babel/types": "^7.29.0", "debug": "^4.3.1" } }, "sha512-4HPiQr0X7+waHfyXPZpWPfWL/J7dcN1mx9gL6WdQVMbPnF3+ZhSMs8tCxN7oHddJE9fhNE7+lxdnlyemKfJRuA=="], + + "@react-native/babel-preset/@babel/plugin-transform-for-of/@babel/helper-skip-transparent-expression-wrappers/@babel/types": ["@babel/types@7.29.0", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.28.5" } }, "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A=="], + "@react-native/babel-preset/@babel/plugin-transform-modules-commonjs/@babel/helper-module-transforms/@babel/helper-module-imports": ["@babel/helper-module-imports@7.28.6", "", { "dependencies": { "@babel/traverse": "^7.28.6", "@babel/types": "^7.28.6" } }, "sha512-l5XkZK7r7wa9LucGw9LwZyyCUscb4x37JWTPz7swwFE/0FMQAGpiWUZn8u9DzkSBWEcK25jmvubfpw2dnAMdbw=="], "@react-native/babel-preset/@babel/plugin-transform-modules-commonjs/@babel/helper-module-transforms/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], "@react-native/babel-preset/@babel/plugin-transform-modules-commonjs/@babel/helper-module-transforms/@babel/traverse": ["@babel/traverse@7.29.0", "", { "dependencies": { "@babel/code-frame": "^7.29.0", "@babel/generator": "^7.29.0", "@babel/helper-globals": "^7.28.0", "@babel/parser": "^7.29.0", "@babel/template": "^7.28.6", "@babel/types": "^7.29.0", "debug": "^4.3.1" } }, "sha512-4HPiQr0X7+waHfyXPZpWPfWL/J7dcN1mx9gL6WdQVMbPnF3+ZhSMs8tCxN7oHddJE9fhNE7+lxdnlyemKfJRuA=="], + "@react-native/babel-preset/@babel/plugin-transform-optional-chaining/@babel/helper-skip-transparent-expression-wrappers/@babel/traverse": ["@babel/traverse@7.29.0", "", { "dependencies": { "@babel/code-frame": "^7.29.0", "@babel/generator": "^7.29.0", "@babel/helper-globals": "^7.28.0", "@babel/parser": "^7.29.0", "@babel/template": "^7.28.6", "@babel/types": "^7.29.0", "debug": "^4.3.1" } }, "sha512-4HPiQr0X7+waHfyXPZpWPfWL/J7dcN1mx9gL6WdQVMbPnF3+ZhSMs8tCxN7oHddJE9fhNE7+lxdnlyemKfJRuA=="], + + "@react-native/babel-preset/@babel/plugin-transform-optional-chaining/@babel/helper-skip-transparent-expression-wrappers/@babel/types": ["@babel/types@7.29.0", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.28.5" } }, "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A=="], + + "@react-native/babel-preset/@babel/plugin-transform-private-methods/@babel/helper-create-class-features-plugin/@babel/helper-annotate-as-pure": ["@babel/helper-annotate-as-pure@7.27.3", "", { "dependencies": { "@babel/types": "^7.27.3" } }, "sha512-fXSwMQqitTGeHLBC08Eq5yXz2m37E4pJX1qAU1+2cNedz/ifv/bVXft90VeSav5nFO61EcNgwr0aJxbyPaWBPg=="], + + "@react-native/babel-preset/@babel/plugin-transform-private-methods/@babel/helper-create-class-features-plugin/@babel/helper-member-expression-to-functions": ["@babel/helper-member-expression-to-functions@7.28.5", "", { "dependencies": { "@babel/traverse": "^7.28.5", "@babel/types": "^7.28.5" } }, "sha512-cwM7SBRZcPCLgl8a7cY0soT1SptSzAlMH39vwiRpOQkJlh53r5hdHwLSCZpQdVLT39sZt+CRpNwYG4Y2v77atg=="], + + "@react-native/babel-preset/@babel/plugin-transform-private-methods/@babel/helper-create-class-features-plugin/@babel/helper-optimise-call-expression": ["@babel/helper-optimise-call-expression@7.27.1", "", { "dependencies": { "@babel/types": "^7.27.1" } }, "sha512-URMGH08NzYFhubNSGJrpUEphGKQwMQYBySzat5cAByY1/YgIRkULnIy3tAMeszlL/so2HbeilYloUmSpd7GdVw=="], + + "@react-native/babel-preset/@babel/plugin-transform-private-methods/@babel/helper-create-class-features-plugin/@babel/helper-replace-supers": ["@babel/helper-replace-supers@7.28.6", "", { "dependencies": { "@babel/helper-member-expression-to-functions": "^7.28.5", "@babel/helper-optimise-call-expression": "^7.27.1", "@babel/traverse": "^7.28.6" }, "peerDependencies": { "@babel/core": "^7.0.0" } }, "sha512-mq8e+laIk94/yFec3DxSjCRD2Z0TAjhVbEJY3UQrlwVo15Lmt7C2wAUbK4bjnTs4APkwsYLTahXRraQXhb1WCg=="], + + "@react-native/babel-preset/@babel/plugin-transform-private-methods/@babel/helper-create-class-features-plugin/@babel/helper-skip-transparent-expression-wrappers": ["@babel/helper-skip-transparent-expression-wrappers@7.27.1", "", { "dependencies": { "@babel/traverse": "^7.27.1", "@babel/types": "^7.27.1" } }, "sha512-Tub4ZKEXqbPjXgWLl2+3JpQAYBJ8+ikpQ2Ocj/q/r0LwE3UhENh7EUabyHjz2kCEsrRY83ew2DQdHluuiDQFzg=="], + + "@react-native/babel-preset/@babel/plugin-transform-private-methods/@babel/helper-create-class-features-plugin/@babel/traverse": ["@babel/traverse@7.29.0", "", { "dependencies": { "@babel/code-frame": "^7.29.0", "@babel/generator": "^7.29.0", "@babel/helper-globals": "^7.28.0", "@babel/parser": "^7.29.0", "@babel/template": "^7.28.6", "@babel/types": "^7.29.0", "debug": "^4.3.1" } }, "sha512-4HPiQr0X7+waHfyXPZpWPfWL/J7dcN1mx9gL6WdQVMbPnF3+ZhSMs8tCxN7oHddJE9fhNE7+lxdnlyemKfJRuA=="], + + "@react-native/babel-preset/@babel/plugin-transform-private-methods/@babel/helper-create-class-features-plugin/semver": ["semver@6.3.1", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA=="], + + "@react-native/babel-preset/@babel/plugin-transform-private-property-in-object/@babel/helper-annotate-as-pure/@babel/types": ["@babel/types@7.29.0", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.28.5" } }, "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A=="], + + "@react-native/babel-preset/@babel/plugin-transform-private-property-in-object/@babel/helper-create-class-features-plugin/@babel/helper-member-expression-to-functions": ["@babel/helper-member-expression-to-functions@7.28.5", "", { "dependencies": { "@babel/traverse": "^7.28.5", "@babel/types": "^7.28.5" } }, "sha512-cwM7SBRZcPCLgl8a7cY0soT1SptSzAlMH39vwiRpOQkJlh53r5hdHwLSCZpQdVLT39sZt+CRpNwYG4Y2v77atg=="], + + "@react-native/babel-preset/@babel/plugin-transform-private-property-in-object/@babel/helper-create-class-features-plugin/@babel/helper-optimise-call-expression": ["@babel/helper-optimise-call-expression@7.27.1", "", { "dependencies": { "@babel/types": "^7.27.1" } }, "sha512-URMGH08NzYFhubNSGJrpUEphGKQwMQYBySzat5cAByY1/YgIRkULnIy3tAMeszlL/so2HbeilYloUmSpd7GdVw=="], + + "@react-native/babel-preset/@babel/plugin-transform-private-property-in-object/@babel/helper-create-class-features-plugin/@babel/helper-replace-supers": ["@babel/helper-replace-supers@7.28.6", "", { "dependencies": { "@babel/helper-member-expression-to-functions": "^7.28.5", "@babel/helper-optimise-call-expression": "^7.27.1", "@babel/traverse": "^7.28.6" }, "peerDependencies": { "@babel/core": "^7.0.0" } }, "sha512-mq8e+laIk94/yFec3DxSjCRD2Z0TAjhVbEJY3UQrlwVo15Lmt7C2wAUbK4bjnTs4APkwsYLTahXRraQXhb1WCg=="], + + "@react-native/babel-preset/@babel/plugin-transform-private-property-in-object/@babel/helper-create-class-features-plugin/@babel/helper-skip-transparent-expression-wrappers": ["@babel/helper-skip-transparent-expression-wrappers@7.27.1", "", { "dependencies": { "@babel/traverse": "^7.27.1", "@babel/types": "^7.27.1" } }, "sha512-Tub4ZKEXqbPjXgWLl2+3JpQAYBJ8+ikpQ2Ocj/q/r0LwE3UhENh7EUabyHjz2kCEsrRY83ew2DQdHluuiDQFzg=="], + + "@react-native/babel-preset/@babel/plugin-transform-private-property-in-object/@babel/helper-create-class-features-plugin/@babel/traverse": ["@babel/traverse@7.29.0", "", { "dependencies": { "@babel/code-frame": "^7.29.0", "@babel/generator": "^7.29.0", "@babel/helper-globals": "^7.28.0", "@babel/parser": "^7.29.0", "@babel/template": "^7.28.6", "@babel/types": "^7.29.0", "debug": "^4.3.1" } }, "sha512-4HPiQr0X7+waHfyXPZpWPfWL/J7dcN1mx9gL6WdQVMbPnF3+ZhSMs8tCxN7oHddJE9fhNE7+lxdnlyemKfJRuA=="], + + "@react-native/babel-preset/@babel/plugin-transform-private-property-in-object/@babel/helper-create-class-features-plugin/semver": ["semver@6.3.1", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA=="], + "@react-native/codegen/@babel/core/@babel/code-frame/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], "@react-native/codegen/@babel/core/@babel/helper-compilation-targets/@babel/compat-data": ["@babel/compat-data@7.29.0", "", {}, "sha512-T1NCJqT/j9+cn8fvkt7jtwbLBfLC/1y1c7NtCeXFRgzGTsafi68MRv8yzkYSapBnFA6L3U2VSc02ciDzoAJhJg=="], @@ -4832,6 +4857,8 @@ "@react-native/codegen/@babel/core/@babel/helper-module-transforms/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], + "@react-native/codegen/@babel/core/@babel/traverse/@babel/helper-globals": ["@babel/helper-globals@7.28.0", "", {}, "sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw=="], + "@react-native/codegen/@babel/core/@babel/types/@babel/helper-string-parser": ["@babel/helper-string-parser@7.27.1", "", {}, "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA=="], "@react-native/codegen/@babel/core/@babel/types/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], @@ -4856,6 +4883,8 @@ "@react-native/metro-babel-transformer/@babel/core/@babel/helper-module-transforms/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], + "@react-native/metro-babel-transformer/@babel/core/@babel/traverse/@babel/helper-globals": ["@babel/helper-globals@7.28.0", "", {}, "sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw=="], + "@react-native/metro-babel-transformer/@babel/core/@babel/types/@babel/helper-string-parser": ["@babel/helper-string-parser@7.27.1", "", {}, "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA=="], "@react-native/metro-babel-transformer/@babel/core/@babel/types/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], @@ -4866,8 +4895,6 @@ "conventional-recommended-bump/@conventional-changelog/git-client/@simple-libs/stream-utils/@types/node": ["@types/node@22.19.11", "", { "dependencies": { "undici-types": "~6.21.0" } }, "sha512-BH7YwL6rA93ReqeQS1c4bsPpcfOmJasG+Fkr6Y59q83f9M1WcBRHR2vM+P9eOisYRcN3ujQoiZY8uk5W+1WL8w=="], - "errorhandler/accepts/mime-types/mime-db": ["mime-db@1.52.0", "", {}, "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg=="], - "fumadocs-typescript/shiki/@shikijs/core/@shikijs/primitive": ["@shikijs/primitive@4.0.2", "", { "dependencies": { "@shikijs/types": "4.0.2", "@shikijs/vscode-textmate": "^10.0.2", "@types/hast": "^3.0.4" } }, "sha512-M6UMPrSa3fN5ayeJwFVl9qWofl273wtK1VG8ySDZ1mQBfhCpdd8nEx7nPZ/tk7k+TYcpqBZzj/AnwxT9lO+HJw=="], "fumadocs-typescript/shiki/@shikijs/engine-javascript/oniguruma-to-es": ["oniguruma-to-es@4.3.4", "", { "dependencies": { "oniguruma-parser": "^0.12.1", "regex": "^6.0.1", "regex-recursion": "^6.0.2" } }, "sha512-3VhUGN3w2eYxnTzHn+ikMI+fp/96KoRSVK9/kMTcFqj1NRDh2IhQCKvYxDnWePKRXY/AqH+Fuiyb7VHSzBjHfA=="], @@ -4886,6 +4913,8 @@ "istanbul-lib-instrument/@babel/core/@babel/helper-module-transforms/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], + "istanbul-lib-instrument/@babel/core/@babel/traverse/@babel/helper-globals": ["@babel/helper-globals@7.28.0", "", {}, "sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw=="], + "istanbul-lib-instrument/@babel/core/@babel/types/@babel/helper-string-parser": ["@babel/helper-string-parser@7.27.1", "", {}, "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA=="], "istanbul-lib-instrument/@babel/core/@babel/types/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], @@ -4922,6 +4951,8 @@ "jest-config/@babel/core/@babel/helper-module-transforms/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], + "jest-config/@babel/core/@babel/traverse/@babel/helper-globals": ["@babel/helper-globals@7.28.0", "", {}, "sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw=="], + "jest-config/@babel/core/@babel/types/@babel/helper-string-parser": ["@babel/helper-string-parser@7.27.1", "", {}, "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA=="], "jest-config/@babel/core/@babel/types/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], @@ -4992,6 +5023,8 @@ "jest-snapshot/@babel/core/@babel/helper-module-transforms/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], + "jest-snapshot/@babel/core/@babel/traverse/@babel/helper-globals": ["@babel/helper-globals@7.28.0", "", {}, "sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw=="], + "jest-snapshot/@jest/types/@jest/schemas/@sinclair/typebox": ["@sinclair/typebox@0.34.48", "", {}, "sha512-kKJTNuK3AQOrgjjotVxMrCn1sUJwM76wMszfq1kdU4uYVJjvEWuFQ6HgvLt4Xz3fSmZlTOxJ/Ie13KnIcWQXFA=="], "jest-snapshot/@jest/types/@types/node/undici-types": ["undici-types@7.16.0", "", {}, "sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw=="], @@ -5028,6 +5061,8 @@ "metro-babel-transformer/@babel/core/@babel/helper-module-transforms/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], + "metro-babel-transformer/@babel/core/@babel/traverse/@babel/helper-globals": ["@babel/helper-globals@7.28.0", "", {}, "sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw=="], + "metro-babel-transformer/@babel/core/@babel/types/@babel/helper-string-parser": ["@babel/helper-string-parser@7.27.1", "", {}, "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA=="], "metro-babel-transformer/@babel/core/@babel/types/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], @@ -5078,6 +5113,8 @@ "metro-transform-worker/@babel/core/@babel/helper-module-transforms/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], + "metro-transform-worker/@babel/core/@babel/traverse/@babel/helper-globals": ["@babel/helper-globals@7.28.0", "", {}, "sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw=="], + "metro/@babel/core/@babel/helper-compilation-targets/@babel/compat-data": ["@babel/compat-data@7.29.0", "", {}, "sha512-T1NCJqT/j9+cn8fvkt7jtwbLBfLC/1y1c7NtCeXFRgzGTsafi68MRv8yzkYSapBnFA6L3U2VSc02ciDzoAJhJg=="], "metro/@babel/core/@babel/helper-compilation-targets/@babel/helper-validator-option": ["@babel/helper-validator-option@7.27.1", "", {}, "sha512-YvjJow9FxbhFFKDSuFnVCe2WxXk1zWc22fFePVNEaWJEu8IrZVlda6N0uHwzZrUM1il7NC9Mlp4MaJYbYd9JSg=="], @@ -5100,6 +5137,48 @@ "react-native-vector-icons/yargs/string-width/emoji-regex": ["emoji-regex@8.0.0", "", {}, "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A=="], + "react-native-worklets/@babel/plugin-transform-class-properties/@babel/helper-create-class-features-plugin/@babel/helper-annotate-as-pure": ["@babel/helper-annotate-as-pure@7.27.3", "", { "dependencies": { "@babel/types": "^7.27.3" } }, "sha512-fXSwMQqitTGeHLBC08Eq5yXz2m37E4pJX1qAU1+2cNedz/ifv/bVXft90VeSav5nFO61EcNgwr0aJxbyPaWBPg=="], + + "react-native-worklets/@babel/plugin-transform-class-properties/@babel/helper-create-class-features-plugin/@babel/helper-member-expression-to-functions": ["@babel/helper-member-expression-to-functions@7.28.5", "", { "dependencies": { "@babel/traverse": "^7.28.5", "@babel/types": "^7.28.5" } }, "sha512-cwM7SBRZcPCLgl8a7cY0soT1SptSzAlMH39vwiRpOQkJlh53r5hdHwLSCZpQdVLT39sZt+CRpNwYG4Y2v77atg=="], + + "react-native-worklets/@babel/plugin-transform-class-properties/@babel/helper-create-class-features-plugin/@babel/helper-optimise-call-expression": ["@babel/helper-optimise-call-expression@7.27.1", "", { "dependencies": { "@babel/types": "^7.27.1" } }, "sha512-URMGH08NzYFhubNSGJrpUEphGKQwMQYBySzat5cAByY1/YgIRkULnIy3tAMeszlL/so2HbeilYloUmSpd7GdVw=="], + + "react-native-worklets/@babel/plugin-transform-class-properties/@babel/helper-create-class-features-plugin/@babel/helper-replace-supers": ["@babel/helper-replace-supers@7.28.6", "", { "dependencies": { "@babel/helper-member-expression-to-functions": "^7.28.5", "@babel/helper-optimise-call-expression": "^7.27.1", "@babel/traverse": "^7.28.6" }, "peerDependencies": { "@babel/core": "^7.0.0" } }, "sha512-mq8e+laIk94/yFec3DxSjCRD2Z0TAjhVbEJY3UQrlwVo15Lmt7C2wAUbK4bjnTs4APkwsYLTahXRraQXhb1WCg=="], + + "react-native-worklets/@babel/plugin-transform-class-properties/@babel/helper-create-class-features-plugin/@babel/helper-skip-transparent-expression-wrappers": ["@babel/helper-skip-transparent-expression-wrappers@7.27.1", "", { "dependencies": { "@babel/traverse": "^7.27.1", "@babel/types": "^7.27.1" } }, "sha512-Tub4ZKEXqbPjXgWLl2+3JpQAYBJ8+ikpQ2Ocj/q/r0LwE3UhENh7EUabyHjz2kCEsrRY83ew2DQdHluuiDQFzg=="], + + "react-native-worklets/@babel/plugin-transform-class-properties/@babel/helper-create-class-features-plugin/@babel/traverse": ["@babel/traverse@7.29.0", "", { "dependencies": { "@babel/code-frame": "^7.29.0", "@babel/generator": "^7.29.0", "@babel/helper-globals": "^7.28.0", "@babel/parser": "^7.29.0", "@babel/template": "^7.28.6", "@babel/types": "^7.29.0", "debug": "^4.3.1" } }, "sha512-4HPiQr0X7+waHfyXPZpWPfWL/J7dcN1mx9gL6WdQVMbPnF3+ZhSMs8tCxN7oHddJE9fhNE7+lxdnlyemKfJRuA=="], + + "react-native-worklets/@babel/plugin-transform-class-properties/@babel/helper-create-class-features-plugin/semver": ["semver@6.3.1", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA=="], + + "react-native-worklets/@babel/plugin-transform-classes/@babel/helper-annotate-as-pure/@babel/types": ["@babel/types@7.29.0", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.28.5" } }, "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A=="], + + "react-native-worklets/@babel/plugin-transform-classes/@babel/helper-compilation-targets/@babel/compat-data": ["@babel/compat-data@7.29.0", "", {}, "sha512-T1NCJqT/j9+cn8fvkt7jtwbLBfLC/1y1c7NtCeXFRgzGTsafi68MRv8yzkYSapBnFA6L3U2VSc02ciDzoAJhJg=="], + + "react-native-worklets/@babel/plugin-transform-classes/@babel/helper-compilation-targets/@babel/helper-validator-option": ["@babel/helper-validator-option@7.27.1", "", {}, "sha512-YvjJow9FxbhFFKDSuFnVCe2WxXk1zWc22fFePVNEaWJEu8IrZVlda6N0uHwzZrUM1il7NC9Mlp4MaJYbYd9JSg=="], + + "react-native-worklets/@babel/plugin-transform-classes/@babel/helper-compilation-targets/lru-cache": ["lru-cache@5.1.1", "", { "dependencies": { "yallist": "^3.0.2" } }, "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w=="], + + "react-native-worklets/@babel/plugin-transform-classes/@babel/helper-compilation-targets/semver": ["semver@6.3.1", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA=="], + + "react-native-worklets/@babel/plugin-transform-classes/@babel/helper-replace-supers/@babel/helper-member-expression-to-functions": ["@babel/helper-member-expression-to-functions@7.28.5", "", { "dependencies": { "@babel/traverse": "^7.28.5", "@babel/types": "^7.28.5" } }, "sha512-cwM7SBRZcPCLgl8a7cY0soT1SptSzAlMH39vwiRpOQkJlh53r5hdHwLSCZpQdVLT39sZt+CRpNwYG4Y2v77atg=="], + + "react-native-worklets/@babel/plugin-transform-classes/@babel/helper-replace-supers/@babel/helper-optimise-call-expression": ["@babel/helper-optimise-call-expression@7.27.1", "", { "dependencies": { "@babel/types": "^7.27.1" } }, "sha512-URMGH08NzYFhubNSGJrpUEphGKQwMQYBySzat5cAByY1/YgIRkULnIy3tAMeszlL/so2HbeilYloUmSpd7GdVw=="], + + "react-native-worklets/@babel/plugin-transform-classes/@babel/traverse/@babel/code-frame": ["@babel/code-frame@7.29.0", "", { "dependencies": { "@babel/helper-validator-identifier": "^7.28.5", "js-tokens": "^4.0.0", "picocolors": "^1.1.1" } }, "sha512-9NhCeYjq9+3uxgdtp20LSiJXJvN0FeCtNGpJxuMFZ1Kv3cWUNb6DOhJwUvcVCzKGR66cw4njwM6hrJLqgOwbcw=="], + + "react-native-worklets/@babel/plugin-transform-classes/@babel/traverse/@babel/generator": ["@babel/generator@7.29.1", "", { "dependencies": { "@babel/parser": "^7.29.0", "@babel/types": "^7.29.0", "@jridgewell/gen-mapping": "^0.3.12", "@jridgewell/trace-mapping": "^0.3.28", "jsesc": "^3.0.2" } }, "sha512-qsaF+9Qcm2Qv8SRIMMscAvG4O3lJ0F1GuMo5HR/Bp02LopNgnZBC/EkbevHFeGs4ls/oPz9v+Bsmzbkbe+0dUw=="], + + "react-native-worklets/@babel/plugin-transform-classes/@babel/traverse/@babel/parser": ["@babel/parser@7.29.0", "", { "dependencies": { "@babel/types": "^7.29.0" }, "bin": "./bin/babel-parser.js" }, "sha512-IyDgFV5GeDUVX4YdF/3CPULtVGSXXMLh1xVIgdCgxApktqnQV0r7/8Nqthg+8YLGaAtdyIlo2qIdZrbCv4+7ww=="], + + "react-native-worklets/@babel/plugin-transform-classes/@babel/traverse/@babel/template": ["@babel/template@7.28.6", "", { "dependencies": { "@babel/code-frame": "^7.28.6", "@babel/parser": "^7.28.6", "@babel/types": "^7.28.6" } }, "sha512-YA6Ma2KsCdGb+WC6UpBVFJGXL58MDA6oyONbjyF/+5sBgxY/dwkhLogbMT2GXXyU84/IhRw/2D1Os1B/giz+BQ=="], + + "react-native-worklets/@babel/plugin-transform-classes/@babel/traverse/@babel/types": ["@babel/types@7.29.0", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.28.5" } }, "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A=="], + + "react-native-worklets/@babel/plugin-transform-optional-chaining/@babel/helper-skip-transparent-expression-wrappers/@babel/traverse": ["@babel/traverse@7.29.0", "", { "dependencies": { "@babel/code-frame": "^7.29.0", "@babel/generator": "^7.29.0", "@babel/helper-globals": "^7.28.0", "@babel/parser": "^7.29.0", "@babel/template": "^7.28.6", "@babel/types": "^7.29.0", "debug": "^4.3.1" } }, "sha512-4HPiQr0X7+waHfyXPZpWPfWL/J7dcN1mx9gL6WdQVMbPnF3+ZhSMs8tCxN7oHddJE9fhNE7+lxdnlyemKfJRuA=="], + + "react-native-worklets/@babel/plugin-transform-optional-chaining/@babel/helper-skip-transparent-expression-wrappers/@babel/types": ["@babel/types@7.29.0", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.28.5" } }, "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A=="], + "react-native/yargs/cliui/wrap-ansi": ["wrap-ansi@7.0.0", "", { "dependencies": { "ansi-styles": "^4.0.0", "string-width": "^4.1.0", "strip-ansi": "^6.0.0" } }, "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q=="], "react-native/yargs/string-width/emoji-regex": ["emoji-regex@8.0.0", "", {}, "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A=="], @@ -5114,6 +5193,22 @@ "@babel/plugin-transform-runtime/@babel/helper-module-imports/@babel/traverse/@babel/code-frame/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], + "@babel/plugin-transform-typescript/@babel/helper-create-class-features-plugin/@babel/helper-member-expression-to-functions/@babel/types/@babel/helper-string-parser": ["@babel/helper-string-parser@7.27.1", "", {}, "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA=="], + + "@babel/plugin-transform-typescript/@babel/helper-create-class-features-plugin/@babel/helper-member-expression-to-functions/@babel/types/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], + + "@babel/plugin-transform-typescript/@babel/helper-create-class-features-plugin/@babel/helper-optimise-call-expression/@babel/types/@babel/helper-string-parser": ["@babel/helper-string-parser@7.27.1", "", {}, "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA=="], + + "@babel/plugin-transform-typescript/@babel/helper-create-class-features-plugin/@babel/helper-optimise-call-expression/@babel/types/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], + + "@babel/plugin-transform-typescript/@babel/helper-create-class-features-plugin/@babel/traverse/@babel/code-frame/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], + + "@babel/plugin-transform-typescript/@babel/helper-create-class-features-plugin/@babel/traverse/@babel/types/@babel/helper-string-parser": ["@babel/helper-string-parser@7.27.1", "", {}, "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA=="], + + "@babel/plugin-transform-typescript/@babel/helper-create-class-features-plugin/@babel/traverse/@babel/types/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], + + "@babel/plugin-transform-typescript/@babel/helper-skip-transparent-expression-wrappers/@babel/traverse/@babel/code-frame/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], + "@istanbuljs/load-nyc-config/find-up/locate-path/p-locate/p-limit": ["p-limit@2.3.0", "", { "dependencies": { "p-try": "^2.0.0" } }, "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w=="], "@react-native-community/cli-doctor/ora/cli-cursor/restore-cursor/onetime": ["onetime@5.1.2", "", { "dependencies": { "mimic-fn": "^2.1.0" } }, "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg=="], @@ -5130,6 +5225,8 @@ "@react-native-vector-icons/common/find-up/locate-path/p-locate/p-limit": ["p-limit@4.0.0", "", { "dependencies": { "yocto-queue": "^1.0.0" } }, "sha512-5b0R4txpzjPWVw/cXXUResoD4hb6U/x9BH08L7nw+GN1sezDzPdxeRvpc9c433fZhBan/wusjbCsqwqm4EIBIQ=="], + "@react-native/babel-preset/@babel/plugin-transform-async-generator-functions/@babel/helper-remap-async-to-generator/@babel/helper-annotate-as-pure/@babel/types": ["@babel/types@7.29.0", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.28.5" } }, "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A=="], + "@react-native/babel-preset/@babel/plugin-transform-async-generator-functions/@babel/helper-remap-async-to-generator/@babel/helper-wrap-function/@babel/template": ["@babel/template@7.28.6", "", { "dependencies": { "@babel/code-frame": "^7.28.6", "@babel/parser": "^7.28.6", "@babel/types": "^7.28.6" } }, "sha512-YA6Ma2KsCdGb+WC6UpBVFJGXL58MDA6oyONbjyF/+5sBgxY/dwkhLogbMT2GXXyU84/IhRw/2D1Os1B/giz+BQ=="], "@react-native/babel-preset/@babel/plugin-transform-async-generator-functions/@babel/helper-remap-async-to-generator/@babel/helper-wrap-function/@babel/types": ["@babel/types@7.29.0", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.28.5" } }, "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A=="], @@ -5144,6 +5241,8 @@ "@react-native/babel-preset/@babel/plugin-transform-async-to-generator/@babel/helper-module-imports/@babel/traverse/@babel/generator": ["@babel/generator@7.29.1", "", { "dependencies": { "@babel/parser": "^7.29.0", "@babel/types": "^7.29.0", "@jridgewell/gen-mapping": "^0.3.12", "@jridgewell/trace-mapping": "^0.3.28", "jsesc": "^3.0.2" } }, "sha512-qsaF+9Qcm2Qv8SRIMMscAvG4O3lJ0F1GuMo5HR/Bp02LopNgnZBC/EkbevHFeGs4ls/oPz9v+Bsmzbkbe+0dUw=="], + "@react-native/babel-preset/@babel/plugin-transform-async-to-generator/@babel/helper-module-imports/@babel/traverse/@babel/helper-globals": ["@babel/helper-globals@7.28.0", "", {}, "sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw=="], + "@react-native/babel-preset/@babel/plugin-transform-async-to-generator/@babel/helper-module-imports/@babel/traverse/@babel/parser": ["@babel/parser@7.29.0", "", { "dependencies": { "@babel/types": "^7.29.0" }, "bin": "./bin/babel-parser.js" }, "sha512-IyDgFV5GeDUVX4YdF/3CPULtVGSXXMLh1xVIgdCgxApktqnQV0r7/8Nqthg+8YLGaAtdyIlo2qIdZrbCv4+7ww=="], "@react-native/babel-preset/@babel/plugin-transform-async-to-generator/@babel/helper-module-imports/@babel/traverse/@babel/template": ["@babel/template@7.28.6", "", { "dependencies": { "@babel/code-frame": "^7.28.6", "@babel/parser": "^7.28.6", "@babel/types": "^7.28.6" } }, "sha512-YA6Ma2KsCdGb+WC6UpBVFJGXL58MDA6oyONbjyF/+5sBgxY/dwkhLogbMT2GXXyU84/IhRw/2D1Os1B/giz+BQ=="], @@ -5152,6 +5251,8 @@ "@react-native/babel-preset/@babel/plugin-transform-async-to-generator/@babel/helper-module-imports/@babel/types/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], + "@react-native/babel-preset/@babel/plugin-transform-async-to-generator/@babel/helper-remap-async-to-generator/@babel/helper-annotate-as-pure/@babel/types": ["@babel/types@7.29.0", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.28.5" } }, "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A=="], + "@react-native/babel-preset/@babel/plugin-transform-async-to-generator/@babel/helper-remap-async-to-generator/@babel/helper-wrap-function/@babel/template": ["@babel/template@7.28.6", "", { "dependencies": { "@babel/code-frame": "^7.28.6", "@babel/parser": "^7.28.6", "@babel/types": "^7.28.6" } }, "sha512-YA6Ma2KsCdGb+WC6UpBVFJGXL58MDA6oyONbjyF/+5sBgxY/dwkhLogbMT2GXXyU84/IhRw/2D1Os1B/giz+BQ=="], "@react-native/babel-preset/@babel/plugin-transform-async-to-generator/@babel/helper-remap-async-to-generator/@babel/helper-wrap-function/@babel/types": ["@babel/types@7.29.0", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.28.5" } }, "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A=="], @@ -5160,30 +5261,138 @@ "@react-native/babel-preset/@babel/plugin-transform-async-to-generator/@babel/helper-remap-async-to-generator/@babel/traverse/@babel/generator": ["@babel/generator@7.29.1", "", { "dependencies": { "@babel/parser": "^7.29.0", "@babel/types": "^7.29.0", "@jridgewell/gen-mapping": "^0.3.12", "@jridgewell/trace-mapping": "^0.3.28", "jsesc": "^3.0.2" } }, "sha512-qsaF+9Qcm2Qv8SRIMMscAvG4O3lJ0F1GuMo5HR/Bp02LopNgnZBC/EkbevHFeGs4ls/oPz9v+Bsmzbkbe+0dUw=="], + "@react-native/babel-preset/@babel/plugin-transform-async-to-generator/@babel/helper-remap-async-to-generator/@babel/traverse/@babel/helper-globals": ["@babel/helper-globals@7.28.0", "", {}, "sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw=="], + "@react-native/babel-preset/@babel/plugin-transform-async-to-generator/@babel/helper-remap-async-to-generator/@babel/traverse/@babel/parser": ["@babel/parser@7.29.0", "", { "dependencies": { "@babel/types": "^7.29.0" }, "bin": "./bin/babel-parser.js" }, "sha512-IyDgFV5GeDUVX4YdF/3CPULtVGSXXMLh1xVIgdCgxApktqnQV0r7/8Nqthg+8YLGaAtdyIlo2qIdZrbCv4+7ww=="], "@react-native/babel-preset/@babel/plugin-transform-async-to-generator/@babel/helper-remap-async-to-generator/@babel/traverse/@babel/template": ["@babel/template@7.28.6", "", { "dependencies": { "@babel/code-frame": "^7.28.6", "@babel/parser": "^7.28.6", "@babel/types": "^7.28.6" } }, "sha512-YA6Ma2KsCdGb+WC6UpBVFJGXL58MDA6oyONbjyF/+5sBgxY/dwkhLogbMT2GXXyU84/IhRw/2D1Os1B/giz+BQ=="], "@react-native/babel-preset/@babel/plugin-transform-async-to-generator/@babel/helper-remap-async-to-generator/@babel/traverse/@babel/types": ["@babel/types@7.29.0", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.28.5" } }, "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A=="], + "@react-native/babel-preset/@babel/plugin-transform-class-properties/@babel/helper-create-class-features-plugin/@babel/helper-annotate-as-pure/@babel/types": ["@babel/types@7.29.0", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.28.5" } }, "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A=="], + + "@react-native/babel-preset/@babel/plugin-transform-class-properties/@babel/helper-create-class-features-plugin/@babel/helper-member-expression-to-functions/@babel/types": ["@babel/types@7.29.0", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.28.5" } }, "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A=="], + + "@react-native/babel-preset/@babel/plugin-transform-class-properties/@babel/helper-create-class-features-plugin/@babel/helper-optimise-call-expression/@babel/types": ["@babel/types@7.29.0", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.28.5" } }, "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A=="], + + "@react-native/babel-preset/@babel/plugin-transform-class-properties/@babel/helper-create-class-features-plugin/@babel/helper-skip-transparent-expression-wrappers/@babel/types": ["@babel/types@7.29.0", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.28.5" } }, "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A=="], + + "@react-native/babel-preset/@babel/plugin-transform-class-properties/@babel/helper-create-class-features-plugin/@babel/traverse/@babel/code-frame": ["@babel/code-frame@7.29.0", "", { "dependencies": { "@babel/helper-validator-identifier": "^7.28.5", "js-tokens": "^4.0.0", "picocolors": "^1.1.1" } }, "sha512-9NhCeYjq9+3uxgdtp20LSiJXJvN0FeCtNGpJxuMFZ1Kv3cWUNb6DOhJwUvcVCzKGR66cw4njwM6hrJLqgOwbcw=="], + + "@react-native/babel-preset/@babel/plugin-transform-class-properties/@babel/helper-create-class-features-plugin/@babel/traverse/@babel/generator": ["@babel/generator@7.29.1", "", { "dependencies": { "@babel/parser": "^7.29.0", "@babel/types": "^7.29.0", "@jridgewell/gen-mapping": "^0.3.12", "@jridgewell/trace-mapping": "^0.3.28", "jsesc": "^3.0.2" } }, "sha512-qsaF+9Qcm2Qv8SRIMMscAvG4O3lJ0F1GuMo5HR/Bp02LopNgnZBC/EkbevHFeGs4ls/oPz9v+Bsmzbkbe+0dUw=="], + + "@react-native/babel-preset/@babel/plugin-transform-class-properties/@babel/helper-create-class-features-plugin/@babel/traverse/@babel/helper-globals": ["@babel/helper-globals@7.28.0", "", {}, "sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw=="], + + "@react-native/babel-preset/@babel/plugin-transform-class-properties/@babel/helper-create-class-features-plugin/@babel/traverse/@babel/parser": ["@babel/parser@7.29.0", "", { "dependencies": { "@babel/types": "^7.29.0" }, "bin": "./bin/babel-parser.js" }, "sha512-IyDgFV5GeDUVX4YdF/3CPULtVGSXXMLh1xVIgdCgxApktqnQV0r7/8Nqthg+8YLGaAtdyIlo2qIdZrbCv4+7ww=="], + + "@react-native/babel-preset/@babel/plugin-transform-class-properties/@babel/helper-create-class-features-plugin/@babel/traverse/@babel/template": ["@babel/template@7.28.6", "", { "dependencies": { "@babel/code-frame": "^7.28.6", "@babel/parser": "^7.28.6", "@babel/types": "^7.28.6" } }, "sha512-YA6Ma2KsCdGb+WC6UpBVFJGXL58MDA6oyONbjyF/+5sBgxY/dwkhLogbMT2GXXyU84/IhRw/2D1Os1B/giz+BQ=="], + + "@react-native/babel-preset/@babel/plugin-transform-class-properties/@babel/helper-create-class-features-plugin/@babel/traverse/@babel/types": ["@babel/types@7.29.0", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.28.5" } }, "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A=="], + + "@react-native/babel-preset/@babel/plugin-transform-classes/@babel/helper-annotate-as-pure/@babel/types/@babel/helper-string-parser": ["@babel/helper-string-parser@7.27.1", "", {}, "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA=="], + + "@react-native/babel-preset/@babel/plugin-transform-classes/@babel/helper-annotate-as-pure/@babel/types/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], + + "@react-native/babel-preset/@babel/plugin-transform-classes/@babel/helper-replace-supers/@babel/helper-member-expression-to-functions/@babel/types": ["@babel/types@7.29.0", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.28.5" } }, "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A=="], + + "@react-native/babel-preset/@babel/plugin-transform-classes/@babel/helper-replace-supers/@babel/helper-optimise-call-expression/@babel/types": ["@babel/types@7.29.0", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.28.5" } }, "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A=="], + + "@react-native/babel-preset/@babel/plugin-transform-classes/@babel/traverse/@babel/code-frame/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], + + "@react-native/babel-preset/@babel/plugin-transform-classes/@babel/traverse/@babel/types/@babel/helper-string-parser": ["@babel/helper-string-parser@7.27.1", "", {}, "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA=="], + + "@react-native/babel-preset/@babel/plugin-transform-classes/@babel/traverse/@babel/types/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], + "@react-native/babel-preset/@babel/plugin-transform-destructuring/@babel/traverse/@babel/code-frame/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], "@react-native/babel-preset/@babel/plugin-transform-destructuring/@babel/traverse/@babel/types/@babel/helper-string-parser": ["@babel/helper-string-parser@7.27.1", "", {}, "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA=="], "@react-native/babel-preset/@babel/plugin-transform-destructuring/@babel/traverse/@babel/types/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], + "@react-native/babel-preset/@babel/plugin-transform-for-of/@babel/helper-skip-transparent-expression-wrappers/@babel/traverse/@babel/code-frame": ["@babel/code-frame@7.29.0", "", { "dependencies": { "@babel/helper-validator-identifier": "^7.28.5", "js-tokens": "^4.0.0", "picocolors": "^1.1.1" } }, "sha512-9NhCeYjq9+3uxgdtp20LSiJXJvN0FeCtNGpJxuMFZ1Kv3cWUNb6DOhJwUvcVCzKGR66cw4njwM6hrJLqgOwbcw=="], + + "@react-native/babel-preset/@babel/plugin-transform-for-of/@babel/helper-skip-transparent-expression-wrappers/@babel/traverse/@babel/generator": ["@babel/generator@7.29.1", "", { "dependencies": { "@babel/parser": "^7.29.0", "@babel/types": "^7.29.0", "@jridgewell/gen-mapping": "^0.3.12", "@jridgewell/trace-mapping": "^0.3.28", "jsesc": "^3.0.2" } }, "sha512-qsaF+9Qcm2Qv8SRIMMscAvG4O3lJ0F1GuMo5HR/Bp02LopNgnZBC/EkbevHFeGs4ls/oPz9v+Bsmzbkbe+0dUw=="], + + "@react-native/babel-preset/@babel/plugin-transform-for-of/@babel/helper-skip-transparent-expression-wrappers/@babel/traverse/@babel/helper-globals": ["@babel/helper-globals@7.28.0", "", {}, "sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw=="], + + "@react-native/babel-preset/@babel/plugin-transform-for-of/@babel/helper-skip-transparent-expression-wrappers/@babel/traverse/@babel/parser": ["@babel/parser@7.29.0", "", { "dependencies": { "@babel/types": "^7.29.0" }, "bin": "./bin/babel-parser.js" }, "sha512-IyDgFV5GeDUVX4YdF/3CPULtVGSXXMLh1xVIgdCgxApktqnQV0r7/8Nqthg+8YLGaAtdyIlo2qIdZrbCv4+7ww=="], + + "@react-native/babel-preset/@babel/plugin-transform-for-of/@babel/helper-skip-transparent-expression-wrappers/@babel/traverse/@babel/template": ["@babel/template@7.28.6", "", { "dependencies": { "@babel/code-frame": "^7.28.6", "@babel/parser": "^7.28.6", "@babel/types": "^7.28.6" } }, "sha512-YA6Ma2KsCdGb+WC6UpBVFJGXL58MDA6oyONbjyF/+5sBgxY/dwkhLogbMT2GXXyU84/IhRw/2D1Os1B/giz+BQ=="], + + "@react-native/babel-preset/@babel/plugin-transform-for-of/@babel/helper-skip-transparent-expression-wrappers/@babel/types/@babel/helper-string-parser": ["@babel/helper-string-parser@7.27.1", "", {}, "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA=="], + + "@react-native/babel-preset/@babel/plugin-transform-for-of/@babel/helper-skip-transparent-expression-wrappers/@babel/types/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], + "@react-native/babel-preset/@babel/plugin-transform-modules-commonjs/@babel/helper-module-transforms/@babel/helper-module-imports/@babel/types": ["@babel/types@7.29.0", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.28.5" } }, "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A=="], "@react-native/babel-preset/@babel/plugin-transform-modules-commonjs/@babel/helper-module-transforms/@babel/traverse/@babel/code-frame": ["@babel/code-frame@7.29.0", "", { "dependencies": { "@babel/helper-validator-identifier": "^7.28.5", "js-tokens": "^4.0.0", "picocolors": "^1.1.1" } }, "sha512-9NhCeYjq9+3uxgdtp20LSiJXJvN0FeCtNGpJxuMFZ1Kv3cWUNb6DOhJwUvcVCzKGR66cw4njwM6hrJLqgOwbcw=="], "@react-native/babel-preset/@babel/plugin-transform-modules-commonjs/@babel/helper-module-transforms/@babel/traverse/@babel/generator": ["@babel/generator@7.29.1", "", { "dependencies": { "@babel/parser": "^7.29.0", "@babel/types": "^7.29.0", "@jridgewell/gen-mapping": "^0.3.12", "@jridgewell/trace-mapping": "^0.3.28", "jsesc": "^3.0.2" } }, "sha512-qsaF+9Qcm2Qv8SRIMMscAvG4O3lJ0F1GuMo5HR/Bp02LopNgnZBC/EkbevHFeGs4ls/oPz9v+Bsmzbkbe+0dUw=="], + "@react-native/babel-preset/@babel/plugin-transform-modules-commonjs/@babel/helper-module-transforms/@babel/traverse/@babel/helper-globals": ["@babel/helper-globals@7.28.0", "", {}, "sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw=="], + "@react-native/babel-preset/@babel/plugin-transform-modules-commonjs/@babel/helper-module-transforms/@babel/traverse/@babel/parser": ["@babel/parser@7.29.0", "", { "dependencies": { "@babel/types": "^7.29.0" }, "bin": "./bin/babel-parser.js" }, "sha512-IyDgFV5GeDUVX4YdF/3CPULtVGSXXMLh1xVIgdCgxApktqnQV0r7/8Nqthg+8YLGaAtdyIlo2qIdZrbCv4+7ww=="], "@react-native/babel-preset/@babel/plugin-transform-modules-commonjs/@babel/helper-module-transforms/@babel/traverse/@babel/template": ["@babel/template@7.28.6", "", { "dependencies": { "@babel/code-frame": "^7.28.6", "@babel/parser": "^7.28.6", "@babel/types": "^7.28.6" } }, "sha512-YA6Ma2KsCdGb+WC6UpBVFJGXL58MDA6oyONbjyF/+5sBgxY/dwkhLogbMT2GXXyU84/IhRw/2D1Os1B/giz+BQ=="], "@react-native/babel-preset/@babel/plugin-transform-modules-commonjs/@babel/helper-module-transforms/@babel/traverse/@babel/types": ["@babel/types@7.29.0", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.28.5" } }, "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A=="], + "@react-native/babel-preset/@babel/plugin-transform-optional-chaining/@babel/helper-skip-transparent-expression-wrappers/@babel/traverse/@babel/code-frame": ["@babel/code-frame@7.29.0", "", { "dependencies": { "@babel/helper-validator-identifier": "^7.28.5", "js-tokens": "^4.0.0", "picocolors": "^1.1.1" } }, "sha512-9NhCeYjq9+3uxgdtp20LSiJXJvN0FeCtNGpJxuMFZ1Kv3cWUNb6DOhJwUvcVCzKGR66cw4njwM6hrJLqgOwbcw=="], + + "@react-native/babel-preset/@babel/plugin-transform-optional-chaining/@babel/helper-skip-transparent-expression-wrappers/@babel/traverse/@babel/generator": ["@babel/generator@7.29.1", "", { "dependencies": { "@babel/parser": "^7.29.0", "@babel/types": "^7.29.0", "@jridgewell/gen-mapping": "^0.3.12", "@jridgewell/trace-mapping": "^0.3.28", "jsesc": "^3.0.2" } }, "sha512-qsaF+9Qcm2Qv8SRIMMscAvG4O3lJ0F1GuMo5HR/Bp02LopNgnZBC/EkbevHFeGs4ls/oPz9v+Bsmzbkbe+0dUw=="], + + "@react-native/babel-preset/@babel/plugin-transform-optional-chaining/@babel/helper-skip-transparent-expression-wrappers/@babel/traverse/@babel/helper-globals": ["@babel/helper-globals@7.28.0", "", {}, "sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw=="], + + "@react-native/babel-preset/@babel/plugin-transform-optional-chaining/@babel/helper-skip-transparent-expression-wrappers/@babel/traverse/@babel/parser": ["@babel/parser@7.29.0", "", { "dependencies": { "@babel/types": "^7.29.0" }, "bin": "./bin/babel-parser.js" }, "sha512-IyDgFV5GeDUVX4YdF/3CPULtVGSXXMLh1xVIgdCgxApktqnQV0r7/8Nqthg+8YLGaAtdyIlo2qIdZrbCv4+7ww=="], + + "@react-native/babel-preset/@babel/plugin-transform-optional-chaining/@babel/helper-skip-transparent-expression-wrappers/@babel/traverse/@babel/template": ["@babel/template@7.28.6", "", { "dependencies": { "@babel/code-frame": "^7.28.6", "@babel/parser": "^7.28.6", "@babel/types": "^7.28.6" } }, "sha512-YA6Ma2KsCdGb+WC6UpBVFJGXL58MDA6oyONbjyF/+5sBgxY/dwkhLogbMT2GXXyU84/IhRw/2D1Os1B/giz+BQ=="], + + "@react-native/babel-preset/@babel/plugin-transform-optional-chaining/@babel/helper-skip-transparent-expression-wrappers/@babel/types/@babel/helper-string-parser": ["@babel/helper-string-parser@7.27.1", "", {}, "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA=="], + + "@react-native/babel-preset/@babel/plugin-transform-optional-chaining/@babel/helper-skip-transparent-expression-wrappers/@babel/types/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], + + "@react-native/babel-preset/@babel/plugin-transform-private-methods/@babel/helper-create-class-features-plugin/@babel/helper-annotate-as-pure/@babel/types": ["@babel/types@7.29.0", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.28.5" } }, "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A=="], + + "@react-native/babel-preset/@babel/plugin-transform-private-methods/@babel/helper-create-class-features-plugin/@babel/helper-member-expression-to-functions/@babel/types": ["@babel/types@7.29.0", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.28.5" } }, "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A=="], + + "@react-native/babel-preset/@babel/plugin-transform-private-methods/@babel/helper-create-class-features-plugin/@babel/helper-optimise-call-expression/@babel/types": ["@babel/types@7.29.0", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.28.5" } }, "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A=="], + + "@react-native/babel-preset/@babel/plugin-transform-private-methods/@babel/helper-create-class-features-plugin/@babel/helper-skip-transparent-expression-wrappers/@babel/types": ["@babel/types@7.29.0", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.28.5" } }, "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A=="], + + "@react-native/babel-preset/@babel/plugin-transform-private-methods/@babel/helper-create-class-features-plugin/@babel/traverse/@babel/code-frame": ["@babel/code-frame@7.29.0", "", { "dependencies": { "@babel/helper-validator-identifier": "^7.28.5", "js-tokens": "^4.0.0", "picocolors": "^1.1.1" } }, "sha512-9NhCeYjq9+3uxgdtp20LSiJXJvN0FeCtNGpJxuMFZ1Kv3cWUNb6DOhJwUvcVCzKGR66cw4njwM6hrJLqgOwbcw=="], + + "@react-native/babel-preset/@babel/plugin-transform-private-methods/@babel/helper-create-class-features-plugin/@babel/traverse/@babel/generator": ["@babel/generator@7.29.1", "", { "dependencies": { "@babel/parser": "^7.29.0", "@babel/types": "^7.29.0", "@jridgewell/gen-mapping": "^0.3.12", "@jridgewell/trace-mapping": "^0.3.28", "jsesc": "^3.0.2" } }, "sha512-qsaF+9Qcm2Qv8SRIMMscAvG4O3lJ0F1GuMo5HR/Bp02LopNgnZBC/EkbevHFeGs4ls/oPz9v+Bsmzbkbe+0dUw=="], + + "@react-native/babel-preset/@babel/plugin-transform-private-methods/@babel/helper-create-class-features-plugin/@babel/traverse/@babel/helper-globals": ["@babel/helper-globals@7.28.0", "", {}, "sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw=="], + + "@react-native/babel-preset/@babel/plugin-transform-private-methods/@babel/helper-create-class-features-plugin/@babel/traverse/@babel/parser": ["@babel/parser@7.29.0", "", { "dependencies": { "@babel/types": "^7.29.0" }, "bin": "./bin/babel-parser.js" }, "sha512-IyDgFV5GeDUVX4YdF/3CPULtVGSXXMLh1xVIgdCgxApktqnQV0r7/8Nqthg+8YLGaAtdyIlo2qIdZrbCv4+7ww=="], + + "@react-native/babel-preset/@babel/plugin-transform-private-methods/@babel/helper-create-class-features-plugin/@babel/traverse/@babel/template": ["@babel/template@7.28.6", "", { "dependencies": { "@babel/code-frame": "^7.28.6", "@babel/parser": "^7.28.6", "@babel/types": "^7.28.6" } }, "sha512-YA6Ma2KsCdGb+WC6UpBVFJGXL58MDA6oyONbjyF/+5sBgxY/dwkhLogbMT2GXXyU84/IhRw/2D1Os1B/giz+BQ=="], + + "@react-native/babel-preset/@babel/plugin-transform-private-methods/@babel/helper-create-class-features-plugin/@babel/traverse/@babel/types": ["@babel/types@7.29.0", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.28.5" } }, "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A=="], + + "@react-native/babel-preset/@babel/plugin-transform-private-property-in-object/@babel/helper-annotate-as-pure/@babel/types/@babel/helper-string-parser": ["@babel/helper-string-parser@7.27.1", "", {}, "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA=="], + + "@react-native/babel-preset/@babel/plugin-transform-private-property-in-object/@babel/helper-annotate-as-pure/@babel/types/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], + + "@react-native/babel-preset/@babel/plugin-transform-private-property-in-object/@babel/helper-create-class-features-plugin/@babel/helper-member-expression-to-functions/@babel/types": ["@babel/types@7.29.0", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.28.5" } }, "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A=="], + + "@react-native/babel-preset/@babel/plugin-transform-private-property-in-object/@babel/helper-create-class-features-plugin/@babel/helper-optimise-call-expression/@babel/types": ["@babel/types@7.29.0", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.28.5" } }, "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A=="], + + "@react-native/babel-preset/@babel/plugin-transform-private-property-in-object/@babel/helper-create-class-features-plugin/@babel/helper-skip-transparent-expression-wrappers/@babel/types": ["@babel/types@7.29.0", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.28.5" } }, "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A=="], + + "@react-native/babel-preset/@babel/plugin-transform-private-property-in-object/@babel/helper-create-class-features-plugin/@babel/traverse/@babel/code-frame": ["@babel/code-frame@7.29.0", "", { "dependencies": { "@babel/helper-validator-identifier": "^7.28.5", "js-tokens": "^4.0.0", "picocolors": "^1.1.1" } }, "sha512-9NhCeYjq9+3uxgdtp20LSiJXJvN0FeCtNGpJxuMFZ1Kv3cWUNb6DOhJwUvcVCzKGR66cw4njwM6hrJLqgOwbcw=="], + + "@react-native/babel-preset/@babel/plugin-transform-private-property-in-object/@babel/helper-create-class-features-plugin/@babel/traverse/@babel/generator": ["@babel/generator@7.29.1", "", { "dependencies": { "@babel/parser": "^7.29.0", "@babel/types": "^7.29.0", "@jridgewell/gen-mapping": "^0.3.12", "@jridgewell/trace-mapping": "^0.3.28", "jsesc": "^3.0.2" } }, "sha512-qsaF+9Qcm2Qv8SRIMMscAvG4O3lJ0F1GuMo5HR/Bp02LopNgnZBC/EkbevHFeGs4ls/oPz9v+Bsmzbkbe+0dUw=="], + + "@react-native/babel-preset/@babel/plugin-transform-private-property-in-object/@babel/helper-create-class-features-plugin/@babel/traverse/@babel/helper-globals": ["@babel/helper-globals@7.28.0", "", {}, "sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw=="], + + "@react-native/babel-preset/@babel/plugin-transform-private-property-in-object/@babel/helper-create-class-features-plugin/@babel/traverse/@babel/parser": ["@babel/parser@7.29.0", "", { "dependencies": { "@babel/types": "^7.29.0" }, "bin": "./bin/babel-parser.js" }, "sha512-IyDgFV5GeDUVX4YdF/3CPULtVGSXXMLh1xVIgdCgxApktqnQV0r7/8Nqthg+8YLGaAtdyIlo2qIdZrbCv4+7ww=="], + + "@react-native/babel-preset/@babel/plugin-transform-private-property-in-object/@babel/helper-create-class-features-plugin/@babel/traverse/@babel/template": ["@babel/template@7.28.6", "", { "dependencies": { "@babel/code-frame": "^7.28.6", "@babel/parser": "^7.28.6", "@babel/types": "^7.28.6" } }, "sha512-YA6Ma2KsCdGb+WC6UpBVFJGXL58MDA6oyONbjyF/+5sBgxY/dwkhLogbMT2GXXyU84/IhRw/2D1Os1B/giz+BQ=="], + + "@react-native/babel-preset/@babel/plugin-transform-private-property-in-object/@babel/helper-create-class-features-plugin/@babel/traverse/@babel/types": ["@babel/types@7.29.0", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.28.5" } }, "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A=="], + "@react-native/codegen/yargs/cliui/wrap-ansi/ansi-styles": ["ansi-styles@4.3.0", "", { "dependencies": { "color-convert": "^2.0.1" } }, "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg=="], "conventional-recommended-bump/@conventional-changelog/git-client/@simple-libs/stream-utils/@types/node/undici-types": ["undici-types@6.21.0", "", {}, "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ=="], @@ -5212,6 +5421,54 @@ "react-native-vector-icons/yargs/cliui/wrap-ansi/ansi-styles": ["ansi-styles@4.3.0", "", { "dependencies": { "color-convert": "^2.0.1" } }, "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg=="], + "react-native-worklets/@babel/plugin-transform-class-properties/@babel/helper-create-class-features-plugin/@babel/helper-annotate-as-pure/@babel/types": ["@babel/types@7.29.0", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.28.5" } }, "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A=="], + + "react-native-worklets/@babel/plugin-transform-class-properties/@babel/helper-create-class-features-plugin/@babel/helper-member-expression-to-functions/@babel/types": ["@babel/types@7.29.0", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.28.5" } }, "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A=="], + + "react-native-worklets/@babel/plugin-transform-class-properties/@babel/helper-create-class-features-plugin/@babel/helper-optimise-call-expression/@babel/types": ["@babel/types@7.29.0", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.28.5" } }, "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A=="], + + "react-native-worklets/@babel/plugin-transform-class-properties/@babel/helper-create-class-features-plugin/@babel/helper-skip-transparent-expression-wrappers/@babel/types": ["@babel/types@7.29.0", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.28.5" } }, "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A=="], + + "react-native-worklets/@babel/plugin-transform-class-properties/@babel/helper-create-class-features-plugin/@babel/traverse/@babel/code-frame": ["@babel/code-frame@7.29.0", "", { "dependencies": { "@babel/helper-validator-identifier": "^7.28.5", "js-tokens": "^4.0.0", "picocolors": "^1.1.1" } }, "sha512-9NhCeYjq9+3uxgdtp20LSiJXJvN0FeCtNGpJxuMFZ1Kv3cWUNb6DOhJwUvcVCzKGR66cw4njwM6hrJLqgOwbcw=="], + + "react-native-worklets/@babel/plugin-transform-class-properties/@babel/helper-create-class-features-plugin/@babel/traverse/@babel/generator": ["@babel/generator@7.29.1", "", { "dependencies": { "@babel/parser": "^7.29.0", "@babel/types": "^7.29.0", "@jridgewell/gen-mapping": "^0.3.12", "@jridgewell/trace-mapping": "^0.3.28", "jsesc": "^3.0.2" } }, "sha512-qsaF+9Qcm2Qv8SRIMMscAvG4O3lJ0F1GuMo5HR/Bp02LopNgnZBC/EkbevHFeGs4ls/oPz9v+Bsmzbkbe+0dUw=="], + + "react-native-worklets/@babel/plugin-transform-class-properties/@babel/helper-create-class-features-plugin/@babel/traverse/@babel/helper-globals": ["@babel/helper-globals@7.28.0", "", {}, "sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw=="], + + "react-native-worklets/@babel/plugin-transform-class-properties/@babel/helper-create-class-features-plugin/@babel/traverse/@babel/parser": ["@babel/parser@7.29.0", "", { "dependencies": { "@babel/types": "^7.29.0" }, "bin": "./bin/babel-parser.js" }, "sha512-IyDgFV5GeDUVX4YdF/3CPULtVGSXXMLh1xVIgdCgxApktqnQV0r7/8Nqthg+8YLGaAtdyIlo2qIdZrbCv4+7ww=="], + + "react-native-worklets/@babel/plugin-transform-class-properties/@babel/helper-create-class-features-plugin/@babel/traverse/@babel/template": ["@babel/template@7.28.6", "", { "dependencies": { "@babel/code-frame": "^7.28.6", "@babel/parser": "^7.28.6", "@babel/types": "^7.28.6" } }, "sha512-YA6Ma2KsCdGb+WC6UpBVFJGXL58MDA6oyONbjyF/+5sBgxY/dwkhLogbMT2GXXyU84/IhRw/2D1Os1B/giz+BQ=="], + + "react-native-worklets/@babel/plugin-transform-class-properties/@babel/helper-create-class-features-plugin/@babel/traverse/@babel/types": ["@babel/types@7.29.0", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.28.5" } }, "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A=="], + + "react-native-worklets/@babel/plugin-transform-classes/@babel/helper-annotate-as-pure/@babel/types/@babel/helper-string-parser": ["@babel/helper-string-parser@7.27.1", "", {}, "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA=="], + + "react-native-worklets/@babel/plugin-transform-classes/@babel/helper-annotate-as-pure/@babel/types/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], + + "react-native-worklets/@babel/plugin-transform-classes/@babel/helper-replace-supers/@babel/helper-member-expression-to-functions/@babel/types": ["@babel/types@7.29.0", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.28.5" } }, "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A=="], + + "react-native-worklets/@babel/plugin-transform-classes/@babel/helper-replace-supers/@babel/helper-optimise-call-expression/@babel/types": ["@babel/types@7.29.0", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.28.5" } }, "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A=="], + + "react-native-worklets/@babel/plugin-transform-classes/@babel/traverse/@babel/code-frame/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], + + "react-native-worklets/@babel/plugin-transform-classes/@babel/traverse/@babel/types/@babel/helper-string-parser": ["@babel/helper-string-parser@7.27.1", "", {}, "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA=="], + + "react-native-worklets/@babel/plugin-transform-classes/@babel/traverse/@babel/types/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], + + "react-native-worklets/@babel/plugin-transform-optional-chaining/@babel/helper-skip-transparent-expression-wrappers/@babel/traverse/@babel/code-frame": ["@babel/code-frame@7.29.0", "", { "dependencies": { "@babel/helper-validator-identifier": "^7.28.5", "js-tokens": "^4.0.0", "picocolors": "^1.1.1" } }, "sha512-9NhCeYjq9+3uxgdtp20LSiJXJvN0FeCtNGpJxuMFZ1Kv3cWUNb6DOhJwUvcVCzKGR66cw4njwM6hrJLqgOwbcw=="], + + "react-native-worklets/@babel/plugin-transform-optional-chaining/@babel/helper-skip-transparent-expression-wrappers/@babel/traverse/@babel/generator": ["@babel/generator@7.29.1", "", { "dependencies": { "@babel/parser": "^7.29.0", "@babel/types": "^7.29.0", "@jridgewell/gen-mapping": "^0.3.12", "@jridgewell/trace-mapping": "^0.3.28", "jsesc": "^3.0.2" } }, "sha512-qsaF+9Qcm2Qv8SRIMMscAvG4O3lJ0F1GuMo5HR/Bp02LopNgnZBC/EkbevHFeGs4ls/oPz9v+Bsmzbkbe+0dUw=="], + + "react-native-worklets/@babel/plugin-transform-optional-chaining/@babel/helper-skip-transparent-expression-wrappers/@babel/traverse/@babel/helper-globals": ["@babel/helper-globals@7.28.0", "", {}, "sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw=="], + + "react-native-worklets/@babel/plugin-transform-optional-chaining/@babel/helper-skip-transparent-expression-wrappers/@babel/traverse/@babel/parser": ["@babel/parser@7.29.0", "", { "dependencies": { "@babel/types": "^7.29.0" }, "bin": "./bin/babel-parser.js" }, "sha512-IyDgFV5GeDUVX4YdF/3CPULtVGSXXMLh1xVIgdCgxApktqnQV0r7/8Nqthg+8YLGaAtdyIlo2qIdZrbCv4+7ww=="], + + "react-native-worklets/@babel/plugin-transform-optional-chaining/@babel/helper-skip-transparent-expression-wrappers/@babel/traverse/@babel/template": ["@babel/template@7.28.6", "", { "dependencies": { "@babel/code-frame": "^7.28.6", "@babel/parser": "^7.28.6", "@babel/types": "^7.28.6" } }, "sha512-YA6Ma2KsCdGb+WC6UpBVFJGXL58MDA6oyONbjyF/+5sBgxY/dwkhLogbMT2GXXyU84/IhRw/2D1Os1B/giz+BQ=="], + + "react-native-worklets/@babel/plugin-transform-optional-chaining/@babel/helper-skip-transparent-expression-wrappers/@babel/types/@babel/helper-string-parser": ["@babel/helper-string-parser@7.27.1", "", {}, "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA=="], + + "react-native-worklets/@babel/plugin-transform-optional-chaining/@babel/helper-skip-transparent-expression-wrappers/@babel/types/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], + "react-native/yargs/cliui/wrap-ansi/ansi-styles": ["ansi-styles@4.3.0", "", { "dependencies": { "color-convert": "^2.0.1" } }, "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg=="], "@react-native-community/cli-doctor/ora/cli-cursor/restore-cursor/onetime/mimic-fn": ["mimic-fn@2.1.0", "", {}, "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg=="], @@ -5220,6 +5477,10 @@ "@react-native-vector-icons/common/find-up/locate-path/p-locate/p-limit/yocto-queue": ["yocto-queue@1.2.2", "", {}, "sha512-4LCcse/U2MHZ63HAJVE+v71o7yOdIe4cZ70Wpf8D/IyjDKYQLV5GD46B+hSTjJsvV5PztjvHoU580EftxjDZFQ=="], + "@react-native/babel-preset/@babel/plugin-transform-async-generator-functions/@babel/helper-remap-async-to-generator/@babel/helper-annotate-as-pure/@babel/types/@babel/helper-string-parser": ["@babel/helper-string-parser@7.27.1", "", {}, "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA=="], + + "@react-native/babel-preset/@babel/plugin-transform-async-generator-functions/@babel/helper-remap-async-to-generator/@babel/helper-annotate-as-pure/@babel/types/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], + "@react-native/babel-preset/@babel/plugin-transform-async-generator-functions/@babel/helper-remap-async-to-generator/@babel/helper-wrap-function/@babel/template/@babel/code-frame": ["@babel/code-frame@7.29.0", "", { "dependencies": { "@babel/helper-validator-identifier": "^7.28.5", "js-tokens": "^4.0.0", "picocolors": "^1.1.1" } }, "sha512-9NhCeYjq9+3uxgdtp20LSiJXJvN0FeCtNGpJxuMFZ1Kv3cWUNb6DOhJwUvcVCzKGR66cw4njwM6hrJLqgOwbcw=="], "@react-native/babel-preset/@babel/plugin-transform-async-generator-functions/@babel/helper-remap-async-to-generator/@babel/helper-wrap-function/@babel/template/@babel/parser": ["@babel/parser@7.29.0", "", { "dependencies": { "@babel/types": "^7.29.0" }, "bin": "./bin/babel-parser.js" }, "sha512-IyDgFV5GeDUVX4YdF/3CPULtVGSXXMLh1xVIgdCgxApktqnQV0r7/8Nqthg+8YLGaAtdyIlo2qIdZrbCv4+7ww=="], @@ -5230,6 +5491,10 @@ "@react-native/babel-preset/@babel/plugin-transform-async-to-generator/@babel/helper-module-imports/@babel/traverse/@babel/code-frame/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], + "@react-native/babel-preset/@babel/plugin-transform-async-to-generator/@babel/helper-remap-async-to-generator/@babel/helper-annotate-as-pure/@babel/types/@babel/helper-string-parser": ["@babel/helper-string-parser@7.27.1", "", {}, "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA=="], + + "@react-native/babel-preset/@babel/plugin-transform-async-to-generator/@babel/helper-remap-async-to-generator/@babel/helper-annotate-as-pure/@babel/types/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], + "@react-native/babel-preset/@babel/plugin-transform-async-to-generator/@babel/helper-remap-async-to-generator/@babel/helper-wrap-function/@babel/template/@babel/code-frame": ["@babel/code-frame@7.29.0", "", { "dependencies": { "@babel/helper-validator-identifier": "^7.28.5", "js-tokens": "^4.0.0", "picocolors": "^1.1.1" } }, "sha512-9NhCeYjq9+3uxgdtp20LSiJXJvN0FeCtNGpJxuMFZ1Kv3cWUNb6DOhJwUvcVCzKGR66cw4njwM6hrJLqgOwbcw=="], "@react-native/babel-preset/@babel/plugin-transform-async-to-generator/@babel/helper-remap-async-to-generator/@babel/helper-wrap-function/@babel/template/@babel/parser": ["@babel/parser@7.29.0", "", { "dependencies": { "@babel/types": "^7.29.0" }, "bin": "./bin/babel-parser.js" }, "sha512-IyDgFV5GeDUVX4YdF/3CPULtVGSXXMLh1xVIgdCgxApktqnQV0r7/8Nqthg+8YLGaAtdyIlo2qIdZrbCv4+7ww=="], @@ -5244,12 +5509,118 @@ "@react-native/babel-preset/@babel/plugin-transform-async-to-generator/@babel/helper-remap-async-to-generator/@babel/traverse/@babel/types/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], + "@react-native/babel-preset/@babel/plugin-transform-class-properties/@babel/helper-create-class-features-plugin/@babel/helper-annotate-as-pure/@babel/types/@babel/helper-string-parser": ["@babel/helper-string-parser@7.27.1", "", {}, "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA=="], + + "@react-native/babel-preset/@babel/plugin-transform-class-properties/@babel/helper-create-class-features-plugin/@babel/helper-annotate-as-pure/@babel/types/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], + + "@react-native/babel-preset/@babel/plugin-transform-class-properties/@babel/helper-create-class-features-plugin/@babel/helper-member-expression-to-functions/@babel/types/@babel/helper-string-parser": ["@babel/helper-string-parser@7.27.1", "", {}, "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA=="], + + "@react-native/babel-preset/@babel/plugin-transform-class-properties/@babel/helper-create-class-features-plugin/@babel/helper-member-expression-to-functions/@babel/types/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], + + "@react-native/babel-preset/@babel/plugin-transform-class-properties/@babel/helper-create-class-features-plugin/@babel/helper-optimise-call-expression/@babel/types/@babel/helper-string-parser": ["@babel/helper-string-parser@7.27.1", "", {}, "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA=="], + + "@react-native/babel-preset/@babel/plugin-transform-class-properties/@babel/helper-create-class-features-plugin/@babel/helper-optimise-call-expression/@babel/types/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], + + "@react-native/babel-preset/@babel/plugin-transform-class-properties/@babel/helper-create-class-features-plugin/@babel/helper-skip-transparent-expression-wrappers/@babel/types/@babel/helper-string-parser": ["@babel/helper-string-parser@7.27.1", "", {}, "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA=="], + + "@react-native/babel-preset/@babel/plugin-transform-class-properties/@babel/helper-create-class-features-plugin/@babel/helper-skip-transparent-expression-wrappers/@babel/types/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], + + "@react-native/babel-preset/@babel/plugin-transform-class-properties/@babel/helper-create-class-features-plugin/@babel/traverse/@babel/code-frame/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], + + "@react-native/babel-preset/@babel/plugin-transform-class-properties/@babel/helper-create-class-features-plugin/@babel/traverse/@babel/types/@babel/helper-string-parser": ["@babel/helper-string-parser@7.27.1", "", {}, "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA=="], + + "@react-native/babel-preset/@babel/plugin-transform-class-properties/@babel/helper-create-class-features-plugin/@babel/traverse/@babel/types/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], + + "@react-native/babel-preset/@babel/plugin-transform-classes/@babel/helper-replace-supers/@babel/helper-member-expression-to-functions/@babel/types/@babel/helper-string-parser": ["@babel/helper-string-parser@7.27.1", "", {}, "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA=="], + + "@react-native/babel-preset/@babel/plugin-transform-classes/@babel/helper-replace-supers/@babel/helper-member-expression-to-functions/@babel/types/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], + + "@react-native/babel-preset/@babel/plugin-transform-classes/@babel/helper-replace-supers/@babel/helper-optimise-call-expression/@babel/types/@babel/helper-string-parser": ["@babel/helper-string-parser@7.27.1", "", {}, "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA=="], + + "@react-native/babel-preset/@babel/plugin-transform-classes/@babel/helper-replace-supers/@babel/helper-optimise-call-expression/@babel/types/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], + + "@react-native/babel-preset/@babel/plugin-transform-for-of/@babel/helper-skip-transparent-expression-wrappers/@babel/traverse/@babel/code-frame/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], + "@react-native/babel-preset/@babel/plugin-transform-modules-commonjs/@babel/helper-module-transforms/@babel/helper-module-imports/@babel/types/@babel/helper-string-parser": ["@babel/helper-string-parser@7.27.1", "", {}, "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA=="], "@react-native/babel-preset/@babel/plugin-transform-modules-commonjs/@babel/helper-module-transforms/@babel/traverse/@babel/types/@babel/helper-string-parser": ["@babel/helper-string-parser@7.27.1", "", {}, "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA=="], + "@react-native/babel-preset/@babel/plugin-transform-optional-chaining/@babel/helper-skip-transparent-expression-wrappers/@babel/traverse/@babel/code-frame/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], + + "@react-native/babel-preset/@babel/plugin-transform-private-methods/@babel/helper-create-class-features-plugin/@babel/helper-annotate-as-pure/@babel/types/@babel/helper-string-parser": ["@babel/helper-string-parser@7.27.1", "", {}, "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA=="], + + "@react-native/babel-preset/@babel/plugin-transform-private-methods/@babel/helper-create-class-features-plugin/@babel/helper-annotate-as-pure/@babel/types/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], + + "@react-native/babel-preset/@babel/plugin-transform-private-methods/@babel/helper-create-class-features-plugin/@babel/helper-member-expression-to-functions/@babel/types/@babel/helper-string-parser": ["@babel/helper-string-parser@7.27.1", "", {}, "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA=="], + + "@react-native/babel-preset/@babel/plugin-transform-private-methods/@babel/helper-create-class-features-plugin/@babel/helper-member-expression-to-functions/@babel/types/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], + + "@react-native/babel-preset/@babel/plugin-transform-private-methods/@babel/helper-create-class-features-plugin/@babel/helper-optimise-call-expression/@babel/types/@babel/helper-string-parser": ["@babel/helper-string-parser@7.27.1", "", {}, "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA=="], + + "@react-native/babel-preset/@babel/plugin-transform-private-methods/@babel/helper-create-class-features-plugin/@babel/helper-optimise-call-expression/@babel/types/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], + + "@react-native/babel-preset/@babel/plugin-transform-private-methods/@babel/helper-create-class-features-plugin/@babel/helper-skip-transparent-expression-wrappers/@babel/types/@babel/helper-string-parser": ["@babel/helper-string-parser@7.27.1", "", {}, "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA=="], + + "@react-native/babel-preset/@babel/plugin-transform-private-methods/@babel/helper-create-class-features-plugin/@babel/helper-skip-transparent-expression-wrappers/@babel/types/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], + + "@react-native/babel-preset/@babel/plugin-transform-private-methods/@babel/helper-create-class-features-plugin/@babel/traverse/@babel/code-frame/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], + + "@react-native/babel-preset/@babel/plugin-transform-private-methods/@babel/helper-create-class-features-plugin/@babel/traverse/@babel/types/@babel/helper-string-parser": ["@babel/helper-string-parser@7.27.1", "", {}, "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA=="], + + "@react-native/babel-preset/@babel/plugin-transform-private-methods/@babel/helper-create-class-features-plugin/@babel/traverse/@babel/types/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], + + "@react-native/babel-preset/@babel/plugin-transform-private-property-in-object/@babel/helper-create-class-features-plugin/@babel/helper-member-expression-to-functions/@babel/types/@babel/helper-string-parser": ["@babel/helper-string-parser@7.27.1", "", {}, "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA=="], + + "@react-native/babel-preset/@babel/plugin-transform-private-property-in-object/@babel/helper-create-class-features-plugin/@babel/helper-member-expression-to-functions/@babel/types/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], + + "@react-native/babel-preset/@babel/plugin-transform-private-property-in-object/@babel/helper-create-class-features-plugin/@babel/helper-optimise-call-expression/@babel/types/@babel/helper-string-parser": ["@babel/helper-string-parser@7.27.1", "", {}, "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA=="], + + "@react-native/babel-preset/@babel/plugin-transform-private-property-in-object/@babel/helper-create-class-features-plugin/@babel/helper-optimise-call-expression/@babel/types/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], + + "@react-native/babel-preset/@babel/plugin-transform-private-property-in-object/@babel/helper-create-class-features-plugin/@babel/helper-skip-transparent-expression-wrappers/@babel/types/@babel/helper-string-parser": ["@babel/helper-string-parser@7.27.1", "", {}, "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA=="], + + "@react-native/babel-preset/@babel/plugin-transform-private-property-in-object/@babel/helper-create-class-features-plugin/@babel/helper-skip-transparent-expression-wrappers/@babel/types/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], + + "@react-native/babel-preset/@babel/plugin-transform-private-property-in-object/@babel/helper-create-class-features-plugin/@babel/traverse/@babel/code-frame/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], + + "@react-native/babel-preset/@babel/plugin-transform-private-property-in-object/@babel/helper-create-class-features-plugin/@babel/traverse/@babel/types/@babel/helper-string-parser": ["@babel/helper-string-parser@7.27.1", "", {}, "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA=="], + + "@react-native/babel-preset/@babel/plugin-transform-private-property-in-object/@babel/helper-create-class-features-plugin/@babel/traverse/@babel/types/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], + "logkitty/yargs/find-up/locate-path/p-locate/p-limit": ["p-limit@2.3.0", "", { "dependencies": { "p-try": "^2.0.0" } }, "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w=="], + "react-native-worklets/@babel/plugin-transform-class-properties/@babel/helper-create-class-features-plugin/@babel/helper-annotate-as-pure/@babel/types/@babel/helper-string-parser": ["@babel/helper-string-parser@7.27.1", "", {}, "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA=="], + + "react-native-worklets/@babel/plugin-transform-class-properties/@babel/helper-create-class-features-plugin/@babel/helper-annotate-as-pure/@babel/types/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], + + "react-native-worklets/@babel/plugin-transform-class-properties/@babel/helper-create-class-features-plugin/@babel/helper-member-expression-to-functions/@babel/types/@babel/helper-string-parser": ["@babel/helper-string-parser@7.27.1", "", {}, "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA=="], + + "react-native-worklets/@babel/plugin-transform-class-properties/@babel/helper-create-class-features-plugin/@babel/helper-member-expression-to-functions/@babel/types/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], + + "react-native-worklets/@babel/plugin-transform-class-properties/@babel/helper-create-class-features-plugin/@babel/helper-optimise-call-expression/@babel/types/@babel/helper-string-parser": ["@babel/helper-string-parser@7.27.1", "", {}, "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA=="], + + "react-native-worklets/@babel/plugin-transform-class-properties/@babel/helper-create-class-features-plugin/@babel/helper-optimise-call-expression/@babel/types/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], + + "react-native-worklets/@babel/plugin-transform-class-properties/@babel/helper-create-class-features-plugin/@babel/helper-skip-transparent-expression-wrappers/@babel/types/@babel/helper-string-parser": ["@babel/helper-string-parser@7.27.1", "", {}, "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA=="], + + "react-native-worklets/@babel/plugin-transform-class-properties/@babel/helper-create-class-features-plugin/@babel/helper-skip-transparent-expression-wrappers/@babel/types/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], + + "react-native-worklets/@babel/plugin-transform-class-properties/@babel/helper-create-class-features-plugin/@babel/traverse/@babel/code-frame/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], + + "react-native-worklets/@babel/plugin-transform-class-properties/@babel/helper-create-class-features-plugin/@babel/traverse/@babel/types/@babel/helper-string-parser": ["@babel/helper-string-parser@7.27.1", "", {}, "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA=="], + + "react-native-worklets/@babel/plugin-transform-class-properties/@babel/helper-create-class-features-plugin/@babel/traverse/@babel/types/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], + + "react-native-worklets/@babel/plugin-transform-classes/@babel/helper-replace-supers/@babel/helper-member-expression-to-functions/@babel/types/@babel/helper-string-parser": ["@babel/helper-string-parser@7.27.1", "", {}, "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA=="], + + "react-native-worklets/@babel/plugin-transform-classes/@babel/helper-replace-supers/@babel/helper-member-expression-to-functions/@babel/types/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], + + "react-native-worklets/@babel/plugin-transform-classes/@babel/helper-replace-supers/@babel/helper-optimise-call-expression/@babel/types/@babel/helper-string-parser": ["@babel/helper-string-parser@7.27.1", "", {}, "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA=="], + + "react-native-worklets/@babel/plugin-transform-classes/@babel/helper-replace-supers/@babel/helper-optimise-call-expression/@babel/types/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], + + "react-native-worklets/@babel/plugin-transform-optional-chaining/@babel/helper-skip-transparent-expression-wrappers/@babel/traverse/@babel/code-frame/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], + "@react-native/babel-preset/@babel/plugin-transform-async-generator-functions/@babel/helper-remap-async-to-generator/@babel/helper-wrap-function/@babel/template/@babel/code-frame/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], "@react-native/babel-preset/@babel/plugin-transform-async-to-generator/@babel/helper-remap-async-to-generator/@babel/helper-wrap-function/@babel/template/@babel/code-frame/@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], diff --git a/package.json b/package.json index ffca74eceb..420feabed2 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,7 @@ "packages/react-native-vision-camera-skia", "packages/react-native-vision-camera-worklets", "apps/simple-camera", + "apps/fake-simulated-camera", "docs" ], "scripts": { @@ -20,6 +21,7 @@ "specs": "bun camera specs && bun location specs && bun scanner specs && bun resizer specs && bun worklets specs", "build": "bun camera build && bun location build && bun scanner build && bun resizer build && bun worklets build && bun skia build", "example": "bun --cwd apps/simple-camera", + "fake": "bun --cwd apps/fake-simulated-camera", "docs": "bun --cwd docs", "camera": "bun --cwd packages/react-native-vision-camera", "scanner": "bun --cwd packages/react-native-vision-camera-barcode-scanner",